Have teamviewer host installed on a server and since yesterday that's the message I'm getting, the server is of course online as I can access the network resources located on it, it's just teamviewer that stopped working.

What could possible cause that? It's a pain to have to plug a monitor to the server every time this happens just to restart the teamviewer windows service to get it back working again.
Log Preview ([link removed by moderator]):
2018/04/19 15:15:25.727 4388 4604 S0!! TerminalServer: No SessionInfo for 2 (SendStatusInfo)
2018/04/19 15:15:41.979 4388 4604 S0 SERVICE_CONTROL_STOP
2018/04/19 15:15:41.979 4388 3176 S0 CAcceptServer[:::5938]::HandleAccept(): Accept canceled
2018/04/19 15:15:41.979 4388 1584 S0 CAcceptServer[0.0.0.0:5938]::HandleAccept(): Accept canceled
2018/04/19 15:15:41.979 4388 14328 S0 TeamViewer is going offline!
2018/04/19 15:15:41.979 9600 9376 G1 Received Control_TerminateProcess
2018/04/19 15:15:41.979 4388 14328 S0 RemoteSessionManager::ClearAllRemoteSessions(): RemoteSession