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.

  • makiOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    On my Homeserver runs an NGINX Proxy Manager. There is HTTPS activated. The proxy use HTTP to connect to the local Docker Container.

    Internet --> NGINX Proxy Manager --> local Docker Container

    The Instance discuss.tchncs.de is not mine, but I have set the enviroment “PUBLIC_INSTANCE_URL=discuss.tchncs.de”.

    The errors are paste here

    • Admiral Patrick@dubvee.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 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?