[GeoNode-users] Failed Upload Dataset

Giovanni Allegri giovanni.allegri at geosolutionsgroup.com
Tue Aug 27 01:48:46 PDT 2024


Take a look at the network requests performed during the upload. You will
probably see a few requests against the /proxy URL.
If you report here those requests I might help you figuring out the
misconfiguration.

Giovanni

On Mon, Aug 26, 2024 at 3:37 PM Abdul Hamid <ahamidplg at gmail.com> wrote:

> I'am running on ubuntu 22.04 via nginx its not running on docker, site url
> using hostname, this is configuration : geonode with nginx ---> reverse
> proxy (public ip), on SITEURL it's hostname self.
>
> Br
>
> Hamid
> Pada 26/08/2024 17:24, Giovanni Allegri menulis:
>
> From logs, I suspect the upload is routed to the internal GeoNode proxy,
> which is unexpected.
> I think you have something wrong with your configs. Double-check the
> settings related to SITEURL.
> Is it a Docker?
>
> Giovanni
>
> On Mon, Aug 26, 2024 at 9:23 AM Abdul Hamid via geonode-users <
> geonode-users at lists.osgeo.org> wrote:
>
>> Hi all
>>
>> I tried to upload ESRI data into geonode (using geonode 4.2.5) but after
>> selecting the file and clicking upload there was a failure, as shown in the
>> image below
>>
>> [image: Geonode]
>>
>>
>> this is log taken from /var/log/geonode.log
>>
>> Internal Server Error: /proxy/
>> Traceback (most recent call last):
>>   File
>> "/home/admina/.virtualenvs/geonode/lib/python3.10/site-packages/django/core/handlers/exception.py",
>> line 47, in inner
>>     response = get_response(request)
>>   File
>> "/home/adminkominfo/.virtualenvs/geonode/lib/python3.10/site-packages/django/core/handlers/base.py",
>> line 181, in _get_response
>>     response = wrapped_callback(request, *callback_args,
>> **callback_kwargs)
>>   File
>> "/home/admina/.virtualenvs/geonode/lib/python3.10/site-packages/django/utils/decorators.py",
>> line 130, in _wrapped_view
>>     response = view_func(request, *args, **kwargs)
>>   File "/opt/geonode/./geonode/proxy/views.py", line 185, in proxy
>>     _data = request.body.decode("utf-8")
>>   File
>> "/home/admina/.virtualenvs/geonode/lib/python3.10/site-packages/django/http/request.py",
>> line 330, in body
>>     raise RawPostDataException("You cannot access body after reading from
>> request's data stream")
>> django.http.request.RawPostDataException: You cannot access body after
>> reading from request's data stream
>>
>>
>> Thank You
>>
>> Br
>>
>> Hamid
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts!
>
> Visit http://bit.ly/gs-services-us for more information. == Dott.
> Giovanni Allegri
>
> Technical Lead / Project Manager
>
> GeoSolutions Group phone: +39 0584 962313 cell:     +39 345 2815774
>
> fax:      +39 0584 1660272 https://www.geosolutionsgroup.com/
> 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://bit.ly/gs-services-us for more information.
==

Dott. Giovanni Allegri

Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
cell:     +39 345 2815774

fax:      +39 0584 1660272

https://www.geosolutionsgroup.com/
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20240827/02512794/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WW09LlWwtzSWHytn.png
Type: image/png
Size: 26182 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20240827/02512794/attachment-0001.png>


More information about the geonode-users mailing list