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

mobile: Fix the internet disconnection error mapping #38169

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

fredyw
Copy link
Member

@fredyw fredyw commented Jan 23, 2025

This PR fixes the error mapping for the internet disconnection in Cronvoy to only check the network status instead of looking at the other errors because when the network is offline, the only logical error is ERR_INTERNET_DISCONNECTED irrespective of the other errors.

Risk Level: low
Testing: unit test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: android

Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #38169 was opened by fredyw.

see: more, trace.

Signed-off-by: Fredy Wijaya <[email protected]>
@fredyw fredyw marked this pull request as ready for review January 23, 2025 20:28
@fredyw
Copy link
Member Author

fredyw commented Jan 23, 2025

/assign @abeyad

@abeyad
Copy link
Contributor

abeyad commented Jan 23, 2025

cc @RenjieTang

@fredyw fredyw merged commit 6f5bdbf into envoyproxy:main Jan 23, 2025
24 checks passed
@fredyw fredyw deleted the em_internet_disconnect branch January 23, 2025 20:43
bazmurphy pushed a commit to bazmurphy/envoy that referenced this pull request Jan 29, 2025
This PR fixes the error mapping for the internet disconnection in
Cronvoy to only check the network status instead of looking at the other
errors because when the network is offline, the only logical error is
`ERR_INTERNET_DISCONNECTED` irrespective of the other errors.

Risk Level: low
Testing: unit test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: android

---------

Signed-off-by: Fredy Wijaya <[email protected]>
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