Python-Tls-Client icon indicating copy to clipboard operation
Python-Tls-Client copied to clipboard

Increase request timeout

Open FuckingToasters opened this issue 2 years ago • 5 comments
trafficstars

Hello, I'm currently facing this issue a lot: tls_client.exceptions.TLSClientExeption: failed to do request: Get "https://discord.com/api/v9/invites/T6cNBdYw9W": read tcp 192.168.178.24:37874->38.20.233.249:26023: i/o timeout and so i want to increase the timeout to lets say 20 sec but i don't know, how i would be able to do this with this libary.

FuckingToasters avatar Mar 07 '23 18:03 FuckingToasters

proxy issue G this u? 38.20.233.249

qoft avatar Mar 08 '23 22:03 qoft

proxy issue G this u? 38.20.233.249

Yea it's a rotsring proxy from my own service but the timeout issue is not related to the proxy as I face the same issue when using without proxy.

FuckingToasters avatar Mar 08 '23 23:03 FuckingToasters

this isnt a python-tls-client issue, but an actual tls-client issue. report the issue there

qoft avatar Mar 10 '23 14:03 qoft

Hello, I'm currently facing this issue a lot: tls_client.exceptions.TLSClientExeption: failed to do request: Get "https://discord.com/api/v9/invites/T6cNBdYw9W": read tcp 192.168.178.24:37874->38.20.233.249:26023: i/o timeout and so i want to increase the timeout to lets say 20 sec but i don't know, how i would be able to do this with this libary.

timeout_seconds=20

acheong08 avatar Mar 10 '23 14:03 acheong08

or in Go tls_client.WithTimeoutSeconds(360),

acheong08 avatar Mar 10 '23 14:03 acheong08