What is the problem?
On most longer prints (10h+) Octopi randomly shutts down and I can't find the reason.
Printing the same GCode from SC-Card works without any issue.
The printer stops moving and extruding. It also cools down the nozzle but keeps the bed on 50°C (printtemp is 70°C).
I already exchanged the SD-Card and tried several sufficient power-supplies. The pi ran with this setup over 1year with the original power without any issues in this area.
I've been digging through the log files now for several days and was able to find the shutdowns, but not reasons for the shutdowns. It seems the pi gets a SIGTERM but I can't find out what ist sending the sigterm. Then Octopi is shutting down and rebooting, then stops responding until I kill the power. After that startup seems quite normal.
Maybe someone sees something in the logs I don't or can push me in the wright direction were to dig further.
The shutdowns happen about 03:11:40 on Dec. 03. Here are excerpts of the logs from around this time (Systeminfo bundle is also attached):
webcamd.log
Starting up webcamDaemon...
--- Configuration: ----------------------------
cfg_file: /boot/octopi.txt
camera: auto
usb options: -r 640x480 -f 15 -y
raspi options: -fps 10
http options: -w ./www-octopi -n --listen 127.0.0.1
Explicitly USB device:
-----------------------------------------------
Found video devices:
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video18
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video10
/root/bin/webcamd: line 184: printf: 0x: invalid hex number
/root/bin/webcamd: line 184: printf: 0x: invalid hex number
<13>Dec 3 03:11:36 root: Starting USB webcam
Checking for VL805 (Raspberry Pi 4)...
- It seems that you don't have VL805 (Raspberry Pi 4).
There should be no problems with USB (a.k.a. select() timeout)
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1 -i input_uvc.so -r 640x480 -f 15 -y -d /dev/video10
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video10
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 15
i: Format............: YUYV
i: JPEG Quality......: 80
i: TV-Norm...........: DEFAULT
Error opening device /dev/video10: video capture not supported.
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
syslog
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: starting application
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: Using V4L2 device.: /dev/video10
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: Desired Resolution: 640 x 480
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: Frames Per Second.: 15
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: Format............: YUYV
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: JPEG Quality......: 80
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: TV-Norm...........: DEFAULT
Dec 3 03:11:36 octopi-cr6max MJPG-streamer [31179]: init_VideoIn failed
Dec 3 03:11:37 octopi-cr6max systemd[1]: webcamd.service: Succeeded.
Dec 3 03:11:37 octopi-cr6max systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Dec 3 03:11:38 octopi-cr6max systemd[1]: webcamd.service: Service RestartSec=1s expired, scheduling restart.
Dec 3 03:11:38 octopi-cr6max systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 26907.
Dec 3 03:11:38 octopi-cr6max systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Dec 3 03:11:38 octopi-cr6max systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Dec 3 03:11:38 octopi-cr6max root: Starting USB webcam
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: starting application
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: Using V4L2 device.: /dev/video10
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: Desired Resolution: 640 x 480
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: Frames Per Second.: 15
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: Format............: YUYV
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: JPEG Quality......: 80
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: TV-Norm...........: DEFAULT
Dec 3 03:11:38 octopi-cr6max MJPG-streamer [31222]: init_VideoIn failed
Dec 3 03:11:39 octopi-cr6max systemd[1]: webcamd.service: Succeeded.
Dec 3 03:11:39 octopi-cr6max systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped target Bluetooth.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Condition check resulted in Turns off Raspberry Pi display backlight on shutdown/reboot being skipped.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Removed slice system-bthelper.slice.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped target Sound Card.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Save/Restore Sound Card State...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped target Timers.
Dec 3 03:11:40 octopi-cr6max systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Dec 3 03:11:40 octopi-cr6max systemd[1]: man-db.timer: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Daily man-db regeneration.
Dec 3 03:11:40 octopi-cr6max systemd[1]: apt-daily-upgrade.timer: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Daily apt upgrade and clean activities.
Dec 3 03:11:40 octopi-cr6max systemd[1]: apt-daily.timer: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Daily apt download activities.
Dec 3 03:11:40 octopi-cr6max systemd[1]: systemd-rfkill.socket: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Dec 3 03:11:40 octopi-cr6max systemd[1]: logrotate.timer: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Daily rotation of log files.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Unmounting RPC Pipe File System...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped target System Time Synchronized.
Dec 3 03:11:40 octopi-cr6max bluetoothd[602]: Terminating
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Bluetooth service...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped target Graphical Interface.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped target Multi-User System.
Dec 3 03:11:40 octopi-cr6max bluetoothd[602]: Stopping SDP server
Dec 3 03:11:40 octopi-cr6max bluetoothd[602]: Exit
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping LSB: Switch to ondemand cpu governor (unless shift key is pressed)...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped target Login Prompts.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Getty on tty1...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Login Service...
Dec 3 03:11:40 octopi-cr6max avahi-daemon[410]: Got SIGTERM, quitting.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Dec 3 03:11:40 octopi-cr6max avahi-daemon[410]: Leaving mDNS multicast group on interface wlan0.IPv6 with address 2003:f9:f706:7100:f25a:4903:d60a:bacd.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping LSB: Change pi's hostname via /boot/octopi-hostname.txt...
Dec 3 03:11:40 octopi-cr6max avahi-daemon[410]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.178.52.
Dec 3 03:11:40 octopi-cr6max systemd[1]: rpi-eeprom-update.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max avahi-daemon[410]: avahi-daemon 0.7 exiting.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Check for Raspberry Pi EEPROM updates.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping HAProxy Load Balancer...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping OpenBSD Secure Shell server...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping rng-tools.service...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Regular background program processing daemon...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping triggerhappy global hotkey daemon...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Configure Bluetooth Modems connected by UART...
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: bits received from HRNG source: 560064
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: bits sent to kernel pool: 508192
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping dphys-swapfile - set up, mount/unmount, and delete a swap file...
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: entropy added to kernel pool: 508192
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping The snappy web interface for your 3D printer...
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS 140-2 successes: 28
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS 140-2 failures: 0
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS 140-2(2001-10-10) Poker: 0
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS 140-2(2001-10-10) Runs: 0
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS 140-2(2001-10-10) Long run: 0
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping LSB: Change pi's password via /boot/octopi-password.txt...
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: HRNG source speed: (min=349.290; avg=521.093; max=541.422)Kibits/s
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: FIPS tests speed: (min=11.394; avg=15.256; max=31.371)Mibits/s
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: Lowest ready-buffers level: 2
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: Entropy starvations: 0
Dec 3 03:11:40 octopi-cr6max rngd[419]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
Dec 3 03:11:40 octopi-cr6max rngd[419]: Exiting...
Dec 3 03:11:40 octopi-cr6max octoprint[405]: #033[36m2022-12-03 03:11:40,323 - octoprint.server - DEBUG - SIGTERM received...#033[0m
Dec 3 03:11:40 octopi-cr6max systemd[1]: triggerhappy.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped triggerhappy global hotkey daemon.
Dec 3 03:11:40 octopi-cr6max systemd[1]: systemd-logind.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Login Service.
Dec 3 03:11:40 octopi-cr6max systemd[1]: cron.service: Main process exited, code=killed, status=15/TERM
Dec 3 03:11:40 octopi-cr6max systemd[1]: cron.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Regular background program processing daemon.
Dec 3 03:11:40 octopi-cr6max octoprint[405]: #033[36m2022-12-03 03:11:40,349 - octoprint.server - DEBUG - Shutting down tornado's IOLoop...#033[0m
Dec 3 03:11:40 octopi-cr6max octoprint[405]: #033[36m2022-12-03 03:11:40,350 - octoprint.server - DEBUG - Tornado's IOLoop stopped#033[0m
Dec 3 03:11:40 octopi-cr6max octoprint[405]: 2022-12-03 03:11:40,351 - octoprint.server - INFO - Shutting down...#033[0m
Dec 3 03:11:40 octopi-cr6max systemd[1]: avahi-daemon.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
Dec 3 03:11:40 octopi-cr6max systemd[1]: bluetooth.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max rng-tools[31234]: Stopping Hardware RNG entropy gatherer daemon: rngd.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Bluetooth service.
Dec 3 03:11:40 octopi-cr6max systemd[1]: haproxy.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped HAProxy Load Balancer.
Dec 3 03:11:40 octopi-cr6max systemd[1]: ssh.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped OpenBSD Secure Shell server.
Dec 3 03:11:40 octopi-cr6max systemd[1]: getty@tty1.service: Main process exited, code=killed, status=15/TERM
Dec 3 03:11:40 octopi-cr6max systemd[1]: getty@tty1.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Getty on tty1.
Dec 3 03:11:40 octopi-cr6max systemd[1]: alsa-restore.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped Save/Restore Sound Card State.
Dec 3 03:11:40 octopi-cr6max systemd[1]: run-rpc_pipefs.mount: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Unmounted RPC Pipe File System.
Dec 3 03:11:40 octopi-cr6max systemd[1]: rng-tools.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped rng-tools.service.
Dec 3 03:11:40 octopi-cr6max systemd[1]: var-swap.swap: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Deactivated swap /var/swap.
Dec 3 03:11:40 octopi-cr6max systemd[1]: dphys-swapfile.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped dphys-swapfile - set up, mount/unmount, and delete a swap file.
Dec 3 03:11:40 octopi-cr6max systemd[1]: raspi-config.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped LSB: Switch to ondemand cpu governor (unless shift key is pressed).
Dec 3 03:11:40 octopi-cr6max systemd[1]: change_hostname.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped LSB: Change pi's hostname via /boot/octopi-hostname.txt.
Dec 3 03:11:40 octopi-cr6max systemd[1]: change_password.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped LSB: Change pi's password via /boot/octopi-password.txt.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Manage Sound Card State (restore and store)...
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopping Permit User Sessions...
Dec 3 03:11:40 octopi-cr6max systemd[1]: rc-local.service: Succeeded.
Dec 3 03:11:40 octopi-cr6max systemd[1]: Stopped /etc/rc.local Compatibility.
Dec 3 03:11:46 octopi-cr6max fake-hwclock[120]: Sat Dec 3 02:11:42 UTC 2022
Dec 3 03:11:46 octopi-cr6max systemd-fsck[138]: e2fsck 1.44.5 (15-Dec-2018)
Dec 3 03:11:46 octopi-cr6max systemd-fsck[138]: rootfs: clean, 67325/1903104 files, 2183941/7725184 blocks
Dec 3 03:11:46 octopi-cr6max systemd[1]: Started Set the console keyboard layout.
Dec 3 03:11:46 octopi-cr6max systemd[1]: Started udev Coldplug all Devices.
Dec 3 03:11:46 octopi-cr6max systemd[1]: Starting Helper to synchronize boot up for ifupdown...
Dec 3 03:11:46 octopi-cr6max systemd[1]: Started Remount Root and Kernel File Systems.
Dec 3 03:11:46 octopi-cr6max systemd[1]: Starting Load/Save Random Seed...
Dec 3 03:11:46 octopi-cr6max systemd[1]: Starting Flush Journal to Persistent Storage...
Dec 3 03:11:46 octopi-cr6max systemd[1]: Starting Create System Users...
Dec 3 03:11:46 octopi-cr6max systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Dec 3 03:11:46 octopi-cr6max systemd[1]: Started Helper to synchronize boot up for ifupdown.
Dec 3 03:11:46 octopi-cr6max systemd[1]: Started Load/Save Random Seed.
Dec 3 03:11:46 octopi-cr6max systemd[1]: Started Create System Users.
Dec 3 03:11:46 octopi-cr6max systemd[1]: Starting Create Static Device Nodes in /dev...
Dec 3 03:11:46 octopi-cr6max kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Dec 3 03:11:46 octopi-cr6max kernel: [ 0.000000] Linux version 5.10.103-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1529 SMP Tue Mar 8 12:24:00 GMT 2022
octoprint.log
2022-12-03 03:09:53,089 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:10:00,874 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:10:00,924 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:10:10,877 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:10:10,927 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:10:20,879 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:10:20,900 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:10:30,882 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:10:30,906 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:10:40,886 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:10:40,915 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:10:50,889 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:10:50,953 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:10:59,018 - octoprint.events.fire - DEBUG - Firing event: ZChange (Payload: {'new': 29.96, 'old': 29.84})
2022-12-03 03:10:59,019 - octoprint.events - DEBUG - Sending action to <bound method ZTimelapse._on_z_change of <octoprint.timelapse.ZTimelapse object at 0xaae5b5f0>>
2022-12-03 03:10:59,019 - octoprint.timelapse - DEBUG - Capturing image to /home/pi/.octoprint/timelapse/tmp/Sockkel Glaskugeln - 10cm _v02 PETG CCR6SElw 0.3mm lh 0.12mm if 42.0% ext1 220.0C bed 70.0C_20221202171528-0.jpg
2022-12-03 03:10:59,020 - octoprint.plugin - DEBUG - Calling on_event on action_command_notification
2022-12-03 03:10:59,021 - octoprint.plugin - DEBUG - Calling on_event on action_command_prompt
2022-12-03 03:10:59,021 - octoprint.plugin - DEBUG - Calling on_event on announcements
2022-12-03 03:10:59,022 - octoprint.plugin - DEBUG - Calling on_event on file_check
2022-12-03 03:10:59,022 - octoprint.plugin - DEBUG - Calling on_event on firmware_check
2022-12-03 03:10:59,022 - octoprint.plugin - DEBUG - Calling on_event on pluginmanager
2022-12-03 03:10:59,023 - octoprint.plugin - DEBUG - Calling on_event on softwareupdate
2022-12-03 03:10:59,023 - octoprint.plugin - DEBUG - Calling on_event on tracking
2022-12-03 03:10:59,027 - octoprint.plugin - DEBUG - Calling on_event on PrintTimeGenius
2022-12-03 03:10:59,031 - octoprint.timelapse - DEBUG - Going to capture /home/pi/.octoprint/timelapse/tmp/Sockkel Glaskugeln - 10cm _v02 PETG CCR6SElw 0.3mm lh 0.12mm if 42.0% ext1 220.0C bed 70.0C_20221202171528-0.jpg from http://127.0.0.1:8080/?action=snapshot
2022-12-03 03:10:59,031 - octoprint.plugin - DEBUG - Calling on_event on backupscheduler
2022-12-03 03:10:59,045 - octoprint.timelapse - ERROR - Could not capture image /home/pi/.octoprint/timelapse/tmp/Sockkel Glaskugeln - 10cm _v02 PETG CCR6SElw 0.3mm lh 0.12mm if 42.0% ext1 220.0C bed 70.0C_20221202171528-0.jpg from http://127.0.0.1:8080/?action=snapshot
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/connection.py", line 175, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.7/http/client.py", line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/connection.py", line 187, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x9c5e8db0>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/requests/adapters.py", line 499, in send
timeout=timeout,
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/connectionpool.py", line 788, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/oprint/lib/python3.7/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /?action=snapshot (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x9c5e8db0>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/timelapse.py", line 758, in _perform_capture
verify=self._snapshot_validate_ssl,
File "/home/pi/oprint/lib/python3.7/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /?action=snapshot (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x9c5e8db0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2022-12-03 03:10:59,046 - octoprint.plugin - DEBUG - Calling on_event on bedlevelvisualizer
2022-12-03 03:10:59,052 - octoprint.plugin - DEBUG - Calling on_event on detailedprogress
2022-12-03 03:10:59,054 - octoprint.plugin - DEBUG - Calling on_event on excluderegion
2022-12-03 03:10:59,057 - octoprint.plugin - DEBUG - Calling on_event on octopod
2022-12-03 03:10:59,059 - octoprint.plugin - DEBUG - Calling on_event on printhistory
2022-12-03 03:10:59,062 - octoprint.plugin - DEBUG - Calling on_event on prusaslicerthumbnails
2022-12-03 03:10:59,065 - octoprint.plugin - DEBUG - Calling on_event on uicustomizer
2022-12-03 03:10:59,072 - octoprint.plugin - DEBUG - Calling on_event on webdavbackup
2022-12-03 03:10:59,079 - octoprint.events.fire - DEBUG - Firing event: CaptureStart (Payload: {'file': '/home/pi/.octoprint/timelapse/tmp/Sockkel Glaskugeln - 10cm _v02 PETG CCR6SElw 0.3mm lh 0.12mm if 42.0% ext1 220.0C bed 70.0C_20221202171528-0.jpg'})
2022-12-03 03:10:59,081 - octoprint.plugin - DEBUG - Calling on_event on action_command_notification
2022-12-03 03:10:59,083 - octoprint.plugin - DEBUG - Calling on_event on action_command_prompt
2022-12-03 03:10:59,085 - octoprint.plugin - DEBUG - Calling on_event on announcements
2022-12-03 03:10:59,086 - octoprint.plugin - DEBUG - Calling on_event on file_check
2022-12-03 03:10:59,088 - octoprint.plugin - DEBUG - Calling on_event on firmware_check
2022-12-03 03:10:59,090 - octoprint.plugin - DEBUG - Calling on_event on pluginmanager
2022-12-03 03:10:59,091 - octoprint.plugin - DEBUG - Calling on_event on softwareupdate
2022-12-03 03:10:59,093 - octoprint.plugin - DEBUG - Calling on_event on tracking
2022-12-03 03:10:59,097 - octoprint.plugin - DEBUG - Calling on_event on PrintTimeGenius
2022-12-03 03:10:59,099 - octoprint.plugin - DEBUG - Calling on_event on backupscheduler
2022-12-03 03:10:59,101 - octoprint.plugin - DEBUG - Calling on_event on bedlevelvisualizer
2022-12-03 03:10:59,103 - octoprint.plugin - DEBUG - Calling on_event on detailedprogress
2022-12-03 03:10:59,104 - octoprint.plugin - DEBUG - Calling on_event on excluderegion
2022-12-03 03:10:59,106 - octoprint.plugin - DEBUG - Calling on_event on octopod
2022-12-03 03:10:59,108 - octoprint.plugin - DEBUG - Calling on_event on printhistory
2022-12-03 03:10:59,109 - octoprint.plugin - DEBUG - Calling on_event on prusaslicerthumbnails
2022-12-03 03:10:59,111 - octoprint.plugin - DEBUG - Calling on_event on uicustomizer
2022-12-03 03:10:59,113 - octoprint.plugin - DEBUG - Calling on_event on webdavbackup
2022-12-03 03:10:59,118 - octoprint.events.fire - DEBUG - Firing event: CaptureFailed (Payload: {'file': '/home/pi/.octoprint/timelapse/tmp/Sockkel Glaskugeln - 10cm _v02 PETG CCR6SElw 0.3mm lh 0.12mm if 42.0% ext1 220.0C bed 70.0C_20221202171528-0.jpg', 'error': "HTTPConnectionPool(host='127.0.0.1', port=8080): Max retries exceeded with url: /?action=snapshot (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x9c5e8db0>: Failed to establish a new connection: [Errno 111] Connection refused'))", 'url': 'http://127.0.0.1:8080/?action=snapshot'})
2022-12-03 03:10:59,119 - octoprint.plugin - DEBUG - Calling on_event on action_command_notification
2022-12-03 03:10:59,120 - octoprint.plugin - DEBUG - Calling on_event on action_command_prompt
2022-12-03 03:10:59,121 - octoprint.plugin - DEBUG - Calling on_event on announcements
2022-12-03 03:10:59,122 - octoprint.plugin - DEBUG - Calling on_event on file_check
2022-12-03 03:10:59,123 - octoprint.plugin - DEBUG - Calling on_event on firmware_check
2022-12-03 03:10:59,123 - octoprint.plugin - DEBUG - Calling on_event on pluginmanager
2022-12-03 03:10:59,124 - octoprint.plugin - DEBUG - Calling on_event on softwareupdate
2022-12-03 03:10:59,125 - octoprint.plugin - DEBUG - Calling on_event on tracking
2022-12-03 03:10:59,127 - octoprint.plugin - DEBUG - Calling on_event on PrintTimeGenius
2022-12-03 03:10:59,128 - octoprint.plugin - DEBUG - Calling on_event on backupscheduler
2022-12-03 03:10:59,129 - octoprint.plugin - DEBUG - Calling on_event on bedlevelvisualizer
2022-12-03 03:10:59,129 - octoprint.plugin - DEBUG - Calling on_event on detailedprogress
2022-12-03 03:10:59,130 - octoprint.plugin - DEBUG - Calling on_event on excluderegion
2022-12-03 03:10:59,131 - octoprint.plugin - DEBUG - Calling on_event on octopod
2022-12-03 03:10:59,132 - octoprint.plugin - DEBUG - Calling on_event on printhistory
2022-12-03 03:10:59,133 - octoprint.plugin - DEBUG - Calling on_event on prusaslicerthumbnails
2022-12-03 03:10:59,133 - octoprint.plugin - DEBUG - Calling on_event on uicustomizer
2022-12-03 03:10:59,134 - octoprint.plugin - DEBUG - Calling on_event on webdavbackup
2022-12-03 03:11:00,891 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:11:00,968 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:11:10,892 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:11:11,380 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:11:20,894 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:11:20,908 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:11:30,896 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:11:31,166 - octoprint.plugins.action_command_notification - INFO - Got a notification: Good accuracy
2022-12-03 03:11:40,323 - octoprint.server - DEBUG - SIGTERM received...
2022-12-03 03:11:40,349 - octoprint.server - DEBUG - Shutting down tornado's IOLoop...
2022-12-03 03:11:40,350 - octoprint.server - DEBUG - Tornado's IOLoop stopped
2022-12-03 03:11:40,351 - octoprint.server - INFO - Shutting down...
2022-12-03 03:11:40,898 - octoprint.plugins.detailedprogress - INFO - Message: Good accuracy
2022-12-03 03:11:41,158 - octoprint.server - INFO - Calling on_shutdown on plugins
2022-12-03 03:11:41,159 - octoprint.plugin - DEBUG - Calling on_shutdown on discovery
2022-12-03 03:11:41,159 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2022-12-03 03:11:41,159 - octoprint.events.fire - DEBUG - Firing event: Shutdown (Payload: None)
2022-12-03 03:11:41,160 - octoprint.plugin - DEBUG - Calling on_event on action_command_notification
2022-12-03 03:11:41,160 - octoprint.plugin - DEBUG - Calling on_event on action_command_prompt
2022-12-03 03:11:41,161 - octoprint.plugin - DEBUG - Calling on_event on announcements
2022-12-03 03:11:41,161 - octoprint.plugin - DEBUG - Calling on_event on file_check
2022-12-03 03:11:41,161 - octoprint.plugin - DEBUG - Calling on_event on firmware_check
2022-12-03 03:11:41,161 - octoprint.plugin - DEBUG - Calling on_event on pluginmanager
2022-12-03 03:11:41,162 - octoprint.plugin - DEBUG - Calling on_event on softwareupdate
2022-12-03 03:11:41,162 - octoprint.plugin - DEBUG - Calling on_event on tracking
2022-12-03 03:11:41,165 - octoprint.plugin - DEBUG - Calling on_event on PrintTimeGenius
2022-12-03 03:11:41,165 - octoprint.plugin - DEBUG - Calling on_event on backupscheduler
2022-12-03 03:11:41,166 - octoprint.plugin - DEBUG - Calling on_event on bedlevelvisualizer
2022-12-03 03:11:41,166 - octoprint.plugin - DEBUG - Calling on_event on detailedprogress
2022-12-03 03:11:41,166 - octoprint.plugin - DEBUG - Calling on_event on excluderegion
2022-12-03 03:11:41,187 - octoprint.plugin - DEBUG - Calling on_event on octopod
2022-12-03 03:11:41,363 - octoprint.plugin - DEBUG - Calling on_event on printhistory
2022-12-03 03:11:41,377 - zeroconf - WARNING - Error with socket 6 (('192.168.178.52', 5353))): [Errno 101] Network is unreachable
Traceback (most recent call last):
File "/usr/lib/python3.7/asyncio/selector_events.py", line 987, in sendto
self._sock.sendto(data, addr)
OSError: [Errno 101] Network is unreachable
2022-12-03 03:11:41,383 - octoprint.plugin - DEBUG - Calling on_event on prusaslicerthumbnails
2022-12-03 03:11:41,389 - octoprint.plugin - DEBUG - Calling on_event on uicustomizer
2022-12-03 03:11:41,390 - octoprint.plugin - DEBUG - Calling on_event on webdavbackup
2022-12-03 03:11:41,396 - octoprint.events - INFO - Event loop shut down
2022-12-03 03:11:41,403 - octoprint.plugin - DEBUG - Calling on_shutdown on tracking
2022-12-03 03:11:41,430 - octoprint.plugin - DEBUG - Calling on_shutdown on PrintTimeGenius
2022-12-03 03:11:41,435 - octoprint.plugin - DEBUG - Calling on_shutdown on filemanager
2022-12-03 03:11:41,435 - octoprint.server - INFO - Goodbye!
2022-12-03 03:11:48,539 - octoprint.startup - INFO - ******************************************************************************
2022-12-03 03:11:48,541 - octoprint.startup - INFO - Starting OctoPrint 1.8.6
2022-12-03 03:11:48,544 - octoprint.startup - INFO - ******************************************************************************
What did you already try to solve it?
- changed SD-Card
- changed PowerSupply
- checked free disk space
- changed password and APIU Keys
Systeminfo Bundle
octoprint-systeminfo-20221203131150.zip (990.3 KB)
Additional information about your setup
- OctoPrint: Version 1.8.6
- OrctoPi: Version 0.18.0
- Raspberry Pi 4 Model B Rev 1.4
- Printer: Creality CR6 Max
- Firmware: Community Firmware release 6.1