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]login can not and show message #1349

Open
hlshell opened this issue Oct 31, 2024 · 8 comments
Open

[BUG]login can not and show message #1349

hlshell opened this issue Oct 31, 2024 · 8 comments

Comments

@hlshell
Copy link

hlshell commented Oct 31, 2024

error_message": "Session reuse detected, IPAddress logged.", "errorMessage": "Session reuse detected, IPAddress logged."}

It will be displayed when you log in. If you successfully log in to the operation part of the page, the information will also pop up repeatedly and return to the login page. Unable to perform any operation on the panel
I used cloudflare for cdn port forwarding. Use IP: port can be accessed normally

abc.com:2083 cannot
127.0.0.1:2083 Sure

PVer:2.3.8

@NikVerse
Copy link

NikVerse commented Nov 1, 2024

Same issue for my server:

  1. I have CloudFlare setup with A & AAAA records Proxied and mail Non-Proxied
  2. IPv6 is enabled on CloudFlare and my server.
  3. My Local IP is static.
  4. I tried to update the file /usr/local/CyberCP/CyberCP/secMiddleware.py. On debugging ipAddr shows my server IP address instead of the visitor's IP. Hence, REMOTE_ADDR is getting used instead of HTTP_CF_CONNECTING_IP, resulting in a session error.

@n3fquick
Copy link

n3fquick commented Nov 3, 2024

same issue here..

@amanijoseph87
Copy link

Is this fixed i have same problem

@hlshell
Copy link
Author

hlshell commented Nov 11, 2024

@usmannasir 2.3.8Hasn't there been a repair plan for two weeks since it was released?

@hlshell
Copy link
Author

hlshell commented Nov 14, 2024

@NikVerse @n3fquick @amanijoseph87

you can test?
#1360

@NikVerse
Copy link

Hey @usmannasir, I tried to make these changes onto CyberCP/loginSystem/views.py. But that lead to 500 Internal Server Error.

@hlshell
Copy link
Author

hlshell commented Nov 28, 2024

Hey @usmannasir, I tried to make these changes onto CyberCP/loginSystem/views.py. But that lead to 500 Internal Server Error.

I tested it in version 2.3.9 and it's fine.
After changing the file, you need to execute the command in SSH:
systemctl restart lscpd

@matthesv
Copy link

Hey @usmannasir can you please deploy to stable?

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

5 participants