hydroxide icon indicating copy to clipboard operation
hydroxide copied to clipboard

Upgrade to new authentication API

Open emersion opened this issue 4 years ago • 18 comments

Investigate what the web client and official bridge use, and do the same.

Ref https://github.com/emersion/hydroxide/issues/181

emersion avatar Jul 22 '21 06:07 emersion

Didn't want to necrobump #181; I'm still experiencing the 9001 error with hydroxide 0.2.9 on Manjaro

nnhien avatar Jul 26 '21 21:07 nnhien

I'm also experiencing the error [9001] with version 0.2.20 on Debian.

DiscordiaMatrix avatar Aug 15 '21 21:08 DiscordiaMatrix

It's worth noting that if you get the login details incorrect enough times, you'll be given the 9001 error. What helped me was just to log into the webapp version, then do it again. Not saying that's a tried and true solution, just something to try.

Noodlez1232 avatar Aug 19 '21 17:08 Noodlez1232

As of today I'm getting these errors too. I haven't changed my config in months. Would a re-auth help?

brenthuisman avatar Jan 17 '22 13:01 brenthuisman

Hasn't worked for me in a couple of weeks now. I have reinstalled and trying hydroxide auth again, but get these errors: 2022/01/18 13:46:20 warning: failed to unlock key "[email protected]" [secret key]: openpgp: invalid data: private key checksum failure

tomoqv avatar Jan 18 '22 12:01 tomoqv

This is a different error. It means the private key passphrase is incorrect. Please make sure you're running the latest version of hydroxide.

emersion avatar Jan 18 '22 12:01 emersion

Ok, I had the old version running, but have recompiled to the new version now. But my mail client refuses to authorize the login and create the account. hydroxide serve tells me that listen tcp 127.0.0.1:8080 bind: address already in use

How can I clear the old login?

Edit: It seems to be working again! Not 100% sure what I did, but it fetches e-mails again.

tomoqv avatar Jan 18 '22 13:01 tomoqv

I've trashed my ~/.config/hydroxide/* and tried to re-auth, but that keeps giving me the 9001 error. What's strange is that my mobile client or a browser session from the same IP work fine. Switching my IP address also does not remove the 9001 error.

brenthuisman avatar Jan 18 '22 14:01 brenthuisman

listen tcp 127.0.0.1:8080 bind: address already in use

Just FYI, this is an indication that another aplication is already usimg that ip and port, likely another instance of hydroxide. You will need to kill that process first before starting hydroxide

user18130814200115-2 avatar Jan 18 '22 15:01 user18130814200115-2

Ok, thanks!

tomoqv avatar Jan 18 '22 15:01 tomoqv

I'm also getting 9001 error now on v0.2.21 built from source

faithanalog avatar Feb 28 '22 08:02 faithanalog

There is also https://github.com/ProtonMail/proton-python-client maybe it would make sense to use this?

dreamflasher avatar Mar 18 '22 23:03 dreamflasher

Hello when fixing this? any progress on this?

username0136 avatar Jun 20 '22 11:06 username0136

I have been using hydroxide for months (for years?) without any issue but suddenly since a few days, I get:

2022/06/23 21:14:08 request failed: POST https://mail.protonmail.com/api/auth: [9001] Login temporarily not permitted from your connection for security reasons, please try again later. Using a VPN may cause this error
2022/06/23 21:14:08 [9001] Login temporarily not permitted from your connection for security reasons, please try again later. Using a VPN may cause this error

An hydroxide update to the newest version did not help. What is going on?

syrphide avatar Jun 23 '22 19:06 syrphide

See https://github.com/emersion/hydroxide/issues/179

emersion avatar Jun 23 '22 19:06 emersion

Yes, it works for me, many thanks!

syrphide avatar Jun 23 '22 19:06 syrphide

Here too! Thanks!

brenthuisman avatar Jun 24 '22 07:06 brenthuisman

I am also getting the [9001] Login temporarily not permitted error when trying to use hydroxide, both with the 0.2.23 release and with the latest commit b11846d.

kira78 avatar Jun 25 '22 16:06 kira78