python-otrs icon indicating copy to clipboard operation
python-otrs copied to clipboard

GenericInterfaceClient: timeout parameter seems not to work

Open dcoredump opened this issue 1 year ago • 0 comments

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

dcoredump avatar Apr 08 '24 12:04 dcoredump