Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot dev on geonode-mapstore-client along a docker install #1495

Open
syldor opened this issue Jul 14, 2023 · 2 comments
Open

Cannot dev on geonode-mapstore-client along a docker install #1495

syldor opened this issue Jul 14, 2023 · 2 comments

Comments

@syldor
Copy link

syldor commented Jul 14, 2023

I have a full docker installation of geonode on localhost.

How to use this instance with geonode-mapstore-client to dev locally ?

I have an instance of geonode on port 8000

Selection_154

Compilation and launch of geonode-mapstore-client is fine

image

Now going on 8081 is stuck:

image

it seems port 8000 does not accept:

image

How to do ?

@syldor
Copy link
Author

syldor commented Jul 14, 2023

I see the following in /var/log/geonode/log in the container:

Request exception [HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /api/v2/ (Caused by ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))] - TOUT [30] to URL: http://localhost:8000/api/v2/ - headers: {'Content-Type': '', 'X-Requested-With': 'XMLHttpRequest', 'X-CSRFToken': '4UVh4vghz9IPUVc8nmjvcfIns7dFKJmBL3dFsuvK2i3KjVNgmGWUu7gcdB2dJRnm', 'Cookie': 'csrftoken=4UVh4vghz9IPUVc8nmjvcfIns7dFKJmBL3dFsuvK2i3KjVNgmGWUu7gcdB2dJRnm; sessionid=kkplgdbnzc90qfa5uii44yoiymr93bp5; csrftoken=4UVh4vghz9IPUVc8nmjvcfIns7dFKJmBL3dFsuvK2i3KjVNgmGWUu7gcdB2dJRnm', 'Pragma': 'no-cache', 'Referer': 'http://localhost:8000/', 'Accept-encoding': 'gzip, deflate, br', 'User-Agent': 'GeoNode'}
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
    response.begin()
  File "/usr/lib/python3.10/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

@chumano
Copy link

chumano commented Jul 14, 2023

As I knew that the current setup cann't dev geonode-mapstore-client using docker.
Because proxy run in docker cannt access localhost:8000 ( that port open on host)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants