"pihole -c" causes pihole-FTL.log - errors / FTL v5.3.4

Pihole-FTL.log filled up with:

[2020-12-27 12:13:01.778 656/T21796] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer

entries.

Anyone able to help on this behaviour?
Seems was there even before 5.3.4 upgrade.

Thanks,
BR,
Mike

My log also contains errors I haven't seen before, although different than yours:

[2020-12-28 07:18:04.106 5236/T16341] WARN: Could not write() everything in ssend() [/root/project/src/api/socket.c:229]: Broken pipe
[2020-12-28 07:22:02.781 5236/T16723] WARN: Could not write() everything in ssend() [/root/project/src/api/socket.c:229]: Broken pipe

maybe topic for the development guys?

FTL-Log will be filled with

[2020-12-28 13:46:41.395 19626/T23562] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer
[2020-12-28 13:46:47.317 19626/T23656] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer
[2020-12-28 13:46:47.337 19626/T23659] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer
[2020-12-28 13:46:47.515 19626/T23690] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer
[2020-12-28 13:46:47.537 19626/T23695] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer
[2020-12-28 13:46:47.563 19626/T23700] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer
[2020-12-28 13:46:47.585 19626/T23703] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer

whenever padd.sh started

Pi-hole® v5.2.2, Web v5.2.2, FTL v5.3.4, PADD v3.4,
Telnet-Version conflict/problem?
pkg -l | grep telnet
ii telnet 0.17-41.2 armhf basic telnet client

Opened issue on github / padd.sh:

1 Like

I have the same setup and same problem. After killing padd.sh, the error stops in pihole-FTL.log. However when I run pihole -c instead of padd, same error appears again.

I think the problem is not related with PADD but with FTL v5.3.4 update running a Chronometer.

It is being worked on:

1 Like

PADD v3.5 is out, no more telnet_connection_error in pihole-FTL.log
Thank you.

already installed .. confirmed, developer did good work - many thanks!

I'm NOT using PADD and I keep getting the error in the log.

[2020-12-31 07:10:20.854 5236/T28841] WARN: Could not write() everything in ssend() [/root/project/src/api/socket.c:229]: Broken pipe
[2020-12-31 07:16:02.559 5236/T29721] WARN: Could not write() everything in ssend() [/root/project/src/api/socket.c:229]: Broken pipe

padd.sh is working, pihole -c still errors

[2020-12-31 09:27:26.555 19626/T2718] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer

opened again bug report

will be fixed in next release:

despite update today
Core: v5.2.2.
Web: v5.2.2.
FTL: v5.3.4.

still not fixed - calling pihole -c

[2021-01-12 19:38:04.186 2402/T5429] WARN: Could not recv() in telnet_connection_handler_thread() (/root/project/src/api/socket.c:319): Connection reset by peer

pihole -up providing update to FTL, after sometime again pihole -up shown FTL update ?!? Kind of loop?!?

This is not the next release. It's only in the development branch now.

then strange why pihole -up gave me update for ftl ....

You were likely on an earlier master. You are now on the latest master, which does not have the indicated fix that is currently in the development branch.

hm, okie, makes sense as the version no of ftl hasnt changed yet.
But how did it happen to get me on an "early master"?

FTL 5.3.4 was released on 12/24/2020. If you have not updated Pi-hole since then, you were still on the previous version of FTL.

The pihole -c fix was merged into development on 12/31/2020, and this will be rolled into the next update of the master branch.

pihole -v gave me
Pi-hole version is v5.2.2 (Latest: v5.2.2)
AdminLTE version is v5.2.2 (Latest: v5.2.2)
FTL version is v5.3.4 (Latest: v5.3.4)

which is fine as of now.
Just running again pihole -up, giving me: