mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[GH-ISSUE #8] mesh logintoken not working in docker #1
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wh1te909 on GitHub (Apr 11, 2020).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/8
The following does not work when running in docker since meshcentral is running in it's own container and the api doesn't have access to it, therefore remote desktop, terminal and file browser are not working.
github.com/wh1te909/tacticalrmm@a79775c8af/api/tacticalrmm/agents/views.py (L121-L128)@sadnub commented on GitHub (Apr 11, 2020):
This is interesting. I checked through the MeshCentral docs and code and don't really see an API to add these from an external system. I might have missed something though. We might be able to make an addon package to be able to call an endpoint to create the token. The only other thing I could think was to add the fields directly into MongoDB. I think in another issue you suggested creating a separate MongoDB instance to be able to support more clients. So that might work to fix both of those issues.
@sadnub commented on GitHub (Apr 11, 2020):
I actually found this:
https://github.com/Ylianst/MeshCentral/issues/59
Looks like you can get a login token remotely.
@wh1te909 commented on GitHub (Apr 13, 2020):
Awesome thanks for finding that! Used it to fix the issue.