srcds rcon usage

  • 58 Views
  • Last Post 09 August 2017
deven10100 posted this 07 August 2017

OS Name/Version: Windows server 2012

Product Name/Version: Srcds (Counter Strike: Global Offensive)

Problem Description: Using rcon commands or using console at all, crashes backend instance on amp instance manager and gives below error log, cannot restart instance without closing tcp port 8080 on that ip, csgo server is still running and functional but panel is broken and can no longer start.

Steps to reproduce:

Using rcon commands or using console with more then one server running under different ip address's but the same game port for rcon 27015

Error Log:

[00:55:52] [System:Core Error]    : Unhandled Exception: Please report this to the AMP developers.
[00:55:52] [System:Core Error]    : --- Begin Exception Data ---
[00:55:52] [System:Core Error]    : OS: Windows (x86_64/None)
[00:55:52] [System:Core Error]    : Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
[00:55:52] [System:Core Error]    :    at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
   at System.IO.Stream.<>c.<beginendwriteasync>b__53_0(Stream stream, ReadWriteParameters args, AsyncCallback callback, Object state)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func`5 beginMethod, Func`3 endMethod)
   at System.IO.Stream.BeginEndWriteAsync(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count)
   at RCONClientPlugin.SourceRconClient.<sendpacket>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RCONClientPlugin.SourceRconClient.<sendmessage>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at RCONClientPlugin.SourceRconClient.<postmessage>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
[00:55:52] [System:Core Error]    : --- End Exception Data ---

i run about 15 servers so yes i have all ports and everything on my end perfectly fine, been using another panel called brainless for years now without issues.

@mike @cubesteak

Order By: Standard | Newest | Votes
Mike posted this 07 August 2017

Is this after RCON has connected internally in AMP? Could you post the AMP log excerpt from just after starting the srcds server?

deven10100 posted this 09 August 2017

Okay got it all working with your latest updates, one last issue, Do you have rcon passwords hardcoded, regenerated every server restart? i need a way to keep a custom rcon password for external web use. had to remove rconpassword from server.cfg, tried overwriting the random +rconpassword generation in cmdlineopts by entering my own +rcon_password test123, and nope still generates a new on boot.

Mike posted this 09 August 2017

AMP randomly generates and overrides the RCON password. The idea is that in another update AMPs internal RCON server will be switched on and you'll connect to AMPs own RCON to access the game, but with some extra security measures in place as RCON is an insecure protocol.

Close