Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by Flopp »

I got this Error anyone seen it before or know what it means?

I am using 3. 5721 on RPi. I am using JSON to get node data to a webpage, if it can have something to with JSON
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by felix63 »

Same error. Anyone?
berta
Posts: 2
Joined: Monday 23 October 2017 13:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by berta »

Same error i got this morning, no idea what this mean?
Using vs 3.8153 domoticz
StratosHF
Posts: 14
Joined: Sunday 18 September 2016 18:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Oxford
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by StratosHF »

Me too...

2018-01-27 07:00:59.177 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

v3.8153
RPi3
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by DAVIZINHO »

me to, never see this error

2018-01-30 20:24:11.381 Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: ...z/scripts/dzVents/../../dzVents/runtime/EventHelpers.lua:374: attempt to concatenate field 'hardwareName' (a nil value)
2018-01-30 20:25:16.259 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-01-30 20:25:16.259 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-01-30 20:25:16.260 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-01-30 20:25:16.260 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

beta v3.8872
RPi3
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by urbaxe »

Me to, from this morning.

2018-05-30 11:30:56.341 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-05-30 11:30:57.345 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-05-30 11:30:58.350 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-05-30 11:30:59.357 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Have any one some information of what this is for kind of problem?
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by Flopp »

I didn’t remember that I have had this error before.

A few days ago it started to give me this error again and now it is gone again.
Nothing changed and no restarts of PC or software.

If more users starts to get this again it must be something with Domoticz that sends data to somewhere?
User avatar
Siewert308SW
Posts: 290
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by Siewert308SW »

Yep, seen it a few times on my Rpi3 loaded Domoticz.
Never understood it but also never payed attention to it as it occurs very rarely.
Also no clue on how to reproduce as i don't know the culprit.
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by Flopp »

I am using a laptop since 6-12 months back with Debian.

So it doesn’t seem to be related to RPi
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by waaren »

Flopp wrote: Monday 11 June 2018 15:01 I didn’t remember that I have had this error before.

A few days ago it started to give me this error again and now it is gone again.
Nothing changed and no restarts of PC or software.

If more users starts to get this again it must be something with Domoticz that sends data to somewhere?
It has something to do with webserver not being able to connect to other processes on the server. This is not bound to a specific kind of server.

In fact if the code reaches that point it protects the server from getting locked because of an exception. If you understand c++ and low level network connection stuff it might be worthwhile for you to look into the source (webserver/connection.cpp starting at line number 89)

For me it is far too complicated to understand the details of what is going on.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by urbaxe »

I switched firewall recently from ipfire to pfsense and after that the problems occurred the first time.
I'll try to disable some security features in the firewall tonight to see if that could be a problem.
I will return with results.
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by urbaxe »

I can not really say what caused the problem to end for me.
I did not find that the firewall would be the problem.
I switched the domoticz port from 8080 to 80 and then the problem disappeared to return again after a while. Then I switched back to 8080 and then the error message disappeared and has not returned. Did some reboots too. So I really can not say what caused my problems to end.
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by urbaxe »

...and now it's back

2018-06-13 08:22:22.401 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-06-13 08:22:23.403 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-06-13 08:22:24.448 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
2018-06-13 08:22:25.498 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by urbaxe »

I found my problem and it was not on Domoticz.
The mechanism behind the problem I do not know, I just know what caused it for me.
It was HAProxy that caused all the errors in the log.
There is a parameter called "Health Check Method" on one of my backends servers pointing to Domoticz on the LAN
This was set to Basic, I changed it to http and then ended all the error messages in the Domoticz log.
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by EddyG »

I am getting this error again on version 4.10915

Code: Select all

2019-07-04 11:25:02.504 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection::start
2019-07-04 11:25:02.752 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start
It happend after I switched to this methode: viewtopic.php?f=6&t=28329&p=217179&hili ... dd#p217179
of running Domoticz as a service under an other user.
A few minutes after this error Domoticz restarted without crash log and no hints to the restart in the domoticz.log.
It looks like it has something to do with my pinger.lua script.

Code: Select all

2019-07-04 11:25:00.562  Status: dzVents: Info:  : ------ Start external script: pinger.lua:, trigger: every 5 minutes
2019-07-04 11:25:00.586  Status: dzVents: Debug: pinger: Checking 192.168.x.xxx
2019-07-04 11:25:00.608  Status: dzVents: Debug: pinger: Checking google-public-dns-a.google.com
2019-07-04 11:25:02.162  Status: dzVents: Debug: pinger: ports defined; Checking 192.168.x.xxx for port 80
2019-07-04 11:25:02.504  Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in co$
2019-07-04 11:25:02.530  Status: dzVents: Debug: pinger: ports defined; Checking 192.168.x.xxx for port 8080
2019-07-04 11:25:02.752  Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in co$
2019-07-04 11:25:02.777  Status: dzVents: Debug: pinger: Checking 192.168.x.xxx
2019-07-04 11:25:02.789  Status: dzVents: Debug: pinger: Checking Diskstation
2019-07-04 11:25:02.803  Status: dzVents: Info:  pinger: ------ Finished pinger.lua
I will remove the pinger.lua and see what happens.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Post by EddyG »

After removing the pinger.lua the error has gone, but domoticz restarts every 15-30 minutes.
So back to normal setup of domoticz running as root.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest