-
-
Notifications
You must be signed in to change notification settings - Fork 6
Infinite connecting loop #6
Comments
I have also encountered this error. The reason is not related to this project, but to Terraria. When trying to open a new version map (eg 1.4.1.2) with an old version Terraria (eg 1.4.1.1) it gives this error. try to regenerate your map or downgrade your terraria server version. |
@barbarbar338 It crashes right away before I even try to connect to a server. Works good on localhost. Tried multiple times same result. |
Can you write down the exact server startup and connection phases? i'll try to do same as you. Because idk whats the problem :( exactly what commands do you use and how do you connect from terraria |
For now I was just cloning the repo, installing dependencies and pushing it to heroku. Haven't tried connecting from client yet because of crashes. |
Ok I can't read. I thought it says "Running build first" and exits. Im supposed to build it first. I'll try to add heroku-postbuild script to handle that |
If this "heroku-postbuild" thing works, I would appreciate it if you open a pull request for it <3 |
I would love to. I love the idea but I can't get it to work :( Edit: I have noticed that even after error I had opened the issue with, the app itself is still standing and the message |
Are we sure that Heroku opened the port "7777" to us? As far as I know it opens a different port each time and saves it to the process environment. |
You are right, It opens a different port each time. I also tried to connect through the logged port at the server start, still endless connecting. :( |
If I remember correctly the I don't recall what Glitch's policies are about connecting. In the end my solution was to grab an old laptop, reset BIOS master pw (because I had forgotten it) and setup the server on that. Then using GameRanger to connect because I don't have a public IP and couldn't get Hamachi virtual LAN working without installing anything on the PCs. |
Well, i guess this repo is going to be archived soon 😢 |
I don't know if you are still interested but I fixed the problem with #7 |
2021-01-07T13:52:48.098661+00:00 app[web.1]: 100.0% - Finalizing world - 0.0%
2021-01-07T13:52:50.971907+00:00 app[web.1]: Terraria Server v1.4.1.2
2021-01-07T13:52:50.971978+00:00 app[web.1]:
2021-01-07T13:52:50.974250+00:00 app[web.1]: Listening on port 7777
2021-01-07T13:52:50.977677+00:00 app[web.1]: Type 'help' for a list of commands.
2021-01-07T13:52:50.977844+00:00 app[web.1]:
2021-01-07T13:52:51.225250+00:00 app[web.1]: : ================
2021-01-07T13:52:51.225290+00:00 app[web.1]: 01/07/2021 13:52:51: Unhandled Exception
2021-01-07T13:52:51.225290+00:00 app[web.1]: Thread: 7 [Server Input Thread]
2021-01-07T13:52:51.225291+00:00 app[web.1]: Culture:
2021-01-07T13:52:51.225292+00:00 app[web.1]: Exception: System.NullReferenceException: Object reference not set to an instance of an object
2021-01-07T13:52:51.225293+00:00 app[web.1]: at Terraria.Main.startDedInputCallBack () [0x00017] in :0
2021-01-07T13:52:51.225296+00:00 app[web.1]: at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in :0
2021-01-07T13:52:51.225298+00:00 app[web.1]: at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in :0
2021-01-07T13:52:51.225298+00:00 app[web.1]: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in :0
2021-01-07T13:52:51.225300+00:00 app[web.1]: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in :0
2021-01-07T13:52:51.225301+00:00 app[web.1]: at System.Threading.ThreadHelper.ThreadStart () [0x00008] in :0
2021-01-07T13:52:51.225301+00:00 app[web.1]: ================
2021-01-07T13:52:51.225843+00:00 app[web.1]: [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
2021-01-07T13:52:51.225844+00:00 app[web.1]: at Terraria.Main.startDedInputCallBack () [0x00017] in :0
2021-01-07T13:52:51.225845+00:00 app[web.1]: at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in :0
2021-01-07T13:52:51.225845+00:00 app[web.1]: at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in :0
2021-01-07T13:52:51.225846+00:00 app[web.1]: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in :0
2021-01-07T13:52:51.225846+00:00 app[web.1]: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in :0
2021-01-07T13:52:51.225847+00:00 app[web.1]: at System.Threading.ThreadHelper.ThreadStart () [0x00008] in :0
The text was updated successfully, but these errors were encountered: