Skip to content

Event socket timed out #11

@TensionNervousTick

Description

@TensionNervousTick

Hi. Very excited to get this working, but I keep getting the below error. Everything seems to be set up correctly, C-Gate remote access is enabled on the config.txt file etc.

Log is below. Why does it keep timing out?

Connecting to C-Gate event port: 192.168.0.100:20025
INFO [MqttManager] Bridge readiness changed: Offline (startup-complete)
[INFO] cgateweb started successfully (booting)
INFO [WebServer] Web server listening on 0.0.0.0:8080
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
WARN [CgateConnectionPool-command] Pool connection 2 closed normally
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 1 closed normally
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
WARN [CgateConnection-event] C-Gate event socket timed out after 5000ms
WARN [CgateConnection-event] EVENT PORT DISCONNECTED
INFO [connection-manager] Event connection disconnected
INFO [MqttManager] Bridge readiness changed: Offline (event-disconnected)
INFO [CgateConnection-event] Scheduling event reconnection attempt 1/10 in 860ms
INFO [CgateConnection-event] Connecting to C-Gate event port: 192.168.0.100:20025
ERROR [CgateConnectionPool-command] Pool connection 1 reconnection failed:
{
"error": "Connection 1 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 1 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnectionPool-command] Scheduling pool connection 1 reconnection in 2350ms (attempt 2/3)
ERROR [CgateConnectionPool-command] Pool connection 0 reconnection failed:
{
"error": "Connection 0 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
ERROR [CgateConnectionPool-command] Pool connection 2 reconnection failed:
{
"error": "Connection 2 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 2 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnectionPool-command] Scheduling pool connection 2 reconnection in 1595ms (attempt 2/3)
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 0 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnectionPool-command] Scheduling pool connection 0 reconnection in 1155ms (attempt 1/3)
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [connection-manager] Event connection disconnected
INFO [MqttManager] Bridge readiness changed: Offline (event-disconnected)
INFO [CgateConnection-event] Scheduling event reconnection attempt 2/10 in 1032ms
WARN [CgateConnection-event] C-Gate event socket timed out after 5000ms
WARN [CgateConnection-event] EVENT PORT DISCONNECTED
INFO [CgateConnection-event] Connecting to C-Gate event port: 192.168.0.100:20025
ERROR [CgateConnectionPool-command] Pool connection 0 reconnection failed:
{
"error": "Connection 0 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 0 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnectionPool-command] Scheduling pool connection 0 reconnection in 2615ms (attempt 2/3)
ERROR [CgateConnectionPool-command] Pool connection 2 reconnection failed:
{
"error": "Connection 2 establishment timed out after 5000ms"
}
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnectionPool-command] Scheduling pool connection 2 reconnection in 4910ms (attempt 3/3)
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 2 closed normally
ERROR [CgateConnectionPool-command] Pool connection 1 reconnection failed:
{
"error": "Connection 1 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 1 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnectionPool-command] Scheduling pool connection 1 reconnection in 2976ms (attempt 3/3)
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
WARN [CgateConnection-event] C-Gate event socket timed out after 5000ms
WARN [CgateConnection-event] EVENT PORT DISCONNECTED
INFO [connection-manager] Event connection disconnected
INFO [MqttManager] Bridge readiness changed: Offline (event-disconnected)
INFO [CgateConnection-event] Scheduling event reconnection attempt 3/10 in 5297ms
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
ERROR [CgateConnectionPool-command] Pool connection 0 reconnection failed:
{
"error": "Connection 0 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 0 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnectionPool-command] Scheduling pool connection 0 reconnection in 5824ms (attempt 3/3)
ERROR [CgateConnectionPool-command] Pool connection 1 reconnection failed:
{
"error": "Connection 1 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 1 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
WARN [CgateConnectionPool-command] Pool connection 1 exceeded initial retries, continuing with 4700ms backoff (attempt 4)
INFO [CgateConnection-event] Connecting to C-Gate event port: 192.168.0.100:20025
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
ERROR [CgateConnectionPool-command] Pool connection 2 reconnection failed:
{
"error": "Connection 2 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 2 closed normally
WARN [CgateConnectionPool-command] Pool connection 2 exceeded initial retries, continuing with 5043ms backoff (attempt 4)
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
WARN [CgateConnection-event] C-Gate event socket timed out after 5000ms
INFO [connection-manager] Event connection disconnected
INFO [MqttManager] Bridge readiness changed: Offline (event-disconnected)
INFO [CgateConnection-event] Scheduling event reconnection attempt 4/10 in 9711ms
WARN [CgateConnection-event] EVENT PORT DISCONNECTED
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
DEBUG [CgateConnectionPool-command] Performing health check on 3 connections
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-unhealthy)
WARN [CgateConnectionPool-command] Pool connection 0 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 1 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 2 is not connected, removing from healthy set
ERROR [CgateConnectionPool-command] No healthy connections in pool!
WARN [connection-manager] All command connections unhealthy
ERROR [CgateConnectionPool-command] Pool connection 1 reconnection failed:
{
"error": "Connection 1 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 1 closed normally
WARN [CgateConnectionPool-command] Pool connection 1 exceeded initial retries, continuing with 19493ms backoff (attempt 5)
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
ERROR [CgateConnectionPool-command] Pool connection 0 reconnection failed:
{
"error": "Connection 0 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
WARN [CgateConnectionPool-command] Pool connection 0 closed normally
WARN [CgateConnectionPool-command] Pool connection 0 exceeded initial retries, continuing with 8480ms backoff (attempt 4)
ERROR [CgateConnectionPool-command] Pool connection 2 reconnection failed:
{
"error": "Connection 2 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 2 closed normally
WARN [CgateConnectionPool-command] Pool connection 2 exceeded initial retries, continuing with 18412ms backoff (attempt 5)
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
INFO [CgateConnection-event] Connecting to C-Gate event port: 192.168.0.100:20025
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
WARN [CgateConnection-event] C-Gate event socket timed out after 5000ms
WARN [CgateConnection-event] EVENT PORT DISCONNECTED
INFO [connection-manager] Event connection disconnected
INFO [MqttManager] Bridge readiness changed: Offline (event-disconnected)
INFO [CgateConnection-event] Scheduling event reconnection attempt 5/10 in 16869ms
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
ERROR [CgateConnectionPool-command] Pool connection 0 reconnection failed:
{
"error": "Connection 0 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 0 closed normally
WARN [CgateConnectionPool-command] Pool connection 0 exceeded initial retries, continuing with 19472ms backoff (attempt 5)
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
ERROR [CgateConnectionPool-command] Pool connection 1 reconnection failed:
{
"error": "Connection 1 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 1 closed normally
WARN [CgateConnectionPool-command] Pool connection 1 exceeded initial retries, continuing with 24271ms backoff (attempt 6)
ERROR [CgateConnectionPool-command] Pool connection 2 reconnection failed:
{
"error": "Connection 2 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 2 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
WARN [CgateConnectionPool-command] Pool connection 2 exceeded initial retries, continuing with 40050ms backoff (attempt 6)
INFO [CgateConnection-event] Connecting to C-Gate event port: 192.168.0.100:20025
DEBUG [CgateConnectionPool-command] Performing health check on 3 connections
WARN [CgateConnectionPool-command] Pool connection 0 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 1 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 2 is not connected, removing from healthy set
ERROR [CgateConnectionPool-command] No healthy connections in pool!
WARN [connection-manager] All command connections unhealthy
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-unhealthy)
WARN [CgateConnection-event] C-Gate event socket timed out after 5000ms
WARN [CgateConnection-event] EVENT PORT DISCONNECTED
INFO [connection-manager] Event connection disconnected
INFO [MqttManager] Bridge readiness changed: Offline (event-disconnected)
INFO [CgateConnection-event] Scheduling event reconnection attempt 6/10 in 28459ms
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
ERROR [CgateConnectionPool-command] Pool connection 0 reconnection failed:
{
"error": "Connection 0 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 0 closed normally
WARN [CgateConnectionPool-command] Pool connection 0 exceeded initial retries, continuing with 28454ms backoff (attempt 6)
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
ERROR [CgateConnectionPool-command] Pool connection 1 reconnection failed:
{
"error": "Connection 1 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 1 closed normally
WARN [CgateConnectionPool-command] Pool connection 1 exceeded initial retries, continuing with 48819ms backoff (attempt 7)
DEBUG [CgateConnectionPool-command] Performing health check on 3 connections
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-unhealthy)
WARN [CgateConnectionPool-command] Pool connection 0 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 1 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 2 is not connected, removing from healthy set
ERROR [CgateConnectionPool-command] No healthy connections in pool!
WARN [connection-manager] All command connections unhealthy
INFO [CgateConnection-event] Connecting to C-Gate event port: 192.168.0.100:20025
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
WARN [CgateConnection-event] C-Gate event socket timed out after 5000ms
INFO [connection-manager] Event connection disconnected
INFO [MqttManager] Bridge readiness changed: Offline (event-disconnected)
INFO [CgateConnection-event] Scheduling event reconnection attempt 7/10 in 38516ms
WARN [CgateConnection-event] EVENT PORT DISCONNECTED
INFO [CgateConnection-command] Connecting to C-Gate command port: 192.168.0.100:20023
ERROR [CgateConnectionPool-command] Pool connection 2 reconnection failed:
{
"error": "Connection 2 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 2 closed normally
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
WARN [CgateConnectionPool-command] Pool connection 2 exceeded initial retries, continuing with 47160ms backoff (attempt 7)
ERROR [CgateConnectionPool-command] Pool connection 0 reconnection failed:
{
"error": "Connection 0 establishment timed out after 5000ms"
}
WARN [CgateConnection-command] C-Gate command socket timed out after 5000ms
WARN [CgateConnection-command] COMMAND PORT DISCONNECTED
WARN [CgateConnectionPool-command] Pool connection 0 closed normally
WARN [CgateConnectionPool-command] Pool connection 0 exceeded initial retries, continuing with 52187ms backoff (attempt 7)
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-connection-lost)
DEBUG [CgateConnectionPool-command] Performing health check on 3 connections
INFO [MqttManager] Bridge readiness changed: Offline (command-pool-unhealthy)
WARN [CgateConnectionPool-command] Pool connection 0 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 1 is not connected, removing from healthy set
WARN [CgateConnectionPool-command] Pool connection 2 is not connected, removing from healthy set
ERROR [CgateConnectionPool-command] No healthy connections in pool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions