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

www.google.com/sorry/index 405 #364

Open
justinadkins opened this issue Sep 2, 2022 · 2 comments
Open

www.google.com/sorry/index 405 #364

justinadkins opened this issue Sep 2, 2022 · 2 comments

Comments

@justinadkins
Copy link

justinadkins commented Sep 2, 2022

Current Behavior

I'm using useIsConnected in an application and in the past two weeks have noticed several devices that use this to have failed network calls, but oddly they are pointed at /sorry/index with a 405 error code. We aren't applying a custom endpoint to hit so it should just be hitting the default google.com. Has anyone seen this before or know why this may be happening?

Expected Behavior

I would expect to never hit /sorry/index.

How to reproduce

Not known. Out of > 1000 devices this has only happened a couple dozen times.

Your Environment

software version
react-native-offline 5.8.0
react-native 0.64.2
node 14.19
npm or yarn yarn 1.22.18
@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 18, 2023
@gezquinndesign
Copy link

For what it's worth, I get 405 errors when trying to use this package in a web context (localhost:3000), the 405s are coming from failed preflight requests. The actual requests are failing with CORS errors - is there any documentation on how to configure your local development environment for web integration of this package?

@stale stale bot removed the wontfix label Jul 17, 2023
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

2 participants