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

tracereport: also catch gaierror for gethostbyaddr() #117

Merged

Conversation

olifre
Copy link
Contributor

@olifre olifre commented Mar 15, 2024

socket.gethostbyaddr() throws a socket.gaierror exception if the address can not be resolved which was not caught before.

Fixes regression introduced by e7d7c6f , after which Pilot yielded stage-in and stage-out errors with backtrace for sites using a non-DNS resolvable PANDA_HOSTNAME (VMs, long-lived containers,...).

Reopened against next branch.

socket.gethostbyaddr() throws a socket.gaierror exception
if the address can not be resolved which was not caught before.

Fixes regression introduced by e7d7c6f , after which
Pilot yielded stage-in and stage-out errors with backtrace
for sites using a non-DNS resolvable PANDA_HOSTNAME
(VMs, long-lived containers,...).
@PalNilsson PalNilsson merged commit 5203d95 into PanDAWMS:next Mar 15, 2024
8 checks passed
@olifre olifre deleted the fix_trace_resolve_exception_handler branch March 15, 2024 09:27
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

Successfully merging this pull request may close these issues.

2 participants