hamsket icon indicating copy to clipboard operation
hamsket copied to clipboard

Can't access Gmail account because "This browser or app may not be secure"

Open SquareBottle opened this issue 3 years ago • 5 comments

Steps to reproduce

  1. Open Hamsket
  2. Try to go to Gmail account (or add a new one)
  3. Try to log in
  4. Get the "Couldn't sign you in: This browser or app may not be secure" error

Expected behavior

Expected it to log in like normal.

Actual behavior

Can't log in.

ENVIRONMENT

Hamsket: v0.6.3

OS: 12.2.1

Arch: x64 (Apple M1)

BuildVersion: aeb5a15 (grafted, HEAD, tag: nightly, origin/aeb5a154d4931b0d921ce4e5855d87adeca5cebd) Tue, 1 Mar 2022 16:06:12 -0800

Does this happen upstream: yes, no, unknown, or N/A

N/A

SquareBottle avatar Mar 02 '22 18:03 SquareBottle

How strange. That's what 026a1958 was supposed to fix.

There "shouldn't" be a way for it to race and fail to attach anymore, but I'm seeing exactly that on occasion.

I checked the Network tab locally, and I'm seeing requests for accounts.google.com properly getting the User Agent.

I double checked, and this is still what everything else is utilizing as a workaround.

TheGoddessInari avatar Mar 03 '22 12:03 TheGoddessInari

If you use gmail language setting other than English, try re-add service and set the language to English before you attempt a login. I don't know why, but that worked for me as a workaround.

ikenichiro avatar Mar 04 '22 15:03 ikenichiro

Indeed, I changed the language of the login page from "English (United States)" to "English (United Kingdoms)" and it worked like a charm !

flyingdutchman avatar Apr 01 '22 20:04 flyingdutchman

still happening in v0.6.3. it works after some time but after a lot of retrying and language changes. it should work at first time not aftter spending 10+ minutes on retries. it's even worse when having multiple accounts to add

k0d3r1s avatar Apr 13 '22 17:04 k0d3r1s

cee2f087 on the testing branch might fix this. I might upload a one-off pack to dropbox or something for Windows/Linux users who don't want to build themselves.

TheGoddessInari avatar Aug 06 '22 18:08 TheGoddessInari