Replies: 5 comments 13 replies
-
Hi Sellmann, I think you can't do or fix this situation. It's seems for me that the TSUN close has a problem. The proxy has two connection. One is called the "server side", which is the connection to the inverter, and the "client side" which is the connection to the TSUN cloud. The message "connection reset by peer" means that the remote side has disconnected, the connection and in the next line you can read, that the client loop (connection) was stopped. So the TSUN cloud send as an So the only solution ist, don't connect to TSUN and run everything on your own. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. I will disable the cloud connection because I don't need it. Instead of Talent Home or Pro App I will use my smart home solution. As you can see the Server Loop also stopped working and the Inverter went offline. Will this happen again without the cloud connection? |
Beta Was this translation helpful? Give feedback.
-
Without the TSUN cloud the connection to the inverter is much more stable. The inverter seems to close the connection in regular intervals (aprox. once in a hour) and connects again like in the log sample below: '2024-06-15 17:12:55 INFO | root | [G3] Accept connection from ('192.168.178.101', 64522)' You don't notice anything and the mqtt topics are still refreshed every minute. |
Beta Was this translation helpful? Give feedback.
-
Maybe I found the problem. |
Beta Was this translation helpful? Give feedback.
-
I suddenly discovered another strange behavior. I noticed some cpu work on my raspberry pi and the proxy seems to loop, take a look at the log: '2024-06-19 08:40:30 INFO | root | Initialize proxy device on home assistant' The log is full of these entries. I had to stop and restart the container. |
Beta Was this translation helpful? Give feedback.
-
Hello,
first of all thank you very much for the proxy. Good work!
I'm using the proxy in a docker container on my raspberry pi 4 (arm64 image) together with mosquitto mqtt broker and OpenHab also running in containers. I have added the DNS entry for logger.talent... in my pi-hole and a dns rebind entry into my Fritzbox.
My problem is, that the mqtt transmission (e.g. tsun-topics) stops after a while. In the proxy log there are a lot of connection reset messages and "Host is not reachable". 172.18.0.2 is the IP address of the proxy container (bridge network), 47.254.132.252 seems to be the address of logger.talent:
'2024-06-12 08:55:36 ERROR | conn | [] [Errno 104] Connection reset by peer for l('172.18.0.2', 55086) | r('47.254.132.252', 5005)'
'2024-06-12 08:55:36 INFO | root | [] Client loop stopped for l('172.18.0.2', 55086)'
'2024-06-12 08:57:08 INFO | root | [] Connected to ('logger.talent-monitoring.com', 5005)'
'2024-06-12 09:00:58 ERROR | conn | [] [Errno 104] Connection reset by peer for l('172.18.0.2', 39454) | r('47.254.132.252', 5005)'
'2024-06-12 09:00:58 INFO | root | [] Client loop stopped for l('172.18.0.2', 39454)'
'2024-06-12 09:02:26 INFO | root | [] Connected to ('logger.talent-monitoring.com', 5005)'
'2024-06-12 09:06:20 ERROR | conn | [] [Errno 104] Connection reset by peer for l('172.18.0.2', 59334) | r('47.254.132.252', 5005)'
'2024-06-12 09:06:20 INFO | root | [] Client loop stopped for l('172.18.0.2', 59334)'
'2024-06-12 09:07:40 INFO | root | [] Connected to ('logger.talent-monitoring.com', 5005)'
'2024-06-12 09:11:06 ERROR | conn | [] [Errno 104] Connection reset by peer for l('172.18.0.2', 49476) | r('47.254.132.252', 5005)'
'2024-06-12 09:11:06 INFO | root | [] Client loop stopped for l('172.18.0.2', 49476)'
'2024-06-12 09:12:57 INFO | root | [] Connected to ('logger.talent-monitoring.com', 5005)'
'2024-06-12 09:16:59 ERROR | conn | [] [Errno 104] Connection reset by peer for l('172.18.0.2', 37812) | r('47.254.132.252', 5005)'
'2024-06-12 09:16:59 INFO | root | [] Client loop stopped for l('172.18.0.2', 37812)'
'2024-06-12 09:37:36 ERROR | conn | [] [Errno 113] Host is unreachable for l('172.18.0.2', 5005) | r('192.168.178.101', 53274)'
'2024-06-12 09:37:36 INFO | root | [] Server loop stopped for r('192.168.178.101', 53274)'
What can I do to resolve the issue?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions