Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.88k stars 528 forks source link

After a few days, AMT devices appears down in Meshcentral #4856

Open Poulpatine opened 1 year ago

Poulpatine commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to MeshCentral home page
  2. See your devices in unknown state whereas you can reach them with MeshCommander or directly.

Expected behavior Unreachable devices should be greyed out, reachable devices should appears as "AMT, Powered".

When the devices are down in MeshCentral we can still reach them with MeshCommander or directly on their embedded web-ui. AmtInfo is still responding when launched from OS. But it's impossible to have them back on MeshCentral interface.

Screenshots Screenshot 2022-12-15 at 14-51-59 MeshCentral

Screenshot 2022-12-15 at 14-48-40 uwb-ci-bench-002 - Backend - MeshCentral

If applicable, add screenshots to help explain your problem.

Server Software (please complete the following information):

Client Device (please complete the following information):

Remote Device (please complete the following information):

Additional context We have also another issue where AMT devices are unreachable after a few weeks. 16992/16993 are not even reachable anymore.

Your config.json file

{
  "$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
  "settings": {
    "plugins":{"enabled": false},
    "mongoDb": "mongodb://mongodbadmin:<REDACTED>@mongodb:27017",
    "WANonly": false,
    "LANonly": true,
    "sessionKey": "<REDACTED>",
    "port": 80,
    "redirPort": 0,
    "aliasPort": 443,
    "AgentPong": 300,
    "TLSOffload": true,
    "SelfUpdate": false,
    "AllowFraming": false,
    "WebRTC": false,
    "autoBackup": {
      "mongoDumpPath": "/usr/bin/mongodump",
      "backupIntervalHours": 24,
      "keepLastDaysBackup": 31,
      "backupPath": "/opt/meshcentral/meshcentral-backup",
      "zipPassword": "<REDACTED>"
    }
  },
  "domains": {
    "": {
      "title": "MeshCentral",
      "title2": "<REDACTED>",
      "minify": true,
      "newAccounts": true,
      "newAccountEmailDomains": [ "<REDACTED>" ],
      "orphanAgentUser": "<REDACTED>",
      "userNameIsEmail": true,
      "localSessionRecording": false
      }
    }
  }

Traefik configuration

  labels:
      - "traefik.enable=true"
      - "traefik.http.routers.meshcentral.entrypoints=web"
      - "traefik.http.routers.meshcentralsecure.entrypoints=websecure"
      - "traefik.http.routers.meshcentral.rule=Host(`meshcentral.<REDACTED>`)"
      - "traefik.http.routers.meshcentralsecure.rule=Host(`meshcentral.<REDACTED>`)"
      - "traefik.http.routers.meshcentral.middlewares=redirect-to-https"
      - "traefik.http.routers.meshcentralsecure.tls.certresolver=letsencrypt"
      - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
bravery-only commented 1 year ago

I also have this problem. This problem is mostly on mini cases that support Intel® AMT. The service runs, but the agent does not go online!!! When the agent service is restarted, it connects, but the system shuts down, and the Agentis offline again Intel® AMT

silversword411 commented 1 year ago

It's traefik, where's the websocket support?

Poulpatine commented 1 year ago

I also have this problem. This problem is mostly on mini cases that support Intel® AMT. The service runs, but the agent does not go online!!! When the agent service is restarted, it connects, but the system shuts down, and the Agentis offline again Intel® AMT

I forgot to precise that we are not using agent, only AMT.

scrav42 commented 1 year ago

+1 We're experiencing the same issue with a couple of Intel NUC devices that are AMT capable. The devices are accessible if they're rebooted, but end up appearing offline later. No issue accessing them using MeshCommander.

dinger1986 commented 9 months ago

AMT @si458