Giter VIP home page Giter VIP logo

Comments (16)

jsastriawan avatar jsastriawan commented on August 17, 2024

Hi Armando, potentially the agent for the offending device could not register its capabilities properly. Most likely the agent failed to execute meshcore.js.

Do you have the content of meshagent.log? (Located at the same location as MeshAgent.exe).

from meshcentral.

Armando817 avatar Armando817 commented on August 17, 2024

jsastriawan, thank you for your response. I need to get over to that machine to check...as I can't remote in quite yet. ; ) I will post the contents as soon as I can. Thank you very much.

from meshcentral.

Armando817 avatar Armando817 commented on August 17, 2024

hrmm...no log file there.

Only: .exe, .msh, .db

???

from meshcentral.

Armando817 avatar Armando817 commented on August 17, 2024

I found this in one of the system logs:
The Mesh Agent background service is marked as an interactive service. However, the system is configured to not allow interactive services. This service may not function properly.
Could this be the problem..sorry..this is all new to me...Its a Win 10 machine.

from meshcentral.

nicrame avatar nicrame commented on August 17, 2024

I've got similar problem, but with Windows 7 PC. I'll check system logs, if there is similar info.
Edit: Yes, i have found similar message in my Windows logs.
Edit2: I've fixed error message by setting to automatic start, and running Application Information service (Appinfo). But even then after reboot, and reinstalling mesh client there is still problem with options missing.

from meshcentral.

lee3521 avatar lee3521 commented on August 17, 2024

I have the same problem, however, it only seems to be related to the Windows computers in my mesh. I get all of the proper menu options at the top of the screen when viewing details of a Linux computer.

When I click on the computer device in the mesh list, viewing the details of the Windows computer, my menu options in the menu bar at the top of the screen are:
My Devices, My Account, My Events, My Files, My Users

General, Events, Console

If I right click on the Windows computer in the list of computers instead of left clicking on the computer, I get a menu with the following options:
Information, Terminal, Desktop, Files, Events, Console

Is there a reason that the menu options Information, Terminal, Desktop, and Files do not appear at the top of the screen when I left click to display the individual computer?

I also have some Linux computers in my mesh. When I left click on a Linux computer, I am able to see all of the proper menu options at the top of the screen in the menu bar.

I wonder if this has something to do with me running the mesh-central server on a Linux box as all of the options show up when connecting to a Linux box, but not when connecting to a Windows box.

from meshcentral.

Ylianst avatar Ylianst commented on August 17, 2024

Interesting. The MeshAgent.exe is not very smart, once it connects back to the server, we sends a bunch of JavaScript files to the agent (which is the brain of the agent, it's the file meshcore.js). This way, we can customize the agent without having to recompile the .exe.

Usually if you don't see the extra tabs, the meshcore.js was not pushed to the agent correctly. If you are administrator on the server, click on a device, then "Console" tab, then "Agent Action" button and you can clear and push the agent core again.

However, this should really all be automatic. I will setup more Linux testing.

from meshcentral.

nicrame avatar nicrame commented on August 17, 2024

Well, for me, the one Windows 7 box still do not have options, even i know there were work done for Windows 7 compatibility.
The only thing i found on that PC was this inside MeshAgent.log, but i'm not sure if it will help:
[2018-09-06 05:06:59 PM] FATAL EXCEPTION [MeshAgent_9795C7C9AA9F6985.exe] @ [FuncAddr: 0x000000013fa92006 / BaseAddr: 0x000000013fa8ea00 / Delta: -13830].

from meshcentral.

nicrame avatar nicrame commented on August 17, 2024

I must add something, that i discovered by accident. I tried to install newest agent few minutes ago, but i was too lazy to check results on the computer, so i loaded it on phone, and... I was excited! I could connect with desktop, and files!!! But when i came back to second computer, to turn off the first one... There are still options missing. So i was thinking, that it may be web browser problem, but there is same result with Firefox 63, Chrome 63, and Internet Explorer 11. So it must be something different. I hope it may be good hint into resolving that problem.
No options on the PC
screenshot_2018-09-17-23-11-39-482_com android browser
screenshot_2018-09-17-23-11-54-911_com android browser
screenshot_2018-09-17-23-12-19-616_com android browser

from meshcentral.

nicrame avatar nicrame commented on August 17, 2024

Ok, so i made another test with my Windows 7 PC, and i tried to use right mouse button on the icon from another PC, to try desktop, terminal and files. And everything was working fine! Even there are still no options like Desktop/Terminal/Files when i click directly on the PC icon with left mouse button.

So i'm wondering, maybe it's not problem with OS itself, but the way it communicates with the server, and how MeshCentral show it. Or maybe right mouse button options are just skipping some checking if things should be accessible (it would mean checking got errors, even when things working fine). I also found another error but i will make another topic about it.

Just another error from MeshAgent.log:
[2018-09-17 11:49:54 PM] FATAL EXCEPTION [MeshAgent_AAEBD3C1818F206B.exe] @ [FuncAddr: 0x000007fefd3a85d6 / BaseAddr: 0x000000013f75eb20 / Delta: -8786391898806]
[GetOverlappedResult]

from meshcentral.

Ylianst avatar Ylianst commented on August 17, 2024

Just published MeshCentral v0.2.0-u on NPM with a critical fix for Windows7. After you update the server, you may need to stop the agent on the Windows7 machine and delete the "meshagent.db" file (in program files/meshagent") and start the agent again. The bug caused the MeshAgent to lockup on Win7 and not work at all.

from meshcentral.

nicrame avatar nicrame commented on August 17, 2024

So i updated central (server), then stopped service (agent) on PC box, deleted .db file, and started again. The result is that i still do not have more options in the upper menu in central gui, but also do not have options to connect with right mouse button. I think, it would better to leave those options to stay when they did work :) It's worse now (and of course, no .log file again).

zrzut ekranu 99
zrzut ekranu 100

from meshcentral.

Ylianst avatar Ylianst commented on August 17, 2024

We finally got to the bottom of this problem. On some computers with the Intel Management Engine but that don't have Intel AMT the MeshAgent is waiting forever to get the information about Intel AMT and never sends any capabilities to the server. We also have another threading issue on Windows to fix. So, I just published "MeshCentral v0.2.0-x" on NPM, you can go in the device's "console" tab and enter "sendcaps 15" to work around the issue for now. This will enable all menus for the device immediately.

This problem will only occur on some specific computers, hope to get a permanent fix in the next few days.

from meshcentral.

Ylianst avatar Ylianst commented on August 17, 2024

Just published MeshCentral v0.2.0-z on NPM with a fix for this problem.

from meshcentral.

jsastriawan avatar jsastriawan commented on August 17, 2024

Ouch... Yes I saw that issue if AMT probe failed on non AMT capable MEI. I didn't realize this come out again.

from meshcentral.

Ylianst avatar Ylianst commented on August 17, 2024

This problem is completely fixed in latest version of MeshCentral. Even if there is a problem detecting Intel AMT, the tabs will still show up correctly.

from meshcentral.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.