mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-27 07:25:56 +03:00
[GH-ISSUE #963] Agent error connectex #2526
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#2526
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 @iarellano24 on GitHub (Feb 1, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/963
Hi, i have an error with agent when i install it on windows 10.
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
I downloaded the agent from the platform frontend, but I can't install the app on any device. I followed the instructions in the official documentation without making any mistakes in DNS and domains or opening ports.
Screenshots

CMD:
ERROR:

@dinger1986 commented on GitHub (Feb 1, 2022):
Please fill in some information about the issue you are having although most likely this is a support issue so might be better on GitHub discussions or #support on discord
@iarellano24 commented on GitHub (Feb 1, 2022):
Sorry now is ok.
@dinger1986 commented on GitHub (Feb 1, 2022):
can you try these commands
https://wh1te909.github.io/tacticalrmm/troubleshooting/#testing-network-connectivity-between-agent-and-server
@iarellano24 commented on GitHub (Feb 1, 2022):
Ok, i try.
only port 4222 throws me an error.
server:
@dinger1986 commented on GitHub (Feb 1, 2022):
Ok and if you ping that dns address do you get a reply?
@wh1te909 commented on GitHub (Feb 1, 2022):
please also paste the output of this command:
@iarellano24 commented on GitHub (Feb 1, 2022):
@iarellano24 commented on GitHub (Feb 1, 2022):
@dinger1986 commented on GitHub (Feb 1, 2022):
Have you opened port 4222?
@dinger1986 commented on GitHub (Feb 1, 2022):
Are you using custom ssl?
@iarellano24 commented on GitHub (Feb 1, 2022):
Yest. Its open.
Nop, it was a clean install. but after installation, all links show an ssl error anyway.
@dinger1986 commented on GitHub (Feb 1, 2022):
Ok so it's not working then.
Did you verify the TXT record? It looks like it failed.
@iarellano24 commented on GitHub (Feb 1, 2022):
Yes. We add the txt record and it works.
Thanks a @wh1te909 in this thread, we know that the nats.service is stopped, so we understand that the problem may be there. We already restarted the nats.service but the problem persists. So what can we do?
We try solve this with docs, but when we try get output using this line
nats-server -DVV -c /rmm/api/tacticalrmm/nats-rmm.conf
we have this result:
@wh1te909 commented on GitHub (Feb 1, 2022):
rms.above.clis that your subdomain or root domain?@dinger1986 commented on GitHub (Feb 1, 2022):
Nats doesn't work without a genuine SSL certificate and yours doesn't appear to have installed properly.
@dinger1986 commented on GitHub (Feb 1, 2022):
If you click on the ssl error and show the cert details that would be helpful
@silversword411 commented on GitHub (Feb 1, 2022):
Looks like you're using cloudflare, you know you can't proxy nats right?
https://wh1te909.github.io/tacticalrmm/troubleshooting/#using-cloudflare-dns
@dinger1986 commented on GitHub (Feb 1, 2022):
But SSL isn't working anyway, maybe it's proxied so should be using cloudflare SSL
@silversword411 commented on GitHub (Feb 1, 2022):
From public looks ok. Must be something else going on in the network from their screenshots
@dinger1986 commented on GitHub (Feb 1, 2022):
The url is api.rms.above.cl for api
@iarellano24 commented on GitHub (Feb 1, 2022):
@silversword411 @dinger1986 @wh1te909
Ok, the ssl issue was fixed.
The error occurs because the "Nginx Full" ports were not enabled in the execution of the script, for this reason it was not possible to verify the SSL configuration, however, the nats.service problem continues.
@silversword411 the cloudflare configuration is the same as in the documentation.
@dinger1986 commented on GitHub (Feb 1, 2022):
So is your api record? api.rms.above.cl?
@silversword411 commented on GitHub (Feb 1, 2022):
Sounds like you're running a proxy. You should discuss in the discord #unsupported channel
https://discord.gg/bHcCxEfCnV
@silversword411 commented on GitHub (Feb 1, 2022):
Looks like LE certs are in nginx, just not loaded in nats
update --forcerun to make sure certs are everywhere?@dinger1986 commented on GitHub (Feb 1, 2022):
What's the folder under /etc/letsencrypt/live? I'm guessing it's not /etc/letsencrypt/live/rms.above.cl?
@silversword411 commented on GitHub (Feb 4, 2022):
Post if there are issues still, I think you may have found your problem