GivEnergy / giv_tcp

TCP connection (from inverter) and MQTT implementation
30 stars 41 forks source link

Connection to (x.x.x.x, 8899) failed: timed out #44

Open GuyFullalove opened 3 months ago

GuyFullalove commented 3 months ago

I would appreciate any suggestions on the following issue, please.

I am running GivTCP as a container alongside Home Assistant. Up until a couple of days ago this was working. I am now continuously getting the following errors:  
2024-04-06 12:07:49,324 - Inv1 - sync - [ERROR ] - Connection to (192.168.0.215, 8899) failed: timed out 2024-04-06 12:07:51,828 - Inv1 - sync - [ERROR ] - Connection to (192.168.0.215, 8899) failed: timed out 2024-04-06 12:07:54,330 - Inv1 - sync - [ERROR ] - Connection to (192.168.0.215, 8899) failed: timed out 2024-04-06 12:07:56,834 - Inv1 - sync - [ERROR ] - Connection to (192.168.0.215, 8899) failed: timed out 2024-04-06 12:07:59,337 - Inv1 - sync - [ERROR ] - Connection to (192.168.0.215, 8899) failed: timed out 2024-04-06 12:08:00,640 - Inv1 - read - [ERROR ] - 10 failed inverter reads in a row so removing regCache to force update...  
I have had these occasionally before when the inverter drops off the network, but these are now persistant.  
My inverter is on the network at that IP address and listening on port 8899:

$ nmap -p 8899 192.168.0.215 Starting Nmap 7.80 ( https://nmap.org ) at 2024-04-06 12:24 BST Nmap scan report for 192.168.0.215 Host is up (0.023s latency).

PORT STATE SERVICE 8899/tcp open ospf-lite

Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds

In case this was a corruption issue, I deleted the container and image and re-ran docker compose, but the issue remains.

This is my docker compose config:

givenergy: container_name: givenergy image: britkat/giv_tcp-ma ports: