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

Tuple {:option, :server_only, :honor_cipher_order} being returned for error reason #144

Closed
keithpitty opened this issue Sep 23, 2019 · 2 comments

Comments

@keithpitty
Copy link

The application I'm supporting has OAuth authentication using two different authentication servers. Mysteriously, only in my development environment they have begun exhibiting unexpected behaviour.

When an attempt is made to get a token via OAuth2.Client.get_token/1, an error is returned with a tuple rather than a string for the reason. The value of the tuple is {:option, :server_only, :honor_cipher_order}. I haven't been able to find out why this is happening nor what the tuple means.

Any help would be appreciated.

@keithpitty
Copy link
Author

Discovered that this was caused by benoitc/hackney#591 following an upgrade on my machine to Erlang 22.1.

@BartOtten
Copy link

Can be fixed by updating the dep.

{:hackney, "~> 1.15 and >= 1.15.2"},

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

2 participants