ProxyError at login #383

Closed
opened 2024-02-06 11:48:48 +01:00 by mpeltriaux · 2 comments
Owner

Status quo

Sometimes the following error is thrown:

ProxyError at /login/
HTTPSConnectionPool(host='login.naturschutz.rlp.de', port=443): Max retries exceeded with url: /sso/request-token/ (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response')))

...

  File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 513, in send
    raise ProxyError(e, request=request)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Exception Type: ProxyError at /login/
Exception Value: HTTPSConnectionPool(host='login.naturschutz.rlp.de', port=443): Max retries exceeded with url: /sso/request-token/ (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response'))) Raised during: simple_sso.sso_client.client.LoginView

The error is resolved by itself after a very short period of time (few seconds).

This needs further investigation.

# Status quo Sometimes the following error is thrown: ```python ProxyError at /login/ HTTPSConnectionPool(host='login.naturschutz.rlp.de', port=443): Max retries exceeded with url: /sso/request-token/ (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response'))) ... File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 513, in send raise ProxyError(e, request=request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Exception Type: ProxyError at /login/ Exception Value: HTTPSConnectionPool(host='login.naturschutz.rlp.de', port=443): Max retries exceeded with url: /sso/request-token/ (Caused by ProxyError('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response'))) Raised during: simple_sso.sso_client.client.LoginView ``` The error is resolved by itself after a very short period of time (few seconds). This needs further investigation.
mpeltriaux added the
bug
label 2024-02-06 11:48:48 +01:00
mpeltriaux self-assigned this 2024-02-06 11:48:48 +01:00
Author
Owner

Further research led to the gunicorn configuration of arnova. It looks like only one worker process dealed with all the incoming requests. The configuration has been edited, so that arnova is running with 4 workers now. I will keep an eye on this.

Further research led to the gunicorn configuration of `arnova`. It looks like only one worker process dealed with all the incoming requests. The configuration has been edited, so that `arnova` is running with 4 workers now. I will keep an eye on this.
mpeltriaux added
question
backlog
and removed
bug
labels 2024-02-06 18:33:14 +01:00
Author
Owner

Might become irrelevant due to switch to OAuth2.0 workflow (See #396 and #395)

Might become irrelevant due to switch to OAuth2.0 workflow (See #396 and #395)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#383
No description provided.