OS Name/Version: Ubuntu 20.04.3 LTS
Product Name/Version: AMP 2.4.0.8
Problem Description: I’m unable to manage new instances created after the upgrade to AMP 2.4.0.8 from 2.3.X.X. I created a new instance (for Terraria) via the GUI, which was successful and then I had to update my AMP/ADS instance to the latest 2.4.0.8 to try to manage it, which I went through and was successful, but I’m unable to manage this new instance. Every time I try to manage the new instance, I run into similar issues as this thread where it hangs for a minute and then returns an Unknown Error, with the logs pointing to the same SocketException : Connection Timed Out error.
One thing to note, I can manage existing instances that were created prior to the update to 2.4.X.X, but any instances I create after 2.4.X.X I encounter this same issue.
I ran through a lot of the commands mentioned in the above linked thread, and one thing I noticed when running ampinstmgr status
is that for the instance that works and I can manage, the IP is showing 127.0.0.1, whereas any new instance created on 2.4.X.X is showing 0.0.0.0 and I can’t connect to it. I don’t know if that’s just coincidental and it’s a port issue instead of that IP, but wanted to call attention to it just in case.
[Info] AMP Instance Manager v2.3.0.6 built 02/12/2021 15:38
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Instance Name │ Friendly Name │ Module │ IP │ Port │ Up
───────────────────┼──────────────────┼────────────┼─────────────────┼───────┼───
ADS01 │ ADS01 │ ADS │ 0.0.0.0 │ 8080 │ ✓
Minecraft01 │ Minecraft Mi... │ Minecraft │ 127.0.0.1 │ 8081 │ ✓
Terraria01 │ Terraria Te... │ Generic │ 0.0.0.0 │ 8082 │ ✓
Steps to reproduce:
- Created new Terraria instance
- AMP prompted me to upgrade AMP install to latest to access instance created on 2.4.X.X
- Upgraded AMP to 2.4.0.8
- Start new instance and try to click manage
- Times out after 10 connection attempts, logs show entries for
IOException) : Unable to read data from the transport connection
andSocketException : Connection timed out
- Upgraded existing Minecraft instance that was created with AMP 2.3.X.X
- Click manage on Minecraft instance and it connects to the instance successfully.
Actions taken to resolve so far:
- Tried to delete and recreate instance, same issue
- Restarted AMP, same issue.
- Ran
ampinstmgr --UpgradeAll
to make sure all instances were the same version, issue persists - Ran the AMP command to update firewall:
sudo ampinstmgr updatefirewall
[Info] AMP Instance Manager v2.3.0.6 built 02/12/2021 15:38
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using UFW firewall.
[Info] No new firewall rules to add
[Info] No existing firewall rules to remove
- Tried manually adding TCP 8082 any/any to UFW, same issue
Any thoughts on what’s going wrong, what else I can check/try, etc? All help is greatly appreciated.