Skip to content

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

@p1gyy

Description

@p1gyy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions