firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

The App is crashing on accessing a website with Basic Auth enabled

Open hugronaphor opened this issue 7 years ago • 14 comments

Accessing a website with htpasswd enabled, leads to the App getting closed/minimized and unusable and can't close or switch to other tabs.

Exact example: curl -I pubcrawls.club

HTTP/1.1 401 Unauthorized
Date: Wed, 13 Nov 2019 22:52:09 GMT
Server: Apache/2.4.18 (Ubuntu)
Cache-Control: no-cache, private
WWW-Authenticate: Basic realm="Hello!"
Content-Type: text/html; charset=UTF-8

┆Issue is synchronized with this Jira Task

hugronaphor avatar Nov 13 '19 22:11 hugronaphor

@hugronaphor Any other details on the problem? Looks fine in my case, checked on master I just got the dialog to provide username/password. What version of Firefox app, what OS?

KrystynaKruchkovska avatar Nov 14 '19 19:11 KrystynaKruchkovska

@KrystynaKruchkovska I just rechecked after updating to Firefox version 20.1 (16561). I now get the "Looks like Firefox crashed..." popup so I can move to other tabs but before I could not. Still, I can't visit the site. https://photos.app.goo.gl/9GtmbNg4whzN6Brv7

I'm on iPhone SE, with software version 13.1.3

hugronaphor avatar Nov 14 '19 20:11 hugronaphor

Thanks for the details.

Still, I wasn't able to reproduce with the same version. I tried with simulator and iphone 7+.

KrystynaKruchkovska avatar Nov 15 '19 08:11 KrystynaKruchkovska

I'm not able to reproduce this issue. I tried on a few different devices including a SE running iOS 13.2. @hugronaphor maybe you can get a crash log and post it here.

csuciu avatar Dec 06 '19 11:12 csuciu

Hi, same problem here on my Iphone SE (ios 13.5)

But I have the issue only if I'am connected to my firefox account. I think it is linked to the fact that on my laptop, I saved credentials for the concerned website (but not the basic authentication credentials). If I go on a website where credentials are not saved for the domain, it is working. For example if I go on this url : https://jigsaw.w3.org/HTTP/Basic/ (guest, guest), it's working.

If I use the private navigation it's also working. I'am using lockwise for my password management on the phone.

Please tell me if I can help you to reproduce this case.

bastien-effetb avatar May 22 '20 15:05 bastien-effetb

Confirmed broken for me, STR:

  • go to https://jigsaw.w3.org/HTTP/Basic, enter guest/guest and agree to save password
  • go to https://jigsaw.w3.org/HTTP/Digest, dialog pops up like in screenshot, tapping 'Log In' just re-shows the dialog, keeps looping and re-showing the dialog.

image

garvankeeley avatar Jul 10 '20 18:07 garvankeeley

Firefox Daylight 33.0 (4119) is crashing on iOS 14.4.1 on pages with basic authentication (HTTP 401). Since years a disappointing indictment... Just check www.weberg.de/intern

berti34 avatar Mar 26 '21 18:03 berti34

I still have it. Is there a workaround?

sommerper avatar Mar 23 '22 01:03 sommerper

This crash is still occurring on the latest Firefox release version 98.2 and latest main cd20fc4afd. @sommerper the workaround would be to delete your saved login for the site that uses basic authentication from Settings -> Login & Passwords and login by manually typing the user and password.

SimonBasca avatar Mar 23 '22 09:03 SimonBasca

delete your saved login for the site that uses basic authentication

@SimonBasca But the site actually has both basic authentication and a login page. So basically I should first remove the saved password and then add it again once FF doesn't crash?

sommerper avatar Mar 24 '22 16:03 sommerper

@sommerper go to Settings -> Login & Passwords search for the login for that page and delete it. After this you can login on that page by manually typing the login and password but don't save the login again. Hope this helps.

SimonBasca avatar Mar 31 '22 08:03 SimonBasca

This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!

github-actions[bot] avatar Jul 10 '23 00:07 github-actions[bot]

For me it works now

berti34 avatar Jul 15 '23 01:07 berti34

@datenleck I just checked, and you're right @datenleck, it works now.

sommerper avatar Jul 16 '23 10:07 sommerper