Hello, I’m having issues with my instance. Everything is working fine, except when I try to log in in these few instances:
- Using a password manager (I have to clear out and type in my username, some sort of validation logic?)
- Mobile Web, haven’t been able to log in at all here. Again I paste in my password
- Jerboa, haven’t been able to log in once here.
Each time I get a nice HTTP WARN message in my logs that doesn’t give me much info except for “password incorrect” - but I use the same password on desktop.
lemmy-lemmy-1 | 2023-06-05T18:46:41.807868Z WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: password_incorrect: password_incorrect
lemmy-lemmy-1 | 0: lemmy_api::local_user::login::perform
lemmy-lemmy-1 | with self=Login { username_or_email: Sensitive, password: Sensitive }
lemmy-lemmy-1 | at crates/api/src/local_user/login.rs:17
lemmy-lemmy-1 | 1: lemmy_server::root_span_builder::HTTP request
lemmy-lemmy-1 | with http.method=POST http.scheme="http" http.host=poptalk.scrubbles.tech http.target=/api/v3/user/login otel.kind="server" request_id=d4af82df-c108-4f70-93e6-aec712735499 http.status_code=400 otel.status_code="OK"
lemmy-lemmy-1 | at src/root_span_builder.rs:16
lemmy-lemmy-1 | LemmyError { message: Some("password_incorrect"), inner: password_incorrect, context: "SpanTrace" }
lemmy-lemmy-1 | 2023-06-05T18:46:41.807905Z INFO actix_web::middleware::logger: 172.31.0.6 "POST /api/v3/user/login HTTP/1.1" 400 30 "-" "okhttp/5.0.0-alpha.11" 0.281977
Any ideas what may be causing this?
Edit: As @PirateSaysAye@sh.itjust.works says, login will fail if you have too long of a password. I was using a 64 character random password, I brought it down to a shorter password and everything started working perfectly
I think the admin_username, admin_password stuff in lemmy.hjson is only for the initial setup. It’s not needed after that. I don’t have those entries in my lemmy.hjson.
That’s good to know, I may just remove that block completely from my config