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

Login: 400 Bad request #942

Closed
dhenry123 opened this issue Sep 25, 2024 · 8 comments · Fixed by #944
Closed

Login: 400 Bad request #942

dhenry123 opened this issue Sep 25, 2024 · 8 comments · Fixed by #944
Assignees

Comments

@dhenry123
Copy link

Hi,
From 1.5.0, impossible to update to 1.5.1, on login, i got a response 400 bad request, tried to upgrade 1.5.0=>1.5.2 the same.
Platform is arm64 with binary package. The ingest process works

Best regards

@nitisht
Copy link
Member

nitisht commented Sep 25, 2024

What is the user here? Are you logging in as admin?

@dhenry123
Copy link
Author

yes and also tried changing env var (P_USERNAME && P_PASSWORD) at start, and i loosed my reports when i rolled back to 1.5.0 (not really a problem for my case).

@nikhilsinhaparseable
Copy link
Contributor

can you please open the network tab and check the API request and error response when you try login

@balaji-jr
Copy link
Contributor

balaji-jr commented Sep 25, 2024

In addition to that,

  1. Can you also post the failed /login network request URL as well (to verify the redirect URL which has been sent as query params)
  2. Or you can try removing the env vars completely and logging in with the default username and password admin & admin
  3. Would it be possible to check the .parseable.json where all the users' details have been saved?
    Could you verify that the user you are trying to log in exists? (In case if you are trying with a user created by you in the UI)

@dhenry123
Copy link
Author

i load the login page, set admin/admin (appears in the logs server) and click on the login button, ui send only one request https://[mydomain/api/v1/o/login?redirect=https://[mydomain] response is 400 Bad Request

I m behind a reverse proxy in charge to proceed httpS which works well with 1.5.0

@dhenry123
Copy link
Author

dhenry123 commented Sep 25, 2024

i ve just restarted the process after removing all data including .users .parseable, server start normally but impossible to log in with admin/admin as displayed in the log server i tried to use sso same response

@wendellrocha
Copy link

I'm experiencing the same issue. I'm behind an Nginx Proxy Manager instance using Cloudflare tunnels to expose it to the internet.
CleanShot 2024-09-26 at 08 23 46

Accessing by the IP, over HTTP works.
CleanShot 2024-09-26 at 08 27 46

@balaji-jr
Copy link
Contributor

Ty. @wendellrocha
This helps. We will fix this shortly.

@balaji-jr balaji-jr self-assigned this Sep 27, 2024
parmesant pushed a commit to parmesant/parseable that referenced this issue Oct 3, 2024
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

Successfully merging a pull request may close this issue.

5 participants