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

Visiting any website after deploying to Koyeb results in the service worker terminating due to an unexpected error. #107

Open
p1gyy opened this issue Nov 22, 2024 · 1 comment

Comments

@p1gyy
Copy link

p1gyy commented Nov 22, 2024

Expected Behavior

The website should be proxied successfully with no error shown

Current Behavior

After deploying to Koyeb, visiting any website shows a error page with the text "Blocked Page: An error occurred during a connection to [SUBDOMAIN].koyeb.app."

An error is also printed to the javascript console:
Failed to load ‘’. A ServiceWorker intercepted the request and encountered an unexpected error.

Logs on Koyeb include this issue, but no explanation for the error is present.

> [email protected] start /workspace
> node src/index.js
Listening on:
	http://localhost:8000
	http://18ead08e:8000
	http://0.0.0.0:8000
Instance is healthy. All health checks are passing.
[2024/11/22 - 00:16:54] log: Client decided to terminate with reason 1
[2024/11/22 - 00:18:24] log: Client decided to terminate with reason 1

Steps to Reproduce

  1. Deploy Ultraviolet-App to Koyeb using the deploy button
  2. After it finishes deploying, visit the website
  3. Enter any url into the input box and press enter
  4. See the error page after submitting. Press CTRL + SHIFT + I to view the console and see the error there as well.

Context (Environment)

I am trying to host my own proxy website using this as a base. I am planning to add a custom frontend in the future.

Detailed Description

No modifications have been made to the code and is directly deployed from the link in the README. No settings on Koyeb were altered either, apart from the deploy name. I am also visiting the website on my home network, so no firewall rules or external applications should be blocking it.

@p1gyy p1gyy changed the title Visiting any website after deploying to Koyeb shows an error as "Blocked Page" Visiting any website after deploying to Koyeb results in a console error on a "Blocked Page" error page. Nov 22, 2024
@p1gyy p1gyy changed the title Visiting any website after deploying to Koyeb results in a console error on a "Blocked Page" error page. Visiting any website after deploying to Koyeb results in the service worker terminating due to an unexpected error. Nov 22, 2024
@p1gyy
Copy link
Author

p1gyy commented Nov 22, 2024

After further examination, it seems to only have issues with Firefox, but works with Chrome. Are there any plans for adding browser support with Firefox?

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

1 participant