Problems logging in using Brave on iPad

in-progress

#1

I started using Brave recently and when I try to login, I click Login and nothing appears to happen. I do it a few times just the same, I refresh the page, no better, then after a few more clicks of Login and finally it works.

Also, using Brave I have to login every day, where Safari seems to stay logged in, so I experience this login problem every day.

Just tried Safari, had to log out, then login worked first time.


#2

Just had same problem logging in from my laptop using Firefox 64.0 (Quantum). Multiple clicks on the Login button, a refresh, multiple more clicks, then it logged me in.


#3

I’ve have this behaviour of difficulty login in too using Safari on Mojave. It’s not new, and I should have reported it earlier. It seemed to improve once I eventually accepted the cookies, but it has happened again so that may not be related.


#4

Thanks for reporting - I’ve logged an issue (https://github.com/TheRestartProject/restarters.net/issues/106) and we’ll get to the bottom of it.

(If either of you are feeling adventurous, if you could have a look in the browser’s javascript console/debugger to see if any errors are reported there, that would be helpful! In Brave, I believe pressing F12 brings up the developer tools. These are the instructions for Safari.)


#5

There’s no F12 on my iPad keyboard :frowning:

Haven’t been able to get Brave on laptop to reproduce it.

Got FF to reproduce it:

Firefox 64.0 Quantum logging into to https://restarters.net/dashboard

Failed login

Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: moz-extension://77791197-ae00-44a4-bef1-7cfc57a92b98/dist/purplebox.js Source Map URL: purplebox.js.map[Learn More]

unreachable code after return statement[Learn More] js:87:1788

unreachable code after return statement[Learn More] js:147:462

unreachable code after return statement[Learn More] js:147:506

unreachable code after return statement[Learn More] js:147:462

unreachable code after return statement[Learn More] js:87:1788

unreachable code after return statement[Learn More] js:147:506

Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: moz-extension://77791197-ae00-44a4-bef1-7cfc57a92b98/dist/page_performance.js Source Map URL: page_performance.js.map[Learn More]

Loading failed for the <script> with source “https://www.google-analytics.com/analytics.js”. login:1:1

Loading failed for the <script> with source “https://www.google-analytics.com/analytics.js”. login:1:1

Followed immediately by: Successful login

Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: moz-extension://77791197-ae00-44a4-bef1-7cfc57a92b98/dist/purplebox.js Source Map URL: purplebox.js.map[Learn More]

unreachable code after return statement[Learn More] js:87:1788

unreachable code after return statement[Learn More] js:147:462

unreachable code after return statement[Learn More] js:147:506

unreachable code after return statement[Learn More] js:147:462

unreachable code after return statement[Learn More] js:87:1788

unreachable code after return statement[Learn More] js:147:506

Loading failed for the <script> with source “https://www.google-analytics.com/analytics.js”.

dashboard:1:1

Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: moz-extension://77791197-ae00-44a4-bef1-7cfc57a92b98/dist/page_performance.js Source Map URL: page_performance.js.map[Learn More]

I have captured HAR files for both failed and successful login I can send you direct if they might be useful.


#6

Thanks @Ian_Barnard!

I can’t see anything there that immediately jumps out as being related to the restarters.net login. (It’s possible that the failed loading of another script might cause an issue further down the line, but I notice that the failed loading also occurred on your successful login attempt.)

If you could send the HAR files to me that would be very helpful, they might contain some extra info that could be of use, thanks a lot :slight_smile:

Another thought is whether you have any javascript blockers enabled. It seems unlikely this would be the issue, if it is only occurring sporadically, but worth checking at least (fresh in my mind from a different issue reported by Andy)


#7

At the moment, the only blocker I use is Ka-Block! and some recipes in the userContent.css (originally based on FloppyMoose).


#8

The only error I can see is:

Content blocker prevented frame displaying https://restarters.net/dashboard from loading a resource from https://www.googletagmanager.com/gtag/js?id=UA-46050944-1

I wonder if it may be indirectly related to this resource loading problem. When I checked the console. I noticed that I was eventually logged in. So it is possible the issue is one of reentry, i.e.,

  1. I try to login
  2. The site is trying to load that resource. Not seeing that and not being logged, I reenter my user id/password and try to login again
  3. Repeat 1 and 2 until the timing is just right and I log in

Don’t know if that’s really what happens but that would match my experience.


#9

I have an AdBlock on my tomato router which is normally enabled - didn’t seem to make any difference to iPad login problems when I disabled it. Firefox on laptop has Ghostery installed but trusting restarters.net didn’t make any difference.


#10

Some more info:

a) If I try to enter my login/password and press return just after the login page is loaded, then the login fails.

b) If I load the page, enter my login/password, then wait for a few seconds before pressing return (or clicking the login button) I am logged in and redirected to the dashboard.

That clearly indicates that something happens in the background, which could well be timing out on the loading of an unnecessary script, that is preventing the logging to work.

I noticed another issue which may or may not be related. I’ll include it here, but @neil if it’s unrelated feel free to separate it:

c) After a successful login I’m redirected to the dashboard. If I then click the ‘Welcome to the Restarters Community’ link in the ‘Discussion forum’ box on the top left of the page, I do end up on the Discourse page as expected. However I appear to not be logged in, and at the I’m offered to ‘Log In’. If I navigate to any other page, rather than clicking ‘Log in’, I’m still in the same situation that I appear logged out. However, if I click ‘Log in’, I’m automatically and instantly logged in, without having to reenter my credentials. So it looks like the state machine for the SSO has a bug where you can end up in a state where you’re not quite logged in (the log in button appears and the page is not personalised), but not quite logged out either (as clicking on the log in button is enough to be logged in without reentering credentials).


#11

On my laptop Brave, I tried stopping my frenzied (well, not exactly, let’s tone that down to ‘repeated’) clicking on Login, took a deep breath, waited five seconds then calmly clicked Login and it worked.

But then while still sat at desk I picked up my iPad and Brave was still logged in, which hasn’t happened before. Then while trying to find this topic on iPad, my laptop showed a dialog ‘you are logged out’, and when I logged back in on laptop the iPad seemed to log out. So something has changed and seems a lot better.

So I don’t know if you’ve changed something consciously/deliberately, or accidentally, or at all, @neil but for me the login seems to be working at the moment.