Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenericInterfaceClient: timeout parameter seems not to work #54

Open
dcoredump opened this issue Apr 8, 2024 · 0 comments
Open

GenericInterfaceClient: timeout parameter seems not to work #54

dcoredump opened this issue Apr 8, 2024 · 0 comments

Comments

@dcoredump
Copy link

dcoredump commented Apr 8, 2024

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 dcoredump changed the title GenericInterfaceClient timeout parameter seems not to work GenericInterfaceClient: timeout parameter seems not to work Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant