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

Shkeeper logout redirection after login #87

Open
rtsyunel opened this issue Jan 14, 2025 · 6 comments
Open

Shkeeper logout redirection after login #87

rtsyunel opened this issue Jan 14, 2025 · 6 comments
Labels
priority/medium Important but not urgent; can be scheduled for a later release status/awaiting feedback Needs input from the author or another contributor before proceeding type/bug Something isn't working correctly or is broken

Comments

@rtsyunel
Copy link

rtsyunel commented Jan 14, 2025

Hello and thank you for this amazing tool.
My shkeeper is on k8s with connected VSYS fullnodes. On logging in it redirects me to login page again. Or sometimes I can see the dashboard after login but I'm getting redirected again on any next click. Dropping shkeeper-deployment pod temporary helps to fix this issue, but for some hours only.
Pod log:
10.1.50.170 - - [14/Jan/2025:08:28:07 +0000] "GET /api/v1/BTC/status HTTP/1.1" 302 199 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:07 +0000] "GET /api/v1/ETH/status HTTP/1.1" 302 199 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:07 +0000] "GET /api/v1/USDT/status HTTP/1.1" 302 199 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:07 +0000] "GET /login HTTP/1.1" 200 4471 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:07 +0000] "GET /login HTTP/1.1" 200 4471 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:07 +0000] "GET /login HTTP/1.1" 200 4471 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:16 +0000] "POST /login HTTP/1.1" 302 201 "https://dyn.22pay.business/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" 10.1.50.170 - - [14/Jan/2025:08:28:16 +0000] "GET /unlock HTTP/1.1" 200 4522 "https://dyn.22pay.business/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" 10.1.50.170 - - [14/Jan/2025:08:28:16 +0000] "GET /static/css/main.min.light.css HTTP/1.1" 304 0 "https://dyn.22pay.business/unlock" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" ││ 10.1.50.170 - - [14/Jan/2025:08:28:16 +0000] "GET /static/css/custom-main.light.css HTTP/1.1" 304 0 "https://dyn.22pay.business/unlock" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" ││ 10.1.50.170 - - [14/Jan/2025:08:28:16 +0000] "GET /static/images/vsys-logo.light.png HTTP/1.1" 304 0 "https://dyn.22pay.business/unlock" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" ││ 10.1.50.170 - - [14/Jan/2025:08:28:17 +0000] "GET /api/v1/USDT/status HTTP/1.1" 302 199 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:17 +0000] "GET /api/v1/BTC/status HTTP/1.1" 302 199 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:17 +0000] "GET /api/v1/ETH/status HTTP/1.1" 302 199 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /login HTTP/1.1" 200 4471 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /login HTTP/1.1" 200 4471 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /login HTTP/1.1" 200 4471 "https://dyn.22pay.business/wallets" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0" 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /wallets HTTP/1.1" 302 199 "https://dyn.22pay.business/unlock" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /login HTTP/1.1" 200 4474 "https://dyn.22pay.business/unlock" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /static/css/main.min.light.css HTTP/1.1" 304 0 "https://dyn.22pay.business/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" ││ 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /static/css/custom-main.light.css HTTP/1.1" 304 0 "https://dyn.22pay.business/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" ││ 10.1.50.170 - - [14/Jan/2025:08:28:18 +0000] "GET /static/images/vsys-logo.light.png HTTP/1.1" 304 0 "https://dyn.22pay.business/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"

And there's error from client's side, it doesn't appear after pod reload
Screenshot from 2025-01-14 09-33-33

Copy link

Official Statement from the SHKeeper Development Team

We would like to clarify that the SHKeeper development team consists solely of the following:

It is managed through our official GitHub account https://github.com/vsys-host

We NEVER:

  • Share or redirect users to unofficial or suspicious links.
  • Request private keys, funds, or other sensitive information.

If you encounter any comments, issues, or users claiming to represent SHKeeper and sharing external links or providing questionable support, please report them immediately. These individuals are not affiliated with the SHKeeper team.

For accurate information and official support, please refer only to:

Our GitHub account: https://github.com/vsys-host/shkeeper.io
Our official SHKeeper website: https://shkeeper.io/
Our official VSYS Host website: https://vsys.host/

Thank you for your understanding and vigilance.

SHKeeper Development Team

@dmytro-samoylenko
Copy link
Member

Hello,

Please let me know if you have chosen to use wallet encryption (during Shkeeper initial configuration) or not. Thanks.

@rtsyunel
Copy link
Author

@dmytro-samoylenko Hello. Yes, wallet encryption is configured

@dmytro-samoylenko
Copy link
Member

Hello,

The issue description make me think there is some problem with session handling. Might it be that you are running out of space on your server and it prevents from session files to be written on the disk? It also worth checking if the shkeeper-deployment pod has increasing restart counter (shkeeper deletes all session on app start).

@rtsyunel
Copy link
Author

Hello. I've dropped shkeeper-deployment pod 2 weeks ago and till this time everything was ok. And now I've got the same bug, but seems all logs are fine, volumes free space is enough too. The only I see is 304 redirects in logs

shkeeper-shkeeper-deployment.log

@dmytro-samoylenko
Copy link
Member

Please try to login using a different browser and let us know if the issue persists. If it does, we could build a shkeeper image with extensive logging around auth / session handling routines like https://github.com/vsys-host/shkeeper.io/blob/58a77299d68f421adc9644fee01a1e7025ff64f8/shkeeper/auth.py#L101C5-L101C24 to debug the issue.

@ikyslyi ikyslyi added type/bug Something isn't working correctly or is broken status/awaiting feedback Needs input from the author or another contributor before proceeding priority/medium Important but not urgent; can be scheduled for a later release labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/medium Important but not urgent; can be scheduled for a later release status/awaiting feedback Needs input from the author or another contributor before proceeding type/bug Something isn't working correctly or is broken
Projects
None yet
Development

No branches or pull requests

3 participants