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

Gracefully handle connection errors in RELAY API #3482

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

dbutenhof
Copy link
Member

PBENCH-1205

The requests package reports connection failures by exception, and the relay module wasn't catching those, causing them to be handled "upstream" and result in internal server errors.

Instead, catch the exceptions locally and report that the URI didn't respond.

PBENCH-1205

The requests package reports connection failures by exception, and the relay
module wasn't catching those, causing them to be handled "upstream" and result
in internal server errors.

Instead, catch the exceptions locally and report that the URI didn't respond.
@dbutenhof dbutenhof added bug Server API Of and relating to application programming interfaces to services and functions labels Jul 6, 2023
@dbutenhof dbutenhof requested review from ndokos, MVarshini and webbnh July 6, 2023 20:21
@dbutenhof dbutenhof self-assigned this Jul 6, 2023
Copy link
Member

@webbnh webbnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dbutenhof dbutenhof merged commit 3ab34f9 into distributed-system-analysis:main Jul 8, 2023
@dbutenhof dbutenhof deleted the relcon branch July 8, 2023 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Of and relating to application programming interfaces to services and functions bug Server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants