multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Google returns a 400 error

Open D33M0N opened this issue 4 years ago • 19 comments

  • Multi-Account Containers Version:
  • Operating System + Version:
  • Firefox Version:
  • Other installed Add-ons + Version + Enabled/Disabled-Status:

Actual behavior

I get google error 400

Expected behavior

I can read and send e-mail in mail.google.com

Steps to reproduce

  1. enable addon
  2. contain mail.google.com into container
  3. restart browser

Notes

just disabling the addon and restarting the browser fixes it.

D33M0N avatar Oct 02 '20 03:10 D33M0N

You may need to sign in again as cookies are stored per container. Also may need other google domains in that container as well to make it work.

kennethtran93 avatar Oct 07 '20 23:10 kennethtran93

Other domains are needed in other containers aswell. I have more than one google account. I use one for mail and entirely different account only for youtube. and I don't want them to mix. but both need access to accounts.google.com or something, so this is left containerless. Before it worked fine. I think google did something to eff this up.

D33M0N avatar Oct 08 '20 00:10 D33M0N

It still works fine for me. I have a container holding mail.google.com with two accounts, and just created another container and signed onto YouTube with a third account. Everything still works fine, including after browser restarts (set to restore open tabs/session).

kennethtran93 avatar Oct 08 '20 01:10 kennethtran93

which firefox? I have 81.0

D33M0N avatar Oct 08 '20 12:10 D33M0N

Same. 81.0.1 64-bit on Windows 10

kennethtran93 avatar Oct 09 '20 01:10 kennethtran93

Same. in Windows 10 in 81.0.1 it does work. In linux with Firefox 81.0 it does not.

D33M0N avatar Oct 12 '20 11:10 D33M0N

Same. in Windows 10 in 81.0.1 it does work. In linux with Firefox 81.0 it does not.

Then maybe Firefox 81.0 is the culprit and it got fixed in 81.0.1? It will usually be up to the platform maintainer to update the packages. Else you can manually install Firefox here: https://www.mozilla.org/en-CA/firefox/linux/

kennethtran93 avatar Oct 20 '20 02:10 kennethtran93

@D33M0N make sure you’re doing the entire login process in the mail container, I previously hhad accounts.google.com set to open in Google automatically which of course messes with the login process

FlorianWendelborn avatar Oct 20 '20 16:10 FlorianWendelborn

Upgraded my linux Firefox to 81.0.2. Still doesn't work for gmail. I can container youtube and stuff just fine, but mail, nope.

EDIT: WORKS kind of now. Dunno why but the checkbox for "Limit to Designated sites" has checked itself after the update... Had to turn it off and the login screen appeared and could log in inside the container.

D33M0N avatar Oct 20 '20 16:10 D33M0N

I also have an issue with loading gmail in a Personal container:

Screenshot from 2020-11-03 13-42-13

Clicking Show Detailed Technical Info, reveals:

Numerical code: 9

Usually, in my non-contained tabs I access my work's Google services like drive and calendar, but gmail is disabled. It reports:

We are sorry, but you do not have access to Gmail. Please contact your organisation administrator for access.

One workaround is to try and open gmail in the non-container context, which shows the above error. Then for some reason the Personal container refreshes and works.

If I clear cookies for only mail.google.com (or all), it works once, then subsequent visits break in the same way.

I think it's something to do with the non-container tab cookies infecting the Personal container. Which gets rectified when I try to visit gmail in the non-container context.

Firefox 82.0.2 (64-bit), on Fedora 33.

tompreston avatar Nov 05 '20 13:11 tompreston

I am running into the same Temporary Error with Numerical code: 9 as @tompreston. I am running Firefox 82.0.2 on Fedora 33 where I run several different Gmail accounts in different containers. My workaround that fixes the issue is to go and delete cached data for mail.google.com. What's weird is that I have NOT run into the same problem on my Ubuntu 18.04 machine where I have a similar setup with multiple Gmail accounts in different containers.

swt2c avatar Nov 12 '20 01:11 swt2c

@swt2c I'm also on Fedora 33 (updated my comment). What version of Firefox are you running on Ubuntu? I wonder if we can repeat this in fresh Fedora 22 and Fedora 33 virtual machines.

tompreston avatar Nov 20 '20 14:11 tompreston

On Ubuntu I currently have Firefox 83.0. What's weird is that I have not reproduced this problem on my Fedora 33 machine for several days now.

swt2c avatar Nov 20 '20 14:11 swt2c

As far as I can see the last step in the login process opens a new tab which is not inside the container so it can't access the cookies it just set. I don't know why it's working for some people though.

xpufx avatar Dec 08 '20 18:12 xpufx

@oktayaa What do you mean by "last step in the login process opens a new tab"? My understanding is that logging into mail.google.com doesn't open a new tab. And if it did, it would be still be in the current tab's container context - for example middle clicking a link in a Personal container tab opens a new tab in a Personal container.

tompreston avatar Dec 08 '20 18:12 tompreston

for example middle clicking a link in a Personal container tab opens a new tab in a Personal container.

unless the link uses different domain which you have put to different container. or limited current container to only use aaa, bbb and ccc domains whereas the new link is not part of any of them.

D33M0N avatar Dec 08 '20 19:12 D33M0N

@oktayaa What do you mean by "last step in the login process opens a new tab"? My understanding is that logging into mail.google.com doesn't open a new tab. And if it did, it would be still be in the current tab's container context - for example middle clicking a link in a Personal container tab opens a new tab in a Personal container.

I think I was limiting the container to mail.google.com only which is what I want to do, but since the login process is hitting other domains including accounts.google.com the container was creating a new tab (not google).

There's already an open bug about not being able to add a domain to the list of container limited domains without actually going to that url. It's a pain to add google domains because they go through a bunch of redirects to set all of their cookies.

For now it seems to work when adding accounts.google.com and myaccount.google.com into the same container site list.

EDIT: Of course, then you can't log into say youtube since now it doesn't have access to the accounts.google.com (and other domains).

xpufx avatar Dec 09 '20 10:12 xpufx

Same issue happening with me: ubuntu 23.04, firefox 118.0

Here's the cycle; get 400 error, create new container and it works for a while, then something happens (eg one of the many reasons one might need to provide password again), and I get the error again, repeat.

freedriven avatar Sep 28 '23 21:09 freedriven

Same issue happening with me: ubuntu 23.04, firefox 118.0

Here's the cycle; get 400 error, create new container and it works for a while, then something happens (eg one of the many reasons one might need to provide password again), and I get the error again, repeat.

Same issue here. This has led me to stop using container tabs.

joheightzero avatar Jan 30 '24 18:01 joheightzero