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

Pysaml2 Hangs Indefinitely When Fetching Remote Metadata #885

Open
jacobm-splunk opened this issue Dec 2, 2022 · 0 comments
Open

Pysaml2 Hangs Indefinitely When Fetching Remote Metadata #885

jacobm-splunk opened this issue Dec 2, 2022 · 0 comments

Comments

@jacobm-splunk
Copy link

Code Version

6.5.1

Expected Behavior

The call to fetch remote metadata should timeout as expected.

Current Behavior

In some customer network environments, the call does not timeout.

Possible Solution

Curl calls seem to timeout correctly. We likely either need a configurable timeout or a way to kill the thread that's doing the fetch at some pre-determined point (ie. the thread kills itself after some timeout). The latter is more likely to fix the issue since it's not relying on a timeout from a networking library.

Steps to Reproduce

Steps to reproduce will be difficult since it's specific to a number of customer network environments. I was never able to produce a stable reproduction unfortunately.

It's basically just attempting to fetch remote metadata and then not timing out.

@jacobm-splunk jacobm-splunk changed the title Pysaml2 Hangs Indefinitely When Fetching Metadata Pysaml2 Hangs Indefinitely When Fetching Remote Metadata Dec 2, 2022
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