Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

V12 crash on debian #41

Open
illiftwhat opened this issue Aug 5, 2022 · 4 comments
Open

V12 crash on debian #41

illiftwhat opened this issue Aug 5, 2022 · 4 comments

Comments

@illiftwhat
Copy link

Hello,
I am developing, I have the node server which is launched on debian by "screen -dmSL servrelay dotnet LRM.dll".

And since these last days, the server crashed randomly or so during my test and debug but I did not make any changes in LRM, only listed my game.

I have UseEndpoint, EndpointServerList and EnableNATPunchtroughServer enabled in the config
and i use KcpTransport

this is my log (sorry i have only that):

Unhandled exception. System.ArgumentOutOfRangeException: Length cannot be less than zero. (Parameter 'length')
at System.String.Substring(Int32 startIndex, Int32 length)
at System.Net.HttpListenerRequestUriBuilder.GetPath(String uriString)
at System.Net.HttpListenerRequestUriBuilder.BuildRequestUriUsingRawPath()
at System.Net.HttpListenerRequestUriBuilder.Build()
at System.Net.HttpListenerRequest.FinishInitialization()
at System.Net.HttpConnection.OnReadInternal(IAsyncResult ares)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Thanks for help

@Oyshoboy
Copy link

Oyshoboy commented Aug 6, 2022

Same issue here, looks like this package is not production ready. I recommend you to switch solution.

@Artars
Copy link

Artars commented Aug 11, 2022

Same, happened recently to me as well. I've been running a LRM node server since December, and this is the first time it happened.

@illiftwhat
Copy link
Author

Same, happened recently to me as well. I've been running a LRM node server since December, and this is the first time it happened.

the same thing, the server was running continuously since February and it only happens now, like some kind of bot attack on the server with http requests.

i disabled UseEndpoint and EndpointServerList and the server has not crashed since these changes

@Oyshoboy
Copy link

I'm using it on Ubuntu btw, and looks like it's comes from this issue: dotnet/runtime#72748, so yeah HTTP endpoints better be avoided for better stability

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants