Project

General

Profile

Bug #88886

connecteur proxy, permettre, ou pas, un timeout à 0 (ValueError: Attempted to set connect timeout to 0, but the timeout cannot be set to a value less than or equa...)

Added by Sentry Io 20 days ago. Updated 20 days ago.

Status:
Solution proposée
Priority:
Normal
Assignee:
Target version:
-
Start date:
29 March 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Actuellement l'UI le permet mais à l'exécution ça échoue.

https://sentry.entrouvert.org/entrouvert/publik/issues/123692/

ValueError: Attempted to set connect timeout to 0, but the timeout cannot be set to a value less than or equal to 0.
(5 additional frame(s) were not displayed)
...
  File "passerelle/utils/__init__.py", line 468, in send
    response = super().send(request, **kwargs)
  File "requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "requests/adapters.py", line 485, in send
    timeout = TimeoutSauce(connect=timeout, read=timeout)
  File "urllib3/util/timeout.py", line 103, in __init__
    self._connect = self._validate_timeout(connect, "connect")
  File "urllib3/util/timeout.py", line 151, in _validate_timeout
    raise ValueError(

Error occurred while processing request

History

#1

Updated by Frédéric Péters 20 days ago

  • Project changed from Suivi des traces to Passerelle
#2

Updated by Robot Gitea 20 days ago

  • Status changed from Nouveau to Solution proposée
  • Assignee set to Thomas Noël

Thomas NOËL (tnoel) a ouvert une pull request sur Gitea concernant cette demande :

Also available in: Atom PDF