eHorus forums

Full Version: [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Buenas, mi agente en windows 10 , en algún momento parece que se conecta (] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.), pero la conexión se cierra. He puesto el log a 9 y me sale esto:

2019-02-10 14:04:43 [log][9] Valid storage_dir C:\Users.
2019-02-10 14:04:43 [log][9] Starting a new IPC-UI server
2019-02-10 14:04:43 [log][9] Waiting for an IPC connection
2019-02-10 14:04:43 [log][4] Installing eHorus Display Manager service and launch it
2019-02-10 14:04:43 [log][5] Current time is higher than boot time
2019-02-10 14:04:43 [log][4] Launching CMD server like a process
2019-02-10 14:04:43 [log][4] Launching eHorus Tray
2019-02-10 14:04:48 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 14:04:48 [log][7] Populating the service cache.
2019-02-10 14:04:48 [log][9] Updating system info successfully
2019-02-10 14:04:49 [log][4] Waiting for a handshake.
2019-02-10 14:04:49 [err] net_send_data(): Connection error from 0.0.0.0: Se ha forzado la interrupción de una conexión existente por el host remoto..
2019-02-10 14:04:49 [log][2] eh_conect (): Connection to eHorus Server fails:

2019-02-10 14:04:49 [err] Cannot connect to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-10 14:04:49 [log][4] Disconnecting from eHorus.
2019-02-10 14:04:49 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 14:04:49 [log][7] Agent disconnected to make another handshake
2019-02-10 14:04:49 [log][7] eHorus connection closed to make another handshake
2019-02-10 14:04:49 [log][7] Vnc disconnected to make another handshake
2019-02-10 14:04:49 [log][4] Reloading PTY
2019-02-10 14:04:49 [log][3] Missing data to reload PTY
2019-02-10 14:04:49 [log][7] Remote shell disconnected to make another handshake
2019-02-10 14:04:49 [log][4] Waiting for a handshake.
2019-02-10 14:04:49 [log][4] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-10 14:04:49 [log][9] Poll is masked to server socket
2019-02-10 14:04:49 [log][7] Waiting for some order or ping
2019-02-10 14:04:49 [log][7] Reading the HTTP GET Header
2019-02-10 14:04:49 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-10 14:04:49 [log][4] Disconnecting from eHorus.
2019-02-10 14:04:49 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 14:04:49 [log][7] Agent disconnected to make another handshake
2019-02-10 14:04:49 [log][7] eHorus connection closed to make another handshake
2019-02-10 14:04:49 [log][7] Vnc disconnected to make another handshake
2019-02-10 14:04:49 [log][4] Reloading PTY
2019-02-10 14:04:49 [log][3] Missing data to reload PTY
Por favor, ¿alguna idea? ya no se me ocurre nada más..., llego perfectamente a estas 2 direcciones en esos puertos, pero luego algo me cierra la conexión:
# Address of the eHorus server.
eh_address phobos.ehorus.com
# Port of the eHorus server.
eh_port 8080
# Address of the provisioning server.
prov_address switch.ehorus.com
# Port of the provisioning server.
prov_port 443

Gracias.
(02-10-2019, 01:17 PM)ajvadillo Wrote: [ -> ]Buenas, mi agente en windows 10 , en algún momento parece que se conecta (] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.), pero la conexión se cierra. He puesto el log a 9 y me sale esto:

2019-02-10 14:04:43 [log][9] Valid storage_dir C:\Users.
2019-02-10 14:04:43 [log][9] Starting a new IPC-UI server
2019-02-10 14:04:43 [log][9] Waiting for an IPC connection
2019-02-10 14:04:43 [log][4] Installing eHorus Display Manager service and launch it
2019-02-10 14:04:43 [log][5] Current time is higher than boot time
2019-02-10 14:04:43 [log][4] Launching CMD server like a process
2019-02-10 14:04:43 [log][4] Launching eHorus Tray
2019-02-10 14:04:48 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 14:04:48 [log][7] Populating the service cache.
2019-02-10 14:04:48 [log][9] Updating system info successfully
2019-02-10 14:04:49 [log][4] Waiting for a handshake.
2019-02-10 14:04:49 [err] net_send_data(): Connection error from 0.0.0.0: Se ha forzado la interrupción de una conexión existente por el host remoto..
2019-02-10 14:04:49 [log][2] eh_conect (): Connection to eHorus Server fails:

2019-02-10 14:04:49 [err] Cannot connect to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-10 14:04:49 [log][4] Disconnecting from eHorus.
2019-02-10 14:04:49 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 14:04:49 [log][7] Agent disconnected to make another handshake
2019-02-10 14:04:49 [log][7] eHorus connection closed to make another handshake
2019-02-10 14:04:49 [log][7] Vnc disconnected to make another handshake
2019-02-10 14:04:49 [log][4] Reloading PTY
2019-02-10 14:04:49 [log][3] Missing data to reload PTY
2019-02-10 14:04:49 [log][7] Remote shell disconnected to make another handshake
2019-02-10 14:04:49 [log][4] Waiting for a handshake.
2019-02-10 14:04:49 [log][4] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-10 14:04:49 [log][9] Poll is masked to server socket
2019-02-10 14:04:49 [log][7] Waiting for some order or ping
2019-02-10 14:04:49 [log][7] Reading the HTTP GET Header
2019-02-10 14:04:49 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-10 14:04:49 [log][4] Disconnecting from eHorus.
2019-02-10 14:04:49 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 14:04:49 [log][7] Agent disconnected to make another handshake
2019-02-10 14:04:49 [log][7] eHorus connection closed to make another handshake
2019-02-10 14:04:49 [log][7] Vnc disconnected to make another handshake
2019-02-10 14:04:49 [log][4] Reloading PTY
2019-02-10 14:04:49 [log][3] Missing data to reload PTY
Por favor, ¿alguna idea? ya no se me ocurre nada más..., llego perfectamente a estas 2 direcciones en esos puertos, pero luego algo me cierra la conexión:
# Address of the eHorus server.
eh_address phobos.ehorus.com
# Port of the eHorus server.
eh_port 8080
# Address of the provisioning server.
prov_address switch.ehorus.com
# Port of the provisioning server.
prov_port 443

Gracias.

Buenos días ajvadillo,

¿Has comprobado que tu firewall no tire la conexión por ssl? Me podrías decir adicionalmente cuanto tarda en desconectarse¿?

Alberto
Sí, también he probado a desactivar el Firewall de Windows, por si acaso, pero nada. De hecho en algún momento se conectó y funcionó correctamente durante 1 hora o más el día que lo instalé con el FW activado. Ahora mismo no te se decir tiempos, parece que es en el mismo segundo:
2019-02-10 23:12:42 [log][4] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-10 23:12:42 [log][9] Poll is masked to server socket
2019-02-10 23:12:42 [log][7] Waiting for some order or ping
2019-02-10 23:12:43 [log][7] Reading the HTTP GET Header
2019-02-10 23:12:43 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-10 23:12:43 [log][4] Disconnecting from eHorus.,
Ahora por ejemplo si que veo con netstat la conexión establecida al 85.118.244.240:8080, pero si me voy a otro equipo y lo pruebo me dice:
"No conectado
Parece que la conexión ha fallado No se puede acceder al servidor o puede que haya una conexión ya abierta. Inténtalo de nuevo."

Por otra parte, en el log del agente se han dejado de escupir los mensajes de antes ahora es así:
2019-02-10 23:12:43 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-10 23:12:43 [log][4] Disconnecting from eHorus.
2019-02-10 23:12:43 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 23:12:43 [log][7] Agent disconnected to make another handshake
2019-02-10 23:12:43 [log][7] eHorus connection closed to make another handshake
2019-02-10 23:12:43 [log][7] Vnc disconnected to make another handshake
2019-02-10 23:12:43 [log][4] Reloading PTY
2019-02-10 23:12:43 [log][3] Missing data to reload PTY
2019-02-10 23:12:43 [log][7] Remote shell disconnected to make another handshake
2019-02-10 23:12:43 [log][4] Waiting for a handshake.
2019-02-10 23:13:40 [log][9] Updating system info successfully
2019-02-10 23:18:41 [log][9] Updating system info successfully
2019-02-10 23:23:41 [log][9] Updating system info successfully
2019-02-10 23:28:42 [log][9] Updating system info successfully
2019-02-10 23:33:42 [log][9] Updating system info successfully
2019-02-10 23:38:43 [log][9] Updating system info successfully
2019-02-10 23:43:43 [log][9] Updating system info successfully
2019-02-10 23:48:44 [log][9] Updating system info successfully
2019-02-10 23:53:44 [log][9] Updating system info successfully
2019-02-10 23:58:45 [log][9] Updating system info successfully
2019-02-11 00:03:45 [log][9] Updating system info successfully
2019-02-11 00:08:46 [log][9] Updating system info successfully
2019-02-11 00:13:46 [log][9] Updating system info successfully
2019-02-11 00:18:47 [log][9] Updating system info successfully
2019-02-11 00:23:47 [log][9] Updating system info successfully
2019-02-11 00:28:48 [log][9] Updating system info successfully
2019-02-11 00:33:48 [log][9] Updating system info successfully
2019-02-11 00:38:49 [log][9] Updating system info successfully
2019-02-11 00:43:50 [log][9] Updating system info successfully
2019-02-11 00:48:51 [log][9] Updating system info successfully
2019-02-11 00:53:51 [log][9] Updating system info successfully
2019-02-11 00:58:52 [log][9] Updating system info successfully
2019-02-11 01:03:52 [log][9] Updating system info successfully
2019-02-11 01:08:53 [log][9] Updating system info successfully
2019-02-11 01:13:53 [log][9] Updating system info successfully
2019-02-11 01:18:54 [log][9] Updating system info successfully
2019-02-11 01:23:54 [log][9] Updating system info successfully
2019-02-11 01:28:55 [log][9] Updating system info successfully
2019-02-11 01:33:55 [log][9] Updating system info successfully
2019-02-11 01:38:56 [log][9] Updating system info successfully
(02-11-2019, 11:41 AM)ajvadillo Wrote: [ -> ]Sí, también he probado a desactivar el Firewall de Windows, por si acaso, pero nada. De hecho en algún momento se conectó y funcionó correctamente durante 1 hora o más el día que lo instalé con el FW activado. Ahora mismo no te se decir tiempos, parece que es en el mismo segundo:
2019-02-10 23:12:42 [log][4] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-10 23:12:42 [log][9] Poll is masked to server socket
2019-02-10 23:12:42 [log][7] Waiting for some order or ping
2019-02-10 23:12:43 [log][7] Reading the HTTP GET Header
2019-02-10 23:12:43 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-10 23:12:43 [log][4] Disconnecting from eHorus.,
Ahora por ejemplo si que veo con netstat la conexión establecida al 85.118.244.240:8080, pero si me voy a otro equipo y lo pruebo me dice:
"No conectado
Parece que la conexión ha fallado No se puede acceder al servidor o puede que haya una conexión ya abierta. Inténtalo de nuevo."

Por otra parte, en el log del agente se han dejado de escupir los mensajes de antes ahora es así:
2019-02-10 23:12:43 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-10 23:12:43 [log][4] Disconnecting from eHorus.
2019-02-10 23:12:43 [log][9] Updating connection to NOT BUSY successfully
2019-02-10 23:12:43 [log][7] Agent disconnected to make another handshake
2019-02-10 23:12:43 [log][7] eHorus connection closed to make another handshake
2019-02-10 23:12:43 [log][7] Vnc disconnected to make another handshake
2019-02-10 23:12:43 [log][4] Reloading PTY
2019-02-10 23:12:43 [log][3] Missing data to reload PTY
2019-02-10 23:12:43 [log][7] Remote shell disconnected to make another handshake
2019-02-10 23:12:43 [log][4] Waiting for a handshake.
2019-02-10 23:13:40 [log][9] Updating system info successfully
2019-02-10 23:18:41 [log][9] Updating system info successfully
2019-02-10 23:23:41 [log][9] Updating system info successfully
2019-02-10 23:28:42 [log][9] Updating system info successfully
2019-02-10 23:33:42 [log][9] Updating system info successfully
2019-02-10 23:38:43 [log][9] Updating system info successfully
2019-02-10 23:43:43 [log][9] Updating system info successfully
2019-02-10 23:48:44 [log][9] Updating system info successfully
2019-02-10 23:53:44 [log][9] Updating system info successfully
2019-02-10 23:58:45 [log][9] Updating system info successfully
2019-02-11 00:03:45 [log][9] Updating system info successfully
2019-02-11 00:08:46 [log][9] Updating system info successfully
2019-02-11 00:13:46 [log][9] Updating system info successfully
2019-02-11 00:18:47 [log][9] Updating system info successfully
2019-02-11 00:23:47 [log][9] Updating system info successfully
2019-02-11 00:28:48 [log][9] Updating system info successfully
2019-02-11 00:33:48 [log][9] Updating system info successfully
2019-02-11 00:38:49 [log][9] Updating system info successfully
2019-02-11 00:43:50 [log][9] Updating system info successfully
2019-02-11 00:48:51 [log][9] Updating system info successfully
2019-02-11 00:53:51 [log][9] Updating system info successfully
2019-02-11 00:58:52 [log][9] Updating system info successfully
2019-02-11 01:03:52 [log][9] Updating system info successfully
2019-02-11 01:08:53 [log][9] Updating system info successfully
2019-02-11 01:13:53 [log][9] Updating system info successfully
2019-02-11 01:18:54 [log][9] Updating system info successfully
2019-02-11 01:23:54 [log][9] Updating system info successfully
2019-02-11 01:28:55 [log][9] Updating system info successfully
2019-02-11 01:33:55 [log][9] Updating system info successfully
2019-02-11 01:38:56 [log][9] Updating system info successfully

Good morning ajvadillo,

In what SO have you installed the agent? I just tried in Windows a new installation and all went correctly.

Could you try ti reinstall just in case the installation went wrong?

Alberto
Windows 10 64 bits. La instalación la he hecho 2 veces y las 2 vedes ha sido correcta. De hecho el icono de "ehorus agent service" siempre aparece en verde, entiendo que porque el servicio está corriendo. A veces como en la 2ª línea parece que se conecta, pero luego hay "algo" que lo desconecta. He probado también desactivando el Windows defender tanto para redes públicas como redes privadas:
2019-02-12 14:05:12 [log][4] Waiting for a handshake.
2019-02-12 14:05:14 [log][4] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-12 14:05:14 [log][9] Poll is masked to server socket
2019-02-12 14:05:14 [log][7] Waiting for some order or ping
2019-02-12 14:05:14 [log][7] Reading the HTTP GET Header
2019-02-12 14:05:14 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-12 14:05:14 [log][4] Disconnecting from eHorus.
2019-02-12 14:05:14 [log][9] Updating connection to NOT BUSY successfully
2019-02-12 14:05:14 [log][7] Agent disconnected to make another handshake
2019-02-12 14:05:14 [log][7] eHorus connection closed to make another handshake
2019-02-12 14:05:14 [log][7] Vnc disconnected to make another handshake
2019-02-12 14:05:14 [log][4] Reloading PTY
2019-02-12 14:05:14 [log][3] Missing data to reload PTY
2019-02-12 14:05:14 [log][7] Remote shell disconnected to make another handshake
2019-02-12 14:05:14 [log][4] Waiting for a handshake.
2019-02-12 14:05:17 [log][4] Connected to eHorus (phobos.ehorus.com) on port 8080 with key nsJuRBZRa.
2019-02-12 14:05:17 [log][9] Poll is masked to server socket
2019-02-12 14:05:17 [log][7] Waiting for some order or ping
2019-02-12 14:05:17 [log][7] Reading the HTTP GET Header
2019-02-12 14:05:17 [err] net_recv_data(): Connection from 192.168.1.132 unexpectedly closed.
2019-02-12 14:05:17 [log][4] Disconnecting from eHorus.
2019-02-12 14:05:17 [log][9] Updating connection to NOT BUSY successfully
2019-02-12 14:05:17 [log][7] Agent disconnected to make another handshake
2019-02-12 14:05:17 [log][7] eHorus connection closed to make another handshake
2019-02-12 14:05:17 [log][7] Vnc disconnected to make another handshake
2019-02-12 14:05:17 [log][4] Reloading PTY
2019-02-12 14:05:17 [log][3] Missing data to reload PTY
2019-02-12 14:05:17 [log][7] Remote shell disconnected to make another handshake
2019-02-12 14:05:17 [log][4] Waiting for a handshake.
2019-02-12 14:05:17 [err] net_send_data(): Connection error from 0.0.0.0: Se ha forzado la interrupción de una conexión existente por el host remoto..
2019-02-12 14:05:17 [log][2] eh_conect (): Connection to eHorus Server fails:

Un saludo.