Hot Koehls
  • Email
  • Feedburner
  • Linkedin
  • Twitter
  • Home
  • About
  • Archives
  • Contact
  • Software
    • S3imple Backup
    • Twitter Feed Archiver
    • FileTime
    • Flickr API Demo
Search
Home» For everyone » Fixing Firefox Gmail 400 Bad request

Fixing Firefox Gmail 400 Bad request

Posted by Frank - April 7, 2009 - For everyone
7

I posted a few weeks back describing an issue I was experiencing with logging into Gmail from Firefox. Firefox was corrupting Gmail cookies whenever the browser started, so I had to clear cookies each time I started up in order to use Gmail. Today I found the full solution, and it ain’t pretty.

The problem is somewhere in the Firefox profile, and you have to blow the whole thing away to get it running normal again. Unfortunately, that means extensions and bookmarks go bye-bye as well, so you essentially have to approach the process as if you were restoring your browser after a reformat. No worries, here’s what you do…

Back up your bookmarks
We could yank the bookmarks.htm out of the profile folder, but again with a corruption specific to the profile, it’s far better to export them cleanly. From the menu bar choose Bookmarks > Organize Bookmarks. Click the Import and Backup button along the top, and chose Backup.... Follow the save file prompt, tucking the file away for safe keeping.

You can do the same for passwords if you’d like, though I don’t recommend it for security reasons. Even if you save passwords, wiping them out from time to time will clear out any old data you haven’t accessed in a while. The less secure data you have floating on your computer, the better.

Get a list of your extensions
For the same reason as bookmarks, we are not going to save the extensions. Fortunately, it’s super-easy to make a list of installed extensions. Install another extension called Extension List Dumper. This simple add on outputs a list of all your extensions in text, html, or CSV format. It can even include links to the author pages. I really only install from the Firefox add-ons site, so all I needed were the names. Use it to save a copy of the add-ons somewhere safe.

Remove that profile
You should never delete something outright until you are sure you no longer need it, so we are going to move the necessary files out of their usual place to make Firefox think they are gone. My problem and solution were in Windows XP, so Vista and Mac users will have to find their equivalent directories. This MozillaZine article will tell you where to find Firefox’s profile folder on just about any system.

Close Firefox, then open Windows Explorer (i.e. My Computer), and browse here (or your system’s equivalent)…

C:\Documents and Settings\[USER NAME]\Application Data\Mozilla\Firefox

[USERNAME] will usually correspond with your Windows user name. Once you have found the directory, move the profiles.ini file to the desktop – make sure you don’t just make a copy!

Then go into the profiles folder, and you’ll find a folder with a gobbledygook name ending in .default. For instance, mine was called 572p4a0j.default. Grab that entire folder and move it to the desktop. Again, make sure you don’t just make a copy; we want the original location to be empty.

Now restart Firefox, and it should behave as if you did a fresh install. This is what we want. Restore your bookmarks — Bookmarks > Organize Bookmarks > Import and Backup > Restore > Choose File... — and then hit up the Firefox Add-Ons page armed with your list of extensions you made earlier and reload those suckers.

Enjoy no more bad requests! Make sure you mention your experiences in the Mozilla Support Forums to ensure this gets fixed in the future — I’ve responded to threads on the matter here and here. Feel free to post success stories or additional issues in the comments.

7 comments on “Fixing Firefox Gmail 400 Bad request”

  1. Eileen says:
    June 16, 2009 at 1:26 pm

    Thank you so very much!! This is the only thing that worked. I got so tired of hearing that I just needed to clean cache/cookies every time I started.

  2. Frank says:
    June 16, 2009 at 1:36 pm

    Glad it helped, Eileen!

    I ran into the same “clean cache/cookies” responses when I initially researched this problem. Unfortunately, most of those supports comments come from good-natured users who simply don’t understand the problem, usually as a result of a plea for help that wasn’t clear to begin with!

  3. Didi says:
    August 25, 2009 at 2:22 am

    hi frank,

    thanks that helped me!

    regards

  4. andreaf says:
    September 10, 2009 at 2:28 am

    I ran Speedy Fox and suddenly for some unknown reason began getting 404′s when attempting to access anything google-related. I was stumped, and opened Chrome and used google there to find this answer. This worked perfectly. All is well in googletown again. Bless.

  5. julia says:
    January 20, 2010 at 10:45 pm

    Hi – I have been having this problem for a few days now – I can’t figure it out — I tried to do your fix, but unfortunately after clearing my profile (yes, it said the folder was empty) and restarting firefox it did the exact same thing – recreated the profile and put it in the same place, with the same name, even. I’m frustrated. :( did I do something wrong? other tips or tricks? thanks!

  6. Stacie says:
    August 2, 2010 at 9:31 am

    This problem started four days ago. I tried your way, but when I tried to restart Firefox there was a popup saying Firefox was already running but not responding. The only way I could fix that was to put the original profile back. :(

  7. Frank says:
    August 2, 2010 at 4:07 pm

    The “Firefox is already running but is not responding” error is a very common Firefox issue, unrelated to my instructions.

    Follow my instructions again, and use this support thread if it happens again.

    http://support.mozilla.com/en-us/kb/firefox+is+already+running+but+is+not+responding

    Of course I suggest you look at it first, before going through all that again.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Categories

  • For entrepreneurs
  • For everyone
  • For techies

Latest Tweets

  • The word traps planners plan themselves into | Life. Then strategy http://t.co/iANAdASb
    May 8, 2012 - 2:43 pm
  • Random network security tip for those about to appear on TV - Boing Boing http://t.co/tC1lXFQ4
    May 8, 2012 - 1:42 pm
  • A Picture http://t.co/H846Uy69
    April 27, 2012 - 12:25 pm
  • The Broken "Buy-One, Give-One" Model: 3 Ways to Save Toms Shoes | Co.Exist: World changing ideas and innovation http://t.co/RI0sVMW6
    April 10, 2012 - 12:23 pm

Recent Comments

  • whiz on What 255 characters looks like
  • Andrew on Find the second (or third, or fourth) occurence in a string
  • IanArcher on Get number of message parts in an email using PHP
  • Usama on Remove parent directories from tar archives
  • Frank on It’s dangerous to go alone

Recent Posts

  • It’s dangerous to go alone
  • Create Self-Signed Wildcard SSL Certificate
  • What comes after the yottabyte?
  • Write code like they do in Hollywood
  • Brian Rolle machine gun celebration
(c) 2012 Frank Koehl. All Rights Reserved.
  • Contact Us
  • Sitemap