-
-
Notifications
You must be signed in to change notification settings - Fork 964
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
HBIP check hangs when connection is slow or ends with a network error #261
Comments
Thanks, I'll investigate. Is the |
@aeneasr yes that is the last message |
The problem seems to be due to the containers not having direct access to internet in my installation (I am trying to do a demo for my enterprise). Maybe there is some service that validates the password against a common password database and requires internet access? Running the quickstart again on a clean digitalocean droplet seems to solve the problem. Everything is working |
Ahh yeah, that is definitely the problem! We're using the Have I Been Pwnd API to check the (obfuscated of course) password and see if it has already been leaked before. I though we had a failsafe that covers cases like yours but it appears that the retry is running too long. Nice find, I was just about to say that I can't reproduce your issue :) |
@aeneasr is there any way to disable this, and any other features that require network calls, in the Kratos config? I’d like to be able to control/inventory the external calls being made from services for whitelisting. |
It can't be disabled but the current setup ignores network errors: 735b435#diff-81086275e5192de90683a5cb302f8d52R64 |
Running the quickstart at https://www.ory.sh/docs/next/kratos/quickstart I cannot login.
Reproducing the bug
I run the kratos quickstart
the docker containers are up and I see the logs on the console
I try to register a new account at http://127.0.0.1:4455/auth/registration?request=45057136-d6fc-4e5c-aef1-9df5e54b2658
I click sign-up and the browser hangs indefinitely.
the call to http://127.0.0.1:4455/.ory/kratos/public/self-service/browser/flows/registration/strategies/password?request=45057136-d6fc-4e5c-aef1-9df5e54b2658 wait forever for a response
Server logs
The text was updated successfully, but these errors were encountered: