Firefox: attempting to login to my.atlassian.com produces endless page reload

4 things about me (some of which might not matter):

* longtime Bitbucket user
* I change passwords on important accounts (inc BB, now therefore Atlassian) with period ~= 90 days
* I webbrowse with Firefox, and am currently still on Firefox version=56 (i.e., pre-Quantum) waiting for an extension to upgrade
* I run OS=Linux distro=Debian version=8.9

To change pw, I browsed to https://my.atlassian.com and attempted to login using what I strongly believe to be my correct credentials (including ID=email). I then got redirected to

https://id.atlassian.com/login?application=mac&continue=https://my.atlassian.com&token=<alphanum string length=280/>

[loop top]

which attempted to redirect again, which produced the Firefox warning

> Firefox prevented this page from automatically redirecting to another page.

I hit button=Allow, which immediately reloaded the page, but returned me to top of loop.

[loop end]

After ~20 trips through loop, I websearched on term='Atlassian login reload', which returned (et al) some helpful-looking material from domain=atlassian.com. I took what seemed to be the most useful advice, which was to

1. dump cookies
2. dump cache
3. reload browser

I did this, then rebrowsed to https://my.atlassian.com , but observed no change: same infinite redirect/reload loop.

What to do? Meanwhile, will retry on another box with Quantum aka Firefox version >= 57.

6 answers

Same issue using FireFox, latest update, Windows 10
I earlier today cleared my cache and cookies and ever since it will not let me log in 

Tried refreshing Firefox as suggested above but that hasn't worked.

It gets stuck at the same spot every time i.e login?redirectCount=3
Any help/advice please? Driving me nuts now.
 

1 vote

I had the same redirect loop.  In my case the problem is Atlassian depending on http "referer" to allow login.  If it's spoofed like firefox can be configured to do, you get 403 errors and are redirected.  This would be consistent with it happening to some people only on Chrome, others only on Firefox.  Could be the underlying cause for most people experiencing this.

Referer is bad, relying on it is bad, and it adds nothing to security.  In fact forcing your users to  configure their browsers and firewalls to send it does a little of the opposite.  Please fix it some day.

0 votes

Hi Tom,

Sorry to hear that there is a problem with logging into one of our sites.  I am interested to know if this only effects Firefox.  Is it possible to login to the site from this machine using another browse such as Chrome?

I suspect there might be another problem here though if that doesn't work.

Try going directly to https://id.atlassian.com and see if you can login directly to that site first.  If you can, I would suspect this page might take you to your profile page.   If you can login directly there, I would be interested to see if you can then use the same browser tab/session to then navigate directly to https://my.atlassian.com

and see if that works.

If you're still getting this stuck in an endless login loop, please let me know the the username/email address you are using to try to login to our site and I will launch an internal investigation to see if there is perhaps something wrong with your specific account that might be causing this problem.

Thanks,

Andy

Hi Andy, I have the same problem with looping if I try to switch apps from sidebar to HOME application. 

1. Open sidebar

2. Click to "HOME"

3. Confluence and JIRA software clouds instances react the same behaviour - application will start with some loop (https://id.atlassian.com/login?continue=https) and I cannot stop it or return to JIRA or confluence. 

 

Error_Switching_Home.png

Hi John,

Is this problem happening for your in Firefox only?  I am curious to see if perhaps we can learn more about your environment to understand the scope of this problem better.

Also, does this effect other users in your environment?  Different browsers?   I would also be interested to learn about your specific Cloud URL.  I would like to try to reproduce this problem so we can better understand what might be causing this.  

So far I have not been able to recreate this problem yet.

Hi Andy, I tested with new JIRA cloud instance and the behaviour is the same, but only with Chrome! I checked in IE11 and it works correctly. 

Problem with HOME and looping exists in Chrome. 

https://myjira.atlassian.net/home?src=appswitcher&ref=Jira

 

Please could you reproduce this problem. 

Thank you. 

Hi @John Xolobo

So far, I have not been able to reproduce this problem.  Could you let me know more about your environment?  Are you also using a Linux OS, like Tom initially reported on this thread?

Could you let me know what specific versions of Firefox and Chrome you are using?

Have you tried to use the Private browsing mode or Incognito mode in either of these browsers?   I am curious to see if you can recreate this problem in these private browser modes to see if this is possibly related to a cookie/cache or possibly some other extension in the browser itself.

Hello, I have been having this same problem with both Firefox and Chrome on a Linux OS.  From what I can tell, this problem only exists when connecting from a Linux OS.

Hi,

I'm experiencing the same issue with Firefox 59.0.3 (64-bit) on Windows 10.

Chromium on the same machine works fine.

 

Update: Refreshing Firefox did the trick for me.

Further update: seemingly at random, the issue reappeared.

I would be interested to see if anyone that can reproduce this problem could also generate a HAR file in their browser when this happens and then provide that HAR file to us for review.  Steps on how to do this differ depending on browser, but a general outside exists on Generating HAR files and analyzing web requests.  Perhaps we can learn more about this problem by looking at these session logs.

I've generated one on FF and Windows 10 with the issue.

I am still experiencing the same problem on WIN7 with FF6 61.0.1.

Have to change to Chrome to be able to login.

Same here (again) on linux with FF 61.0.2

@Andrew Heinzer, please let me know where to send the HAR.

I have similar issue.

Whenever I try to access my Atlassian domain(cloud) from Firefox I get redirect status response code.

I'm landing on https://id.atlassian.com/login?continue=https... (my Atlassian domain) where I try to login but I get the message "Something went wrong while attempting to validate your credentials.

This is happening with firefox, tried with Chrome and there is no issue.

Find the har file here

https://drive.google.com/file/d/1clYxTOrAGLoTGMfS3i4QTcHI1qUWzVdq/view?usp=sharing

0 votes

You might run into this issue:

https://community.atlassian.com/t5/Bitbucket-questions/Cannot-logon-to-Atlassian-website-using-Firefox-59/qaq-p/763999

read answer:  Pruthvi Sabbu Oct 03, 2018 • edited 

"Apparently, Atlassian is trying to fingerprint browser. And I have configured the browser to resist fingerprinting scripts and hence the issue. Once I have disabled the config privacy.resistFingerprinting, I am able to access the same. I really wish Atlassian stops tracking!"

Same problem, FF 63.

 

Tried to dump cache, cookies, add-ons, private browsing, fingerprinting, ...  The console shows content security policy warnings, but nothing else.

 

can login to id.atlassian.com and this site.

also see a deprecated cookie api warning in aui.js

I've got a full HAR file.  Don't know how to attach it here.  It's 4MB.

I can fix http 400 by playing with custom values in network.http.referer

 

I can't -- yet -- confirm default values in FF 63

wonder out loud:

are the security and referer policy headers getting stripped or mangled somewhere?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

422 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you