aws / aws/graph-explorer

Log connection details when request fails

Open
#1,210 0 comments 0 reactions 0 assignees View on GitHub
connection reliability
Dominant language
TypeScript
Stars
481
Forks
108
Avg merge
8d 9h
Merged PRs (30d)
7

Description

The server error handling logic should log out the connection details that were sent from the client when a request fails.

This will help diagnose connection issues.

The existing error handling logic inside the proxy server does log some of this information, but it only logs it for thrown errors. Some connection issues result in not errors, but HTTP status codes that are not in the 2xx range.

The header white list should be extended to include IAM auth settings.

Contributor guide

Open the contributing guide

Research direction

Locate the proxy server's existing error-handling logic and header whitelist. Compare the thrown-error path with responses returning non-2xx HTTP status codes. Done means failed requests log the client-sent connection details in both cases and the whitelist includes IAM auth settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.