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

[Bug]: account login and registration failure #2436

Open
1 task done
SansGuidon opened this issue Oct 28, 2024 · 4 comments
Open
1 task done

[Bug]: account login and registration failure #2436

SansGuidon opened this issue Oct 28, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@SansGuidon
Copy link

What did you expect to happen?

Account registration and login fails

This afternoon I did create an account and later during the day I've tried logging in and syncing another machine with this account, without success.
I've attempted to change the password, but that was not enough.
As a result, I've deleted my account (because no way to reset password).
Since then I'm attempting a new account registration, which fails all the time.
I've attempted the operation on a Linux Ubuntu 24.04 and on MacOs, in both cases I couldn't register an account.

What happened?

ads  atuin register
Registering for an Atuin Sync account
Please enter username: anythingwithwords
Please enter email: [email protected]
Please enter password:
Error: Invalid request to the service: 400 Bad Request - failed to add user.

Atuin doctor output

Atuin Doctor
Checking for diagnostics


Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.3.0",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "fish",
    "default": "fish",
    "plugins": [],
    "preexec": null
  },
  "system": {
    "os": "Darwin",
    "arch": "arm64",
    "version": "13.4",
    "disks": [
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      },
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@SansGuidon SansGuidon added the bug Something isn't working label Oct 28, 2024
@ellie
Copy link
Member

ellie commented Oct 28, 2024

Is this on a self hosted server? I can't see any records of a user called anythingwithwords on Atuin Cloud

@SansGuidon
Copy link
Author

I didn't disclose my real data here because I wanted to avoid hacks/spam (email etc), but it's not on a self hosted server. I mean I'm using the default atuin setup, which I assume is using the public server ? Am I mistaken, how can I check which server I'm connected to ? it is really my first day with atuin but I do not want yet to self-host.
Thank you for the feedback

@SansGuidon
Copy link
Author

I have more examples below, this time with dumb users and dumb emails

Sometimes it works sometimes not, are there any email domain restrictions or passwords/user formats restrictions ?

 ✘  ~/Downloads  atuin account register
Registering for an Atuin Sync account
Please enter username: totolehero
Please enter email: totolehero
Please enter password:
 ~/Downloads  atuin account delete
Your account is deleted
 ~/Downloads  atuin account register
Registering for an Atuin Sync account
Please enter username: fuzzyholanacho
Please enter email: [email protected]
Please enter password:
Error: Invalid request to the service: 400 Bad Request - failed to add user.

Location:
    /Users/runner/work/atuin/atuin/crates/atuin-client/src/api_client.rs:156:17
 ✘  ~/Downloads  atuin account register
Registering for an Atuin Sync account
Please enter username: fuzzyholanacho
Please enter email: [email protected]
Please enter password:
Error: Invalid request to the service: 400 Bad Request - failed to add user.

Location:
    /Users/runner/work/atuin/atuin/crates/atuin-client/src/api_client.rs:156:17
 ✘  ~/Downloads  atuin account register
Registering for an Atuin Sync account
Please enter username: totolehero
Please enter email: [email protected]
Please enter password:
Error: Invalid request to the service: 400 Bad Request - failed to add user.

Location:
    /Users/runner/work/atuin/atuin/crates/atuin-client/src/api_client.rs:156:17

@SansGuidon
Copy link
Author

It seem that after a few more attempts, tries and errors with same usernames, passwords and emails but sometimes typed manually, sometimes pasted, I could finally login (but I had to obtain my key from another terminal). Maybe are there any timeouts in the process, anyway I believe the whole onboarding/login flow was confusing :) ... at least dozen of attempts to be able to register/login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants