NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
20.99k stars 2.43k forks source link

Continuos login request and 401 status using iPhone iOS with Safari #3167

Open RedFoxy opened 10 months ago

RedFoxy commented 10 months ago

Checklist

Describe the bug I'm trying to create a proxy to block access to Frigate using the htaccess authentication, it goes very well but if I try to login by an iPhone it ask me to login, reading the logs I see that every time it ask me to login it there is a row wit 401 status, with Android or Windows I don't have that trouble.

Nginx Proxy Manager Version v2.10.4 © 2023

To Reproduce Steps to reproduce the behavior:

  1. create an Access List with name Frigate, check Satisfy Any
  2. Click on Authorization tab and add a user with password
  3. Click on Access and insert Allow 192.168.0.0/24 and Deny All, than click SAVE
  4. Create a new proxy, insert a valid dns on your server, sheme http, forwart yo your frigate ip address port 5000, enable block exploit and websochet support
  5. Under SSL tab check all and insert dns name inserted on step 4
  6. Save
  7. Try from iPhone/iPad with Safari, it asks for username and password, insert it and log in, when you try to change page or it reloads, you must insert again username and password, reading logs I've a lot of: [29/Aug/2023:21:47:15 +0000] - - 401 - GET https my.domain.private.com "/live/jsmpeg/cam" [Client 2.198.139.94] [Length 176] [Gzip -] [Sent-to 192.168.1.58] "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/116.0.1938.56 Version/17.0 Mobile/15E148 Safari/604.1" "-" [29/Aug/2023:21:47:21 +0000] - - 401 - GET https my.domain.private.com "/live/jsmpeg/cam" [Client 2.198.139.94] [Length 176] [Gzip -] [Sent-to 192.168.1.58] "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/116.0.1938.56 Version/17.0 Mobile/15E148 Safari/604.1" "-" [29/Aug/2023:21:47:27 +0000] - - 401 - GET https my.domain.private.com "/live/jsmpeg/cam" [Client 2.198.139.94] [Length 176] [Gzip -] [Sent-to 192.168.1.58] "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/116.0.1938.56 Version/17.0 Mobile/15E148 Safari/604.1" "-" [29/Aug/2023:21:47:33 +0000] - - 401 - GET https my.domain.private.com "/live/jsmpeg/cam" [Client 2.198.139.94] [Length 176] [Gzip -] [Sent-to 192.168.1.58] "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/116.0.1938.56 Version/17.0 Mobile/15E148 Safari/604.1" "-"

Expected behavior Just I want to make a proxy server with basic_auth between users and frigate, frigate don't use https and it haven't authentications support, I need to use it with Safari on iOS

Operating System iOS 16.x and iOS 17.0 beta

github-actions[bot] commented 3 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1:

RedFoxy commented 3 months ago

did you try to reproduce it? the trouble is still on