ewsterrenburg / python-otrs

Pythonic interface to OTRS SOAP API
GNU General Public License v3.0
47 stars 27 forks source link

GenericInterfaceClient: timeout parameter seems not to work #54

Open dcoredump opened 5 months ago

dcoredump commented 5 months ago

Hi,

I tried to connect to our OTRS system and I know there is a firewall so I can't get a connection. When I use the timeout parameter for GenericInterfaceClient, it waits ~6 minutes to disconnect no matter what I set the timeout value to.

webservice_name = 'GenericTicketConnectorSOAP'
otrs_client=GenericInterfaceClient("https://otrs.abc.de.fg", tc=GenericTicketConnectorSOAP(webservice_name), timeout=10)

which gets (after 270 seconds instead of 10 seconds): <urlopen error [Errno 110] Connection timed out>

Regards, Holger