Skip to content

debounce cnt = 2 ? #18

@dingausmwald

Description

@dingausmwald

Me again.

Just got this:

Jun 06 23:11:14 lampe-links python3[674]: av_interleaved_write_frame(): Network is unreachable
Jun 06 23:11:14 lampe-links python3[674]: Error writing trailer of udp://192.168.99.1:10001: Network is unreachable
Jun 06 23:11:17 lampe-links python3[525]: Exception in thread Thread-4:
Jun 06 23:11:17 lampe-links python3[525]: Traceback (most recent call last):
Jun 06 23:11:17 lampe-links python3[525]: File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Jun 06 23:11:17 lampe-links python3[525]: self.run()
Jun 06 23:11:17 lampe-links python3[525]: File "/usr/lib/python3.9/threading.py", line 892, in run
Jun 06 23:11:17 lampe-links python3[525]: self._target(*self._args, **self._kwargs)
Jun 06 23:11:17 lampe-links python3[525]: File "/usr/lib/python3/dist-packages/picamera2/encoders/v4l2_encoder.py", line 201, in thread_poll
Jun 06 23:11:17 lampe-links python3[525]: self.outputframe(b, keyframe, (buf.timestamp.secs * 1000000) + buf.timestamp.usecs)
Jun 06 23:11:17 lampe-links python3[525]: File "/usr/lib/python3/dist-packages/picamera2/encoders/encoder.py", line 260, in outputframe
Jun 06 23:11:17 lampe-links python3[525]: out.outputframe(frame, keyframe, timestamp)
Jun 06 23:11:17 lampe-links python3[525]: File "/usr/lib/python3/dist-packages/picamera2/outputs/ffmpegoutput.py", line 84, in outputframe
Jun 06 23:11:17 lampe-links python3[525]: self.ffmpeg.stdin.write(frame)
Jun 06 23:11:17 lampe-links python3[525]: BrokenPipeError: [Errno 32] Broken pipe
Jun 06 23:12:50 lampe-links python3[525]: 23:12:50 - ERROR - MQTT broker was disconnected: errorcode=1
Jun 06 23:12:50 lampe-links python3[525]: 23:12:50 - ERROR - - by router , WIFI access point channel has changed?
Jun 06 23:12:50 lampe-links python3[525]: 23:12:50 - ERROR - MQTT broker was disconnected: errorcode=1
Jun 06 23:12:50 lampe-links python3[525]: 23:12:50 - ERROR - - by router , WIFI access point channel has changed?
Jun 06 23:12:50 lampe-links python3[525]: 23:12:50 - INFO - disconnect debounce cnt = 2
Jun 06 23:12:50 lampe-links python3[525]: 23:12:50 - ERROR - connction broken - exit
Jun 06 23:13:32 lampe-links python3[525]: 23:13:32 - INFO - picam2ctrl MQTT Goodbye!

network went down. Why there is a counter that counts 2 and exits? I was expecting a indefinite reconnect attempt.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions