kieraneglin / pinchflat

Your next YouTube media manager
GNU Affero General Public License v3.0
904 stars 18 forks source link

Unable to Access Local Application in Firefox, Works Fine in Chrome #367

Closed OriginalSimon closed 1 month ago

OriginalSimon commented 1 month ago

Description of the Problem

When attempting to access the URL http://192.168.0.95:8945/ in Firefox, an error occurs, whereas the application is accessible without issues in Chrome.

Steps to Reproduce the Problem:

  1. Open Firefox.
  2. Enter http://192.168.0.95:8945/ in the address bar and press Enter.
  3. Wait for the page to fail to load or for an error to appear.

Expected Behavior

The application should open in Firefox just as it does in Chrome, without errors or issues.

Additional Context

зображення

pinchflat  |   Pipelines: [:api]
pinchflat  | 2024-08-24 19:02:24.518 request_id=F-6419hvhjG2DU4AABsB [info] | Sent 200 in 267µs
pinchflat  | 2024-08-24 19:04:24.575 request_id=F-6488xmxT5WnpUAABsh [info] | GET /healthcheck
pinchflat  | 2024-08-24 19:04:24.575 request_id=F-6488xmxT5WnpUAABsh [debug] | Processing with PinchflatWeb.HealthController.check/2
pinchflat  |   Parameters: %{} 

Disadvantages that can be improved

In the previous update, the "Save Source" button was not working, which also appears to be browser-related. Additionally, please consider implementing a proper login page, as the current one does not support autofill. Alternatively, it would be helpful to have an option to disable the need for authorization altogether.

user-566 commented 1 month ago

Try clearing site cache/cookies or access via InPrivate to see if that fixes the issue (https://support.mozilla.org/bm/questions/1406351)

OriginalSimon commented 1 month ago

I wouldn't be writing about the problem if I hadn't done these basic things. It partially helps. Thank you.

kieraneglin commented 1 month ago

Hey there. Thanks for the report (:

Unfortunately, this must be something unique to your machine rather than a problem of the app. I exclusively use Firefox for development so I'm quite confident it works under a modern build of Firefox.

Even if that wasn't the case, I see that no traffic is being directed into Docker which would also confirm a host machine configuration issue. The logs you posted are from the internal docker healthcheck and don't imply any browser traffic reaching the container.

Sorry I can't help more, but this really could be a million things and the bottom line is that it's not something I can fix in-app!


In the previous update, the "Save Source" button was not working, which also appears to be browser-related.

This isn't browser related - it's related to attempts by YouTube to stop yt-dlp downloads. I'm not sure where you're from but I know Eastern Europe has been getting hit hard in that regard.

Additionally, please consider implementing a proper login page, as the current one does not support autofill.

I'm not ruling this out as a future feature, but my current recommendation is to use Authelia or CloudFlare Access or similar if you need something better than HTTP basic auth

Alternatively, it would be helpful to have an option to disable the need for authorization altogether.

You don't need to have it! It's always entirely opt-in. I STRONGLY recommend it if you're accessing your instance via a public URL, but it is ultimately optional