Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"failed to get authorize URL" #554

Closed
ghost opened this issue Aug 21, 2018 · 18 comments
Closed

"failed to get authorize URL" #554

ghost opened this issue Aug 21, 2018 · 18 comments

Comments

@ghost
Copy link

ghost commented Aug 21, 2018

Description

Login form doesn't show up after putting in the domain, fails with "failed to get authorize URL"

How To Reproduce

  1. enter deadinsi.de on the login
  2. press the button twice

Your Environment

  • OS: OS X
  • Whalebird Version: 2.1.1
  • Instance: deadinsi.de
@h3poteto
Copy link
Owner

I can reproduce it on deadinsi.de.
But I can not reproduce it on master branch of mastodon.
I don't know why faile to get authorize URL.

@ghost
Copy link
Author

ghost commented Aug 22, 2018

I'm running the last tagged version.

mastodon@web-0:~/live$ git status
On branch production
nothing to commit, working tree clean
mastodon@web-0:~/live$ git log
commit 7ac5151b74510aa82b07e349373bd442176e1e94 (HEAD -> production, tag: v2.4.3)
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Wed Jul 11 11:21:27 2018 +0200

    Bump version to 2.4.3

@ghost
Copy link
Author

ghost commented Aug 22, 2018

The only thing it seems to request that shows up in my log is api/v1/instance and I don't see anything different in the response from mastodon.social

@h3poteto
Copy link
Owner

Do you have any error logs?
May be the mastodon server says error logs.

@ghost
Copy link
Author

ghost commented Aug 23, 2018

I've checked the logs. There's only the call to the instance info API. Since the client is throwing an error you can probably get the source of that more easily through debugging.

@ghost
Copy link
Author

ghost commented Aug 25, 2018

I've checked logs again (nginx over puma/rails this time), this is the only thing from my IP when testing:

[redacted ipv6] - - [25/Aug/2018:03:35:25 +0200] "GET /api/v1/instance HTTP/2.0" 200 733 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Whalebird/2.1.0 Chrome/61.0.3163.100 Electron/2.0.7 Safari/537.36"

@h3poteto
Copy link
Owner

I can't understand why Whalebird says an error even though the response is success.

@justinmayer
Copy link

I am seeing the exact same problem on a [...].space domain with Whalebird 2.4.2. Other web clients, and also mobile clients, have no such problems and authenticate with this instance perfectly. There are no errors in the Mastodon app server logs or the Nginx logs. Unfortunate. 😞

@ghost
Copy link
Author

ghost commented Oct 22, 2018

I dug down into this issue debugging locally and it was node not getting along with a too strict TLS cipher suite.

@justinmayer
Copy link

That's super helpful to know. Thanks for digging into it and reporting back here with your findings.

Does Whalebird/Node not support modern TLS cipher suites? If not, why not?

@justinmayer
Copy link

I haven't tried Whalebird in a few months due to this problem, but after trying again with the latest version I am happy to report that for me this issue has been resolved as of Whalebird v2.7.0 (on macOS 10.13.6 connecting to a Mastodon v2.7.x instance). 🎉

@h3poteto
Copy link
Owner

Oh, that's good. Can I close this issue?

@justinmayer
Copy link

Yes, I think you can close this issue. If someone comes across the problem again in the future, they can comment here so you can potentially re-open the issue if needed.

Thank you for all your work on Whalebird, Akira. Much appreciated. 今後とも宜しくお願いします!

@EtaoinWu
Copy link

I encountered the same issue. I use Mastodon (v4.7.3.0 on Windows) to connect to pony.social, a mastodon instance running v4.0.2+glitch (glitch is a fork that provides "additional features at the risk of potentially less stable software" [from its doc]).

The reproduction procedure is identical to this issue. I am unfortunately not the maintainer of the instance and cannot provide server-side logs.

@EtaoinWu
Copy link

I encountered the same issue.

Oh wait, I actually encountered #3859. I use a socks5 proxy.

@M-Rick
Copy link

M-Rick commented Dec 21, 2022

Same issue for me on macOS Monterey and Whalebird 4.7.3. I cannot connect to mastodon.cloud and I use no proxy in any kind. No problem with the other Mastodon clients. I use the official Mastodon application on my iPhone and Hyperspace on my Mac.

@rafikiphoto
Copy link

rafikiphoto commented Jan 12, 2023

Same here Linux Mint 21.1, Whalebird 4.7.3, vivaldi.social. No proxy.

EDIT:Same problem on 4.7.4. I uninstalled 4.7.3 and installed the later version from the Snap Store but exactly the same error.

@HistoneVon
Copy link

Same here Linux Mint 20.3 x86_64, Whalebird 4.7.4, mastodon.social.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants