Can't login with Firefox 94.0: "Bad Request - Bad bot, go away! Request aborted."

Bug #1950073 reported by Alex DeLorenzo
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
Undecided
Unassigned

Bug Description

I'm on Impish, and I'm using firefox 94.0+build3-0ubuntu0.21.10.1 from the impish-updates repository.

I can't login to launchpad.net without triggering a "Bad Request - Bad bot, go away! Request aborted." error. I had to login using Chromium to make this report.

This bug might be related to a similar bug that was resolved in 2015: https://bugs.launchpad.net/bugs/1474841

Tags: iso-testing
Revision history for this message
Colin Watson (cjwatson) wrote :

I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=1739992, since this appears to be a Firefox regression.

Revision history for this message
Chris Guiver (guiverc) wrote (last edit ):

I tried to file bug report on latest jammy daily (canary build) due to failure to install & this error is all I got after clicking "Yes, log me in" page (where I see my name etc)

- hp dc7700 (c2d-e6320, 5gb, nvidia quadro nvs 290)

also mentioned here - https://discourse.ubuntu.com/t/new-desktop-installer-preview-build/24765/35

It's not impacting all boxes though it seems; I booted the thumb-drive (current daily) on another box

- sony vaio svp112a1cw (i5-9400u, 4gb, intel haswell-ULT)

and i DID NOT experience this issue there??? (sony box is wifi only and I manually connected to hidden wpa2 access point prior to bug submission)

however my install failed there too on that box & i was asked to file bug report on canary-installer crash... but now I get

Bad bot, go away! Request aborted.

Revision history for this message
Leó Kolbeinsson (leok) wrote :

I also received this error - my workaround was to delete the saved password for launchpad in Firfeox and then I could login - after several logins the error came again.

Revision history for this message
Leó Kolbeinsson (leok) wrote :

Re: the "bad bot,go away! etc " error - I only get this when trying to login to launchpad bug reports.
I can login as normal to the QA testing site with no problems.

Revision history for this message
Alexandre Erwin Ittner (aittner) wrote :

Same behavior here. Authentication to LP fails with latest FF 94 on both focal and bionic, but works for everything else (confirmed working with GApps, Mattermost, ISO QA, Discourse, Snapcraft.io, Charmhub.io, and HR portal).

My simplest workaround is using it from a private window; I suppose the extended privacy controls disables the feature that triggers the bug, but I haven't looked which one specifically.

Revision history for this message
Daniel Manrique (roadmr) wrote :

A workaround you can also try is removing your password manager record for Launchpad, which should clear the incorrectly-filled field, and then try logging in again to create a new record (please write your password down before removing the record!).

Another option is to go into the password manager and clear any auto-filled values for openid.usernamesecret (which is the bot detection field which should be left blank).

Revision history for this message
Colin Watson (cjwatson) wrote :

Mozilla have updated their site recipes for form autofilling, so I think this should work properly now - it certainly does in my tests.

Daniel Manrique (roadmr)
Changed in canonical-identity-provider:
status: New → Fix Released
Revision history for this message
Chris Guiver (guiverc) wrote :

If this is fixed; I'd not expect to experience this on a daily ISO QA test using 2021-11-16 (jammy canary desktop ISO)

I just did. :(

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1950073

tags: added: iso-testing
Revision history for this message
Colin Watson (cjwatson) wrote :

@guiverc It might then be worth seeing if you can narrow this down in the sort of way seen in https://bugzilla.mozilla.org/show_bug.cgi?id=1739992 and update the upstream bug accordingly.

I don't know how the site recipe mechanism works; it's possible that there's something which is fetched from the network if possible but falls back to a local copy if that fails, in which case the fix might not be entirely robust until the next Firefox release.

Revision history for this message
Chris Guiver (guiverc) wrote :

Failure again using jammy (canary) ISO 2021-11-17
making comment on upstream report.

Revision history for this message
Chris Guiver (guiverc) wrote :

I just got this error on a Xubuntu daily (jammy) QA-test install that failed... "Bad bot, go away! Request aborted"

 There are NO snaps installs in Xubuntu.

`apt-cache policy firefox` shows

firefox:
  Installed: 94.0+build3-0ubuntu1

(note: I didn't copy/paste that; I'm on my primary lubuntu box but the results loook identical to my primary jammy box)

Revision history for this message
Colin Watson (cjwatson) wrote :

As far as I know snaps are irrelevant to this; nobody else seems to have brought them up here before you.

I don't know exactly how Mozilla's (apparent) out-of-band mechanism for updating per-site form autofill behaviour works, or how it might fail.

Revision history for this message
Leó Kolbeinsson (leok) wrote :

I just tested Xubuntu daily (jammy) QA-test 18-11-2021 which failed - I had no problem logging onto launchpad - hence unable to reproduce this error.

Revision history for this message
Bernard Stafford (bernard010) wrote :

I deleted my saved passwords for Ubuntu One.
Uncheck the box in Firefox 'Delete cookies on exit'
Manually login do not save password.
Each site on Launchpad I go with the logged in cookies.
I am logged in as soon as it opens. I delete the cookies weekly.
I did notice that Firefox auto log turns the boxes yellow when auto-filling info.

Revision history for this message
Bernard Stafford (bernard010) wrote :

Installed Firefox 78.13.0esr Saved password to auto-login.
Logged out of Launchpad. Used auto-login.
Everything works as expected.
This could be a "Work-Around" until bug report is fixed.

Revision history for this message
Bernard Stafford (bernard010) wrote :

The fix released works.
Thank You...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.