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

Continuous Logout Loop Issue After Login #6125

Closed
calas80 opened this issue May 25, 2024 · 6 comments
Closed

Continuous Logout Loop Issue After Login #6125

calas80 opened this issue May 25, 2024 · 6 comments
Labels

Comments

@calas80
Copy link

calas80 commented May 25, 2024

Describe the bug
From one day to the next, I encountered this problem: Whenever anyone tries to log in, after entering their credentials, the disconnection page appears (the same page that appears when you click on "logout"). I have tried dozens of times, but this results in an infinite loop. My MeshCentral is running in an LXC on Proxmox. I tried restoring a backup from a few days ago, and everything works for about an hour, then the problem reappears identically.

Nothing has changed on my server (at least that I am aware of). I have tried both the stable version and the latest version, but the result is the same. I also tried creating a new LXC from scratch and restoring the MeshCentral configuration backup, but the problem still persists. The only unusual thing I've noticed is that the CPU is now much more occupied compared to all the other times I've checked. I don't know what to do.

Server Software (please complete the following information):

  • OS: Debian
  • Virtualization: Proxmox
  • Network: LAN
  • Version: 1.1.0 and 1.1.23
  • Node: ??
@calas80 calas80 added the bug label May 25, 2024
@si458
Copy link
Collaborator

si458 commented May 25, 2024

Ur didn't share ur config.json.
I know the is a current bug with 1.1.23 which the min u login can cause meshcentral to crash over and over.
But the 1.1.0 stable was released last year I believe.

@calas80
Copy link
Author

calas80 commented May 25, 2024

Ur didn't share ur config.json. I know the is a current bug with 1.1.23 which the min u login can cause meshcentral to crash over and over. But the 1.1.0 stable was released last year I believe.

Sorry, I didn't think it was necessary since I haven't modified anything and the problem occurs even with the stable version.

{
   "settings": {
      "cert": “xxxxxxxxxxx”, 
      "port": 443, 
      "redirport": 80, 
      "_minify": true, 
      "selfupdate": true, 
      "allowhighqualitydesktop": true
   }, 
   "domains": {
      "": {
         "title": "Assistenza Remota", 
         "title2": "Computers Service", 
         "welcometext": "A cura di Francesco Calamita", 
         "welcomepicture": "CS.png", 
         "titlepicture": "title.png", 
         "newaccounts": false, 
         "agentcustomization": {
            "displayName": "Assistenza Remota", 
            "description": "assistenza remota", 
            "companyName": "Assistenza", 
            "serviceName": "CS Assistenza Remota", 
            "fileName": "CS - Teleassistenza", 
            "icon": "cs.ico", 
            "image": "CS.png", 
            "installText": "Clicca su INSTALLA per permettere all\u0027operatore di prestarti la migliore assistenza possibile. Oppure clicca su CONNETTI per consentire l\u0027accesso una tantum"
         }, 
         "branding": {
			"icon": "cs.ico"
         }, 

		 "agentfileinfo": {
            "icon": "cs.ico", 
            "filedescription": "Agente per Assistenza Remota", 
            "legalcopyright": "Assistenza", 
            "originalfilename": "Assistenza Remota", 
            "productname": "Assistenza Remota"
         },
         "assistantCustomization": {
            "title": "Remote - Richiesta supporto", 
            "image": "CS.png", 
            "filename": "Remote Ticket"
         }
   }, 
	"letsencrypt": {
		"email": "info@cxxx.it",
		"names": "assist.it",
		"rsaKeySize": 3072,
		"production": false
	  }
      
   }
}

@calas80
Copy link
Author

calas80 commented May 25, 2024

The problem occurs exactly after one hour.

@si458
Copy link
Collaborator

si458 commented May 25, 2024

a few things you can try:

  1. branding isnt a valid json object for config.json so remove it
  2. remove selfupdate or set selfupdate: false this stops meshcentral checking for updates every hour,
    then trying to auto update if a new update is available
  3. the is a BUG in the latest 1.1.23 which you might be hitting
    Updated from 1.22 to 1.23 and Now Crashing from meshuser.jsL821 realname #6121
    ERROR NEW UPDATE 1.1.23 #6118
    so the fix is to follow this step to patch the bug ERROR NEW UPDATE 1.1.23 #6118 (comment)
    OR use the master docker image
    OR install from the master branch npm install Ylianst/MeshCentral

@si458
Copy link
Collaborator

si458 commented May 25, 2024

plz can u also try 1.1.24 as this has this patch included

@calas80
Copy link
Author

calas80 commented May 27, 2024

a few things you can try:

  1. branding isnt a valid json object for config.json so remove it
  2. remove selfupdate or set selfupdate: false this stops meshcentral checking for updates every hour,
    then trying to auto update if a new update is available
  3. the is a BUG in the latest 1.1.23 which you might be hitting
    Updated from 1.22 to 1.23 and Now Crashing from meshuser.jsL821 realname #6121
    ERROR NEW UPDATE 1.1.23 #6118
    so the fix is to follow this step to patch the bug ERROR NEW UPDATE 1.1.23 #6118 (comment)
    OR use the master docker image
    OR install from the master branch npm install Ylianst/MeshCentral

a few things you can try:

  1. branding isnt a valid json object for config.json so remove it
  2. remove selfupdate or set selfupdate: false this stops meshcentral checking for updates every hour,
    then trying to auto update if a new update is available
  3. the is a BUG in the latest 1.1.23 which you might be hitting
    Updated from 1.22 to 1.23 and Now Crashing from meshuser.jsL821 realname #6121
    ERROR NEW UPDATE 1.1.23 #6118
    so the fix is to follow this step to patch the bug ERROR NEW UPDATE 1.1.23 #6118 (comment)
    OR use the master docker image
    OR install from the master branch npm install Ylianst/MeshCentral

The first two points have already solved the problem. Thank you so much, you saved me from a bad situation.

@calas80 calas80 closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants