python-otrs
python-otrs copied to clipboard
GenericInterfaceClient: timeout parameter seems not to work
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