the broker keeps reporting `read connection: EOF`
skeeey opened this issue · comments
Wei Liu commented
steps:
cd go/src/github.com/mochi-co/mqtt/examples/tcp
go run main.go
1:57PM INF added hook hook=allow-all-auth
1:57PM INF attached listener address=:1883 id=t1 protocol=tcp
1:57PM INF mochi mqtt starting version=2.2.14
1:57PM INF mochi mqtt server started
1:57PM WRN error="read connection: EOF" listener=t1
1:57PM WRN error="read connection: EOF" listener=t1
1:57PM WRN error="read connection: EOF" listener=t1
1:57PM WRN error="read connection: EOF" listener=t1
1:57PM WRN error="read connection: EOF" listener=t1
1:57PM WRN error="read connection: EOF" listener=t1
1:57PM WRN error="read connection: EOF" listener=t1
1:57PM WRN error="read connection: EOF" listener=t1
the server keeps reporting WRN error="read connection: EOF" listener=t1
although I can pub/sub messages successfully
Does this warning message have any impact on the program? can I ignore it?
thanks!
Derek Duncan commented
You can ignore it. You are most likely seeing it because the client as disconnected and closed the connection.