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

Service worker returns Error 403 - Forbidden #6

Open
csolisr opened this issue Nov 1, 2023 · 0 comments
Open

Service worker returns Error 403 - Forbidden #6

csolisr opened this issue Nov 1, 2023 · 0 comments

Comments

@csolisr
Copy link

csolisr commented Nov 1, 2023

Describe the bug

The service worker, which is used by Firefish to fetch updates in the background, is not working properly, sending an Error 403 ("Forbidden").

Context

  • Hardware: * Dedicated PC *
  • YunoHost version: 11.2.5
  • I have access to my server: *Through SSH, webadmin, direct access *
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
  • Using, or trying to install package version/branch: 1.0.3

Steps to reproduce

  1. Log into the website
  2. Wait for a few minutes. Notice that the automatic note updates are not working.
  3. Check on your browser's console. There will be repeated warnings that a service worker is not connecting.

Expected behavior

The service workers should work as expected, fetching data in a regular basis.

Logs

From the console log:

Firefox could not establish a connection with the server at wss://sns.example.net/streaming?i=[redacted]&_t=[redacted].
The connection with wss://sns.example.net/streaming?i=[redacted]&_t=[redacted] was interrupted while the page was being loaded.
GET | wss://sns.example.net/streaming?i=[redacted]&_t=[redacted]
Status: 403 Forbidden
Version: HTTP/1.1
Transferred: 599 B (size 0 B)
DNS Resolution: System
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