Apr 20th, 2024, 9:04am
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: Error conecting to server  (Read 2786 times)
pablodoe
FabulaTech Forum Newbie
*



View Profile         
Posts: 2
Error conecting to server
« on: May 26th, 2022, 12:28pm »
Quote Quote  Modify Modify

Hello, I have the client app in a server with windows 2019, It cant connect to another windows 2019 with the server app.
 
The server app is connected to another clients without problems. I have license not used, isn't a license problem.
 
If I begin a callback connection to the client app, It works correctly.
 
But the problem is, the callback connection isn't restored when the server restart with automatic updates.
 
I need a full automated solution.
 
Thanks.
 
The debug log:
2022.05.26 09:13:59.943 [9588] [5292] [INFO]:   CVirtEngine::ConnectToServer: Begin 172.16.0.145:33000, sessionid=-1
2022.05.26 09:13:59.943 [9588] [5292] [ERROR]:  CUsbServer::SetSessionId: CDiscoveryInterface::GetAddressByHostname() error. LastError=87
2022.05.26 09:13:59.943 [9588] [5292] [DEBUG]:  CNetworkEngine::ConnectToServer: Start connection, ip:172.16.0.145, port: 33000
2022.05.26 09:13:59.943 [9588] [6524] [DEBUG]:  CNetworkEngine:ShockednNLChannelEvents: Begin (h=0100000000000005)
2022.05.26 09:13:59.943 [9588] [6524] [ERROR]:  CNetworkEngine:ShockednNLChannelEvents: Can`t connect, network subsystem error (h=0100000000000005)
2022.05.26 09:13:59.943 [9588] [6524] [DEBUG]:   CNetworkEngine:ShockednNLChannelEvents: End (h=0100000000000005)
2022.05.26 09:13:59.943 [9588] [5292] [DEBUG]:  CVirtEngine::ConnectToServer: End hConn=0100000000000005, sessionid=-1
IP Logged
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 556
Re: Error conecting to server
« Reply #1 on: May 27th, 2022, 9:37am »
Quote Quote  Modify Modify

Hi,
 
Thanks for using our product.
There is no option to restore the call back connection because there is no such connection in the server GUI after the PC reboot.
I mean USB over Network doesn't have such feature. But we'll implement it in one of the next releases.
Use USB over Network (server) CLI to create a callback connection for automation:
https://www.fabulatech.com/usb-over-network-server-help/server-command-line.html
callback add <host> [<port>] [-m <message>] [-p <password>]
IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
pablodoe
FabulaTech Forum Newbie
*



View Profile         
Posts: 2
Re: Error conecting to server
« Reply #2 on: May 27th, 2022, 12:52pm »
Quote Quote  Modify Modify

Thanks for the reply. The workaround is good, but what about the initial issue?
 
THIS IS THE BAD CLIENT LOG:
22.05.27 09:23:53.871 [3012] [9512] [INFO]:   CVirtEngine::ConnectToServer: Begin pc_sa_dongles.bmr.local:33000, sessionid=-1
2022.05.27 09:23:53.871 [3012] [9512] [ERROR]:  CUsbServer::SetSessionId: CDiscoveryInterface::GetAddressByHostname() error. LastError=87
2022.05.27 09:23:53.871 [3012] [9512] [DEBUG]:  CNetworkEngine::ConnectToServer: Start connection, ip:pc_sa_dongles.bmr.local, port: 33000
2022.05.27 09:23:53.871 [3012] [8224] [DEBUG]:  CNetworkEngine::OnNLChannelEvents: Begin (h=0100000000000003)
2022.05.27 09:23:53.871 [3012] [8224] [ERROR]:  CNetworkEngine::OnNLChannelEvents: Can`t connect, network subsystem error (h=0100000000000003)
2022.05.27 09:23:53.871 [3012] [8224] [DEBUG]:   CNetworkEngine::OnNLChannelEvents: End (h=0100000000000003)
2022.05.27 09:23:53.871 [3012] [9512] [DEBUG]:  CVirtEngine::ConnectToServer: End hConn=0100000000000003, sessionid=-1
 
THIS IS A GOOD CLIENT:
2022.05.27 09:43:10.055 [1524] [5548] [INFO]:   CVirtEngine::ConnectToServer: Begin pc_sa_dongles.bmr.local:33000, sessionid=-1
2022.05.27 09:43:10.055 [1524] [5548] [ERROR]:  CUsbServer::SetSessionId: CDiscoveryInterface::GetAddressByHostname() error. LastError=87
2022.05.27 09:43:10.055 [1524] [5548] [DEBUG]:  CNetworkEngine::ConnectToServer: Start connection, ip:pc_sa_dongles.bmr.local, port: 33000
2022.05.27 09:43:10.070 [1524] [7124] [DEBUG]:  CNetworkEngine::OnNLChannelEvents: Begin (h=010000000000001D)
2022.05.27 09:43:10.070 [1524] [7124] [DEBUG]:  CNetworkEngine::OnNLChannelEvents: Connection opened (h=010000000000001D)
2022.05.27 09:43:10.070 [1524] [7124] [DEBUG]:   CNetworkEngine::OnNLChannelEvents: End (h=010000000000001D)
2022.05.27 09:43:10.070 [1524] [7888] [DEBUG]:  CUsbServer::ConnectionInitThread: Begin (hHandle=010000000000001D)
2022.05.27 09:43:10.070 [1524] [7888] [DEBUG]:  CUsbServer::InitConnectionToServer: start connection initialisation, handle: 010000000000001D, ID: 21
2022.05.27 09:43:10.070 [1524] [7888] [DEBUG]:  CUsbServer::InitConnectionToServer: writing INIT packet... 40 bytes written
2022.05.27 09:43:10.070 [1524] [7888] [DEBUG]:  CUsbServer::InitConnectionToServer: reading INIT packet...
2022.05.27 09:43:10.070 [1524] [5548] [DEBUG]:  CVirtEngine::ConnectToServer: End hConn=010000000000001D, sessionid=-1
IP Logged
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 556
Re: Error conecting to server
« Reply #3 on: May 28th, 2022, 2:08pm »
Quote Quote  Modify Modify

Hi,
 
1) Initial issue is "the callback connection isn't restored when the server restart".
2) "Can`t connect, network subsystem error" is another problem. I have sent you an email. Please reply.
IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

« Previous topic | Next topic »
Online Talk to our
support team or
sales department.