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

unable to login #257

Closed
rolikeusch opened this issue Aug 15, 2022 · 3 comments
Closed

unable to login #257

rolikeusch opened this issue Aug 15, 2022 · 3 comments

Comments

@rolikeusch
Copy link

I'm not able to login in to v 0.5.0, well I can login but after a successful login I get endless redirects. if I start warpgate in the foreground I see only this:

06:30:55 INFO Warpgate version=0.5.0 06:30:55 INFO Using config: "/etc/warpgate.yaml" (users: 1, targets: 1, roles: 1) 06:30:55 INFO -------------------------------------------- 06:30:55 INFO Warpgate is now running. 06:30:55 INFO Accepting SSH connections on 0.0.0.0:2222 06:30:55 INFO Accepting HTTP connections on https://warpgate:8888 06:30:55 INFO -------------------------------------------- 06:30:55 INFO Listening address=0.0.0.0:2222 06:30:55 INFO Listening address=warpgate:8888 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/assets/gateway.e9b0efd6.js status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/assets/gateway.55661b15.css status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/assets/Logo.081db3d4.css status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/assets/Alert.273812d1.js status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/assets/Logo.a5b40f23.js status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/assets/api.af344ead.js status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK 06:31:35 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/sso/providers status=200 OK 06:31:35 WARN HTTP: Request failed method=GET url=https://warpgate:8888/@warpgate/api/auth/state status=404 Not Found 06:31:40 INFO HTTP: Authenticated username=admin 06:31:40 INFO HTTP: Request method=POST url=https://warpgate:8888/@warpgate/api/auth/login status=201 Created 06:31:40 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/auth/state status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/sso/providers status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/sso/providers status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/auth/state status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/sso/providers status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/auth/state status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/auth/state status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/sso/providers status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/auth/state status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/sso/providers status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/auth/state status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/sso/providers status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin 06:31:41 INFO HTTP: Request method=GET url=https://warpgate:8888/@warpgate/api/info status=200 OK session=af2d4de4-8d86-40b7-ba58-07076b5e0469 session_username=admin

@Eugeny
Copy link
Member

Eugeny commented Aug 15, 2022

@rolikeusch
Copy link
Author

rolikeusch commented Aug 15, 2022

  • no this did not help. also used 3 different browser. on my Mac safari and chrome and on a linux client the edge browser (this was the first time that I connected to warpgate on this client)
  • when I open this link I see:
    {"authorized_via_ticket":false,"external_host":"warpgate","ports":{"http":null,"mysql":null,"ssh":null},"selected_target":null,"username":null,"version":"0.5.0"}

Eugeny added a commit that referenced this issue Aug 15, 2022
Eugeny added a commit that referenced this issue Aug 15, 2022
@Eugeny
Copy link
Member

Eugeny commented Aug 15, 2022

Fixed in v0.5.1!

@Eugeny Eugeny closed this as completed Aug 15, 2022
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