MeshCentral
MeshCentral copied to clipboard
No switches are displayed when adding a Web Power Switch
Describe the bug No switches are displayed when adding a Web Power Switch.
To Reproduce Steps to reproduce the behavior:
- add "ipkvm": true to the config.json file
- add new group
- select IP-KVM / Power device
- select Model, web power switch 7
- enter the hostname (IP address), username and password
Expected behavior Be able to view and control a web power switch.
Screenshots
Server Software:
- Virtualization: Docker using image uldiseihenbergs/meshcentral:1.0.41
- Network: Hybrid mode with SSL offload using Traefik 443 -> 4430
- Version: 1.0.41
- Node: Docker image is packaged with 14.19.3
- Browser: Safari
Remote Device:
- Device: Web Power Switch Pro https://www.digital-loggers.com/pro.html
- Version: 1.11.14.0
Additional context Tried this on two MeshCentral servers, both using the same docker image and neither displayed any switches. Only using MeshCentral to access vPRO desktops, and that functionality is working properly. Do not have any agents, MeshCmd or Routers installed.
There are no errors in the console logs for the docker container nor the My Events tab in MeshCentral.
The web power switch is on a different subnet than the MeshCentral server and routing to the subnet works properly as I am able to ping the web power switch from the MeshCentral docker container.
Your config.json file
{
"settings": {
"cert": "redacted",
"port": 4430,
"aliasport": 443,
"redirport": 800,
"tlsoffload": "127.0.0.1"
},
"domains": {
"": {
"certUrl": "https://redacted:443/",
"agentConfig": [ "webSocketMaskOverride=1" ],
"ipkvm": true
}
}
}
Interesting, I will need to look at this. Once you add the web power switch, MeshCentral should query it and add 8 devices into that group, 1 for each switch.
can you maybe try creating a new docker image with the latest Node LTS 16.16.0 and meshcentral 1.0.60?
OR
try the new automated docker image builds? docker pull ghcr.io/ylianst/meshcentral:1.0.60
@si458 tested with the image ghcr.io/ylianst/meshcentral:1.0.60 and completely wiped the MeshCentral database. Although it uses the new MeshCentral and node version, the switch ports do not appear. However, Traefik SSL offload and vPRO to the desktops appears to work correctly.
@mwolter805 doh sorry about that!
The image you where using is a community made one so its different to the one included with meshcentral now
Glad you have other issues fixed tho
But still weird you have this problem with the ipkvm?
I'll get @Ylianst to have a look for you
@si458 no worries and vPRO and Traefik worked with the community docker image. Wanted to let you know it worked with the new image as well.
@Ylianst Thanks for looking into this. Not super critical to have the web power switch in MeshCentral, but it would be nice. Still have access to the WPS web GUI and can do everything from there until this is resolved.