-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connexion problem #158
Comments
Hi, it seems that from Apollo's side your server is not accessible. It could be either the server's firewall blocking it, wrong IP address and/or ports are not correct. Try a port checker and see if you can connect to that server. |
i think the same, the firewall side apollo block the connexion, you have a default port define ? |
You need to expose Steam Query ports too: see all ports here. |
On my arma server or Apollo server, because my Apollo is already open |
On your Arma 3 server. |
Closing as no response, if you experience the issue once again, feel free to re-open this issue. |
This comment was marked as off-topic.
This comment was marked as off-topic.
hello @CreepPork, i reopen this discussion because i want to put your bot in a docker and after trying on several machines and looking for different solutions, I really think that setting a port on gamedig will solve the problem. (https://www.npmjs.com/package/gamedig) Can you tell me what you think about it and if it is difficult for you to solve? thank you for you'r work Common IssuesFirewalls block incoming UDP(replit / docker / some VPS providers) Most game query protocols require a UDP request and response. This means that in some environments, gamedig may not be able to receive the reponse required due to environmental restrictions. Some examples include:Docker containersYou may need to run the container in --network host mode so that gamedig can bind a UDP listen port. Specifying a listen UDP port overrideIn some very rare scenarios, you may need to bind / listen on a fixed local UDP port. The is usually not needed except behind some extremely strict firewalls, or within a docker container (where you only wish to forward a single UDP port). To use a fixed listen udp port, construct a new Gamedig object like this:
|
Hello, once again! Sorry, missed your first reply after the closing. I'm not sure, I understand your issue fully. You stated before that you tried it on 2 VPSes and it still didn't work. Are these your VPS or are you purchasing them from a provider, if so what provider? You've also mentioned docker containers. Is Arma running in a Docker container or have you made a container for Apollo? Please, try to elaborate on the infrastructure you are using, so I can help you better. |
Indeed, from the beginning I try to make an apollo docker that I could share to simplify the installation of the bot. on https://www.npmjs.com/package/gamedig Firewalls block incoming UDP(replit / docker / some VPS providers) Most game query protocols require a UDP request and response. This means that in some environments, gamedig may not be able to receive the reponse required due to environmental restrictions. Some examples include: Docker containers I tried the method -> You may need to run the container in --network host mode so that gamedig can bind a UDP listen port. and everything works fine. but you have to think about opening the ports on the server and to simplify things I would have preferred it to be directly in the container that the port is defined That's why I wanted to know if it was possible easily for you ? |
Hello @CreepPork i have a problem with the bot, when i try to connect this to my server, i have this message
Bot has logged in
Apollo is ready.
Performing first-start refresh.
Error: Failed all 2 attempts
at QueryRunner.run (/apollo/Apollo/node_modules/gamedig/lib/QueryRunner.js:88:21)
Attempt #1 - Port=2333 Retry=0:
Error: UDP - Timed out after 2000ms
at Timeout.setTimeout (/apollo/Apollo/node_modules/gamedig/lib/Promises.js:7:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
Attempt #2 - Port=2332 Retry=0:
Error: UDP - Timed out after 2000ms
at Timeout.setTimeout (/apollo/Apollo/node_modules/gamedig/lib/Promises.js:7:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
Failed to refresh server info. Remaining retries: 1/3
I try with 2 VPS on debian (same problem)
I try différent arma ip server (and a server arma with your bot)
if you have an idea 👍
The text was updated successfully, but these errors were encountered: