How to set a timeout for connecting SUDS

I am struggling with what should be a very simple problem. I cannot set the session timeout on a SUCO connection briskly. My WSDL is good. Everything works when you pull a smaller dataset. I tried several ways to set a timeout. While the following does not complain / etc, it is also ineffective:

from suds.client import Client client = Client(authUrl, timeout=600) 

My connection / etc appears with an error after 90 seconds by default. Unfortunately, this is not enough to get the data I need. The error I am getting is

 ssl.SSLError: ('The read operation timed out',) 

Help! I guess my google foo is weak. I tried a lot ... and finally I have to ask for help. Which will be highly appreciated ...

+5
source share

Source: https://habr.com/ru/post/1260730/


All Articles