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

Flash of "We can't find the internet" in Firefox (desktop/mobile) in Phoenix 1.8 #6031

Open
ponychicken opened this issue Dec 29, 2024 · 2 comments

Comments

@ponychicken
Copy link
Contributor

ponychicken commented Dec 29, 2024

Environment

  • Elixir version (elixir -v): 1.18.1-otp-27
  • Phoenix version (mix deps): Github Main (61cbfeb
  • Operating system: Debian

Reproduction

  1. Create a new project with phx.new
  2. Put it on a server which has some latency (not your local box)
  3. Open the page in Firefox mobile

Actual behaviour

You will see a very short (10ms) or longish (1000ms) flash of "We couldn't find the internet", when opening the page in a new window/ tab.

Expected behavior

No errors when opening a window

Notes

This makes the site looks immidiately unprofessional if you open it, and the first thing you see is an error message.

Bildschirmaufzeichnung.vom.2024-12-29.18-46-07.mp4
@03juan
Copy link
Contributor

03juan commented Dec 30, 2024

Check suggested solutions in #5102 e.g. #5102 (comment) ?

@ponychicken
Copy link
Contributor Author

Check suggested solutions in #5102 e.g. #5102 (comment) ?

I can reproduce this in a variety of devices independent of whether the phoenix app is behind nginx or not. The supposed fix with adding proxy headers did not result in a change for me.

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