Re: upload doesn't work without any logs (Eugenio Trumpy)

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

Toni Schönbuchner
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

frippe12573

No IP or domain changed.

That's weird...


E.




Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

Toni Schönbuchner
Dear Eugenio,

have you tried to set DEBUG to true in local_settings? Further do you see the request in apaches access log?
An upload which exeeds the allowed filesize limit can cause a 400 as well. Is your file of tremendous size?
Next can you check your cookies in developer tools? It could be worth to delete all of them and retry with a
fresh session. 

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

Am 12.06.2018 um 14:42 schrieb Eugenio Trumpy <[hidden email]>:

No IP or domain changed.
That's weird...

E.



Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil  +49/ (0) 176 6680 3198
Tel   +49/ (0) 341 24 04 738
Fax   +49/ (0) 341 24 04 73

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio



_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

frippe12573

Dear Toni,


I set:

DEBUG=True 

in local_setting.py configuration file. Since I have a geosites installation the local_setting I meant before was the general one (not inside the sites folder).

Once I try to upload a shp file nothing is written in apache2 access.log

The shape file is very very small! Deleted even the cookies, but nothing change.

Eugenio


Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 16:09
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

have you tried to set DEBUG to true in local_settings? Further do you see the request in apaches access log?
An upload which exeeds the allowed filesize limit can cause a 400 as well. Is your file of tremendous size?
Next can you check your cookies in developer tools? It could be worth to delete all of them and retry with a
fresh session. 

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
csgis.de
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

Am 12.06.2018 um 14:42 schrieb Eugenio Trumpy <[hidden email]>:

No IP or domain changed.
That's weird...

E.



Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil  +49/ (0) 176 6680 3198
Tel   +49/ (0) 341 24 04 738
Fax   +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio



_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

Alessio Fabiani-2
Hi Eugenio,
try maybe to rise up the GeoServer log level and check the logs (of GeoServer) after the upload.

Maybe the SHP cannot be read from GeoServer for some reason.

Also, is this happening with every dataset or just with one SHP?


Il giorno mar 12 giu 2018 alle ore 17:00 Eugenio Trumpy <[hidden email]> ha scritto:

Dear Toni,


I set:

DEBUG=True 

in local_setting.py configuration file. Since I have a geosites installation the local_setting I meant before was the general one (not inside the sites folder).

Once I try to upload a shp file nothing is written in apache2 access.log

The shape file is very very small! Deleted even the cookies, but nothing change.

Eugenio


Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 16:09
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

have you tried to set DEBUG to true in local_settings? Further do you see the request in apaches access log?
An upload which exeeds the allowed filesize limit can cause a 400 as well. Is your file of tremendous size?
Next can you check your cookies in developer tools? It could be worth to delete all of them and retry with a
fresh session. 

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

Am 12.06.2018 um 14:42 schrieb Eugenio Trumpy <[hidden email]>:

No IP or domain changed.
That's weird...

E.



Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil  +49/ (0) 176 6680 3198
Tel   +49/ (0) 341 24 04 738
Fax   +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users


--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

frippe12573

Hi Alessio,


that's really strange! It happens only with some recent SHP files created by QGIS from csv file.

I tried with a SHP created today as polygon and it works properly.

Following your suggestion I set:

log4j.category.org.geoserver=DEBUG

then I tried to upload the SHP file that was not uploaded, the same in the log 

I cannot find any new lines.


Eugenio





Da: Alessio Fabiani <[hidden email]>
Inviato: martedì 12 giugno 2018 17:09
A: Eugenio Trumpy
Cc: Toni Schönbuchner; geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs (Eugenio Trumpy)
 
Hi Eugenio,
try maybe to rise up the GeoServer log level and check the logs (of GeoServer) after the upload.

Maybe the SHP cannot be read from GeoServer for some reason.

Also, is this happening with every dataset or just with one SHP?


Il giorno mar 12 giu 2018 alle ore 17:00 Eugenio Trumpy <[hidden email]> ha scritto:

Dear Toni,


I set:

DEBUG=True 

in local_setting.py configuration file. Since I have a geosites installation the local_setting I meant before was the general one (not inside the sites folder).

Once I try to upload a shp file nothing is written in apache2 access.log

The shape file is very very small! Deleted even the cookies, but nothing change.

Eugenio


Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 16:09
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

have you tried to set DEBUG to true in local_settings? Further do you see the request in apaches access log?
An upload which exeeds the allowed filesize limit can cause a 400 as well. Is your file of tremendous size?
Next can you check your cookies in developer tools? It could be worth to delete all of them and retry with a
fresh session. 

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

Am 12.06.2018 um 14:42 schrieb Eugenio Trumpy <[hidden email]>:

No IP or domain changed.
That's weird...

E.



Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil  +49/ (0) 176 6680 3198
Tel   +49/ (0) 341 24 04 738
Fax   +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users


--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

Alessio Fabiani-2
Uhm, that's weird. And I guess no layer has been created on GeoServer also, right?

Could you maybe try to create the layer on GeoServer first and than run


python manage.py updatelayers --skip-geonode-registered --skip-unadvertised



Il giorno mar 12 giu 2018 alle ore 17:27 Eugenio Trumpy <[hidden email]> ha scritto:

Hi Alessio,


that's really strange! It happens only with some recent SHP files created by QGIS from csv file.

I tried with a SHP created today as polygon and it works properly.

Following your suggestion I set:

log4j.category.org.geoserver=DEBUG

then I tried to upload the SHP file that was not uploaded, the same in the log 

I cannot find any new lines.


Eugenio





Da: Alessio Fabiani <[hidden email]>
Inviato: martedì 12 giugno 2018 17:09
A: Eugenio Trumpy
Cc: Toni Schönbuchner; geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs (Eugenio Trumpy)
 
Hi Eugenio,
try maybe to rise up the GeoServer log level and check the logs (of GeoServer) after the upload.

Maybe the SHP cannot be read from GeoServer for some reason.

Also, is this happening with every dataset or just with one SHP?


Il giorno mar 12 giu 2018 alle ore 17:00 Eugenio Trumpy <[hidden email]> ha scritto:

Dear Toni,


I set:

DEBUG=True 

in local_setting.py configuration file. Since I have a geosites installation the local_setting I meant before was the general one (not inside the sites folder).

Once I try to upload a shp file nothing is written in apache2 access.log

The shape file is very very small! Deleted even the cookies, but nothing change.

Eugenio


Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 16:09
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

have you tried to set DEBUG to true in local_settings? Further do you see the request in apaches access log?
An upload which exeeds the allowed filesize limit can cause a 400 as well. Is your file of tremendous size?
Next can you check your cookies in developer tools? It could be worth to delete all of them and retry with a
fresh session. 

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

Am 12.06.2018 um 14:42 schrieb Eugenio Trumpy <[hidden email]>:

No IP or domain changed.
That's weird...

E.



Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil  +49/ (0) 176 6680 3198
Tel   +49/ (0) 341 24 04 738
Fax   +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users


--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

frippe12573

Hi Alessio and all,


I understood the problem was caused by the SHP file itself.

The SHP file had some field names longer than 9 character and with some special character (e.g. °),

I changed the name of the fields and the upload worked fine.


Thank you for your support anyway.

Ciao


Eugenio




Da: Alessio Fabiani <[hidden email]>
Inviato: martedì 12 giugno 2018 17:32
A: Eugenio Trumpy
Cc: Alessio Fabiani; Toni Schönbuchner; geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs (Eugenio Trumpy)
 
Uhm, that's weird. And I guess no layer has been created on GeoServer also, right?

Could you maybe try to create the layer on GeoServer first and than run


python manage.py updatelayers --skip-geonode-registered --skip-unadvertised



Il giorno mar 12 giu 2018 alle ore 17:27 Eugenio Trumpy <[hidden email]> ha scritto:

Hi Alessio,


that's really strange! It happens only with some recent SHP files created by QGIS from csv file.

I tried with a SHP created today as polygon and it works properly.

Following your suggestion I set:

log4j.category.org.geoserver=DEBUG

then I tried to upload the SHP file that was not uploaded, the same in the log 

I cannot find any new lines.


Eugenio





Da: Alessio Fabiani <[hidden email]>
Inviato: martedì 12 giugno 2018 17:09
A: Eugenio Trumpy
Cc: Toni Schönbuchner; geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs (Eugenio Trumpy)
 
Hi Eugenio,
try maybe to rise up the GeoServer log level and check the logs (of GeoServer) after the upload.

Maybe the SHP cannot be read from GeoServer for some reason.

Also, is this happening with every dataset or just with one SHP?


Il giorno mar 12 giu 2018 alle ore 17:00 Eugenio Trumpy <[hidden email]> ha scritto:

Dear Toni,


I set:

DEBUG=True 

in local_setting.py configuration file. Since I have a geosites installation the local_setting I meant before was the general one (not inside the sites folder).

Once I try to upload a shp file nothing is written in apache2 access.log

The shape file is very very small! Deleted even the cookies, but nothing change.

Eugenio


Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 16:09
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

have you tried to set DEBUG to true in local_settings? Further do you see the request in apaches access log?
An upload which exeeds the allowed filesize limit can cause a 400 as well. Is your file of tremendous size?
Next can you check your cookies in developer tools? It could be worth to delete all of them and retry with a
fresh session. 

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

Am 12.06.2018 um 14:42 schrieb Eugenio Trumpy <[hidden email]>:

No IP or domain changed.
That's weird...

E.



Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil  +49/ (0) 176 6680 3198
Tel   +49/ (0) 341 24 04 738
Fax   +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users


--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users
Reply | Threaded
Open this post in threaded view
|

Re: upload doesn't work without any logs (Eugenio Trumpy)

Alessio Fabiani-2
Ah ok, good to know.

Il giorno mer 13 giu 2018 alle ore 17:11 Eugenio Trumpy <[hidden email]> ha scritto:

Hi Alessio and all,


I understood the problem was caused by the SHP file itself.

The SHP file had some field names longer than 9 character and with some special character (e.g. °),

I changed the name of the fields and the upload worked fine.


Thank you for your support anyway.

Ciao


Eugenio




Da: Alessio Fabiani <[hidden email]>
Inviato: martedì 12 giugno 2018 17:32
A: Eugenio Trumpy
Cc: Alessio Fabiani; Toni Schönbuchner; geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs (Eugenio Trumpy)
 
Uhm, that's weird. And I guess no layer has been created on GeoServer also, right?

Could you maybe try to create the layer on GeoServer first and than run


python manage.py updatelayers --skip-geonode-registered --skip-unadvertised



Il giorno mar 12 giu 2018 alle ore 17:27 Eugenio Trumpy <[hidden email]> ha scritto:

Hi Alessio,


that's really strange! It happens only with some recent SHP files created by QGIS from csv file.

I tried with a SHP created today as polygon and it works properly.

Following your suggestion I set:

log4j.category.org.geoserver=DEBUG

then I tried to upload the SHP file that was not uploaded, the same in the log 

I cannot find any new lines.


Eugenio





Da: Alessio Fabiani <[hidden email]>
Inviato: martedì 12 giugno 2018 17:09
A: Eugenio Trumpy
Cc: Toni Schönbuchner; geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs (Eugenio Trumpy)
 
Hi Eugenio,
try maybe to rise up the GeoServer log level and check the logs (of GeoServer) after the upload.

Maybe the SHP cannot be read from GeoServer for some reason.

Also, is this happening with every dataset or just with one SHP?


Il giorno mar 12 giu 2018 alle ore 17:00 Eugenio Trumpy <[hidden email]> ha scritto:

Dear Toni,


I set:

DEBUG=True 

in local_setting.py configuration file. Since I have a geosites installation the local_setting I meant before was the general one (not inside the sites folder).

Once I try to upload a shp file nothing is written in apache2 access.log

The shape file is very very small! Deleted even the cookies, but nothing change.

Eugenio


Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 16:09
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

have you tried to set DEBUG to true in local_settings? Further do you see the request in apaches access log?
An upload which exeeds the allowed filesize limit can cause a 400 as well. Is your file of tremendous size?
Next can you check your cookies in developer tools? It could be worth to delete all of them and retry with a
fresh session. 

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil +49/ (0) 176 6680 3198
Tel  +49/ (0) 341 24 04 738
Fax  +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

Am 12.06.2018 um 14:42 schrieb Eugenio Trumpy <[hidden email]>:

No IP or domain changed.
That's weird...

E.



Da: Toni Schönbuchner <[hidden email]>
Inviato: martedì 12 giugno 2018 14:17
A: [hidden email]
Cc: geonode-users
Oggetto: Re: upload doesn't work without any logs (Eugenio Trumpy)
 
Dear Eugenio,

did you change anything on your ip or domain setup which could cause the error 400?

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil  +49/ (0) 176 6680 3198
Tel   +49/ (0) 341 24 04 738
Fax   +49/ (0) 341 24 04 73
OneCause is premium, responsive theme built with Bootstrap for Joomla CMS. With a clean and minimal design, this multi-purpose template is perfect for anything you can imagine.

-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.


Message: 4
Date: Tue, 12 Jun 2018 11:55:43 +0000
From: Eugenio Trumpy <[hidden email]>
To: Simone Dalmasso <[hidden email]>
Cc: geonode-users <[hidden email]>
Subject: Re: [GeoNode-users] upload doesn't work without any logs
Message-ID:
<[hidden email]>

Content-Type: text/plain; charset="iso-8859-1"

Hi Simone,


here is the issue:


POST http://gemex.igg.cnr.it/layers/upload 400 (BAD REQUEST)


any hints?


Eugenio


________________________________
Da: Simone Dalmasso <[hidden email]>
Inviato: martedì 12 giugno 2018 13:41
A: Eugenio Trumpy
Cc: geonode-users
Oggetto: Re: [GeoNode-users] upload doesn't work without any logs

Hi Eugenio,

the browser developers console is for sure the first place where to look.

Best

Il giorno mar 12 giu 2018 alle ore 11:25 Eugenio Trumpy <[hidden email]<[hidden email]>> ha scritto:

Hi all,


I have problem with geonode 2.4 dev20160525015826.

It worked properly, but currently I have problems uploading shp file.

The strange thing is that nothing is written on the logs (apache2 error.log and geoserver.log).


Could you suggest me how to investigate on this problem?


Thanks,


Eugenio


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users


--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.



--

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


_______________________________________________
geonode-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geonode-users