this post was submitted on 02 Jun 2024
5 points (77.8% liked)

Photon

243 readers
1 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

founded 9 months ago
MODERATORS
5
Failed to fetch the page (discuss.tchncs.de)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

I have an issue with proton. I hosted the software on my own homeserver with portainer.

Often it comes the failure "TypeError: NetworkError when attempting to fetch resource."

when i try to upload images

or

when I try to post something

in photon. It doesnt work in Firefox (Mac) or Safari (iOS, MacOS).

The instance is not the problem. It works with voyager.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

Errors are definitely indicating CORS is the issue. Specifically, that the Access-Control-Allow-Origin header is missing:

Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt). Statuscode: 503.

Are you perhaps (accidentally) stripping out that header in your NPM config? Or do you have a browser extension that might be doing so?