Skip to main content
Question

Sudden failure on JWTAuth - OSError("(10054, 'WSAECONNRESET')")

  • May 22, 2025
  • 1 reply
  • 24 views

Forum|alt.badge.img
Hello fellow box developers! :) I have used JWTAuth for my app for a long time now. More specifically I use the following setup: py modules: boxsdk[jwt] then in code: from boxsdk import JWTAuth, Client config = JWTAuth.from_settings_file('config.json') client = Client(config) Today when I try to access the client object which is authenticated using JWT as described above, I get the following error: " Request "POST https://api.box.com/oauth2/token" failed with ConnectionError exception: ConnectionError(ProtocolError('Connection aborted.', OSError("(10054, 'WSAECONNRESET')"))) " >> I was wondering if anyone else is experiencing the same? << I'm a bit puzzled why this error suddenly occurs, as it have never happened in the past with the exact same setup. I was looking for any updates on the python sdk but with no luck.

1 reply

Forum|alt.badge.img

Hi There! 

This type of error is typically a proxy issue. Can you share the client id of your application, as well as if you a managed user of an enterprise account? 

Thanks, 

Alex, Box Developer Advocate