Refreshing access token - timeout problems #1141
-
Hi, I'm strugling with timeouts, especialy for the procedure 'Refreshing access token'. Where can I set the timeout for this procedure? I have set the timeout for Connection, but this one is different. Below is a part of the log when 'Refreshing access token' fails.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Pass a tuple: :param float or tuple timeout: How long to wait for the server to send data before giving up, as a float, or a tuple (connect timeout, read timeout) |
Beta Was this translation helpful? Give feedback.
-
Hi @alejcas
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the improvement! I continued debugging. I think the timeout error is caused by a bug in the urllib3 library. On my Raspberry Pi OS - Docker system urllib3 is failing on the point of a dropped socket connection. Instead it tries to continue a dropped connection I guess. I will close the discussion as I think the problem is elsewhere. |
Beta Was this translation helpful? Give feedback.
Fixed in 52b21f3
timeout, proxies and verify_ssl is now passed to the msal hhttp client