Octoprint Starting Without Error; But Web Interface Unavailable 1.11.2

What is the problem?

After running plugin updates (I don't recall which, I just saw the popup and figured why not) and restarting the Raspberry Pi (3B), OctoPrint won't show the web interface. The port responds and I see the "OctoPrint is still starting up, please wait..." screen, but it stays this way for hours. I've rebooted the pi, restarted the service, and attempted safe mode with no such luck.

I'm running the pi over Ethernet so there shouldn't be any problems with latency or interference with wifi and the power supply is capable of providing 2.4A.

What did you already try to solve it?

  • Rebooted the Raspberry Pi
  • Restarted the OctoPrint service
  • Reviewed the octoprint.log file for errors
  • Started OctoPrint in safe mode

Have you tried running in safe mode?

Yes :frowning:

Did running in safe mode solve the problem?

No :sob:

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

I don't have access to the web interface so I can't get the 'official' bundle but I've glued together the logs as requested in the systeminfo bundle page.

octologs.zip (409.8 KB)

I also tried the command posted on Unable to connect to OctoPrint web interface - #2 by PrintedWeezl , both with and without the ., but it just sat for 10+ minutes without outputting anything useful (other than the grep copyright information) or returning to the system prompt. I also don't see anything using high cpu or writing anything to the current directory so I'm not sure what it should be doing.

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

  • Octo*
    • OctoPi 1.0.0
    • OctoPrint 1.11.2
    • Rpi host: Raspbian 11
  • Printer
    • Model: Ender 3 Pro
    • Firmware: Klipper v0.13.0-89-g6f87a4e6
  • Computer
    • Windows 10 Pro
    • Firefox v140
    • MS Edge v138
    • Connected via Ethernet

WRITE HERE

here

In this link it is described how to get the systeminfo bundle via ssh.

Have you cleared the browser cache with Crtl-F5?

Unfortunately that did not work for me, below is the output of the command. I had left it running since I posted this yesterday and just now stopped it manually.

pi@octopi:~ $ date
Sun  3 Aug 14:40:14 EDT 2025
pi@octopi:~ $ ~/oprint/bin/octoprint systeminfo
grep (GNU grep) 3.6
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others; see
<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.

^C^C
Aborted!
pi@octopi:~ $ date
Mon  4 Aug 12:31:59 EDT 2025
pi@octopi:~ $

Yes I've tried clearing the cache with ctrl+shift+r, ctrl+F5, incognito/private browsing, and using different browsers.

This morning the octoprint webpage simply showed " Looks like something went wrong during startup, the server is gone again. You should check octoprint.log." but the logs are still showing the heartbeat.

[...]
2025-08-03 23:59:36,816 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2025-08-04 00:14:36,817 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2025-08-04 00:29:36,818 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2025-08-04 00:44:36,818 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2025-08-04 00:59:36,819 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2025-08-04 01:14:36,820 - octoprint.server.heartbeat - INFO - Server heartbeat <3

I'm not opposed to a reinstall, but if this is fixable, that is my preferred solution.

How much free disk space do you have? Possibly have a full storage device?

I wish it was that easy, plenty of disk space here

pi@octopi:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  9.2G  4.6G  67% /
devtmpfs        307M     0  307M   0% /dev
tmpfs           436M     0  436M   0% /dev/shm
tmpfs           175M 1008K  174M   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/mmcblk0p1  255M   51M  205M  20% /boot
tmpfs            88M     0   88M   0% /run/user/1000

pi@octopi:~ $ df -i
Filesystem     Inodes IUsed  IFree IUse% Mounted on
/dev/root      954720 87076 867644   10% /
devtmpfs        78518   417  78101    1% /dev
tmpfs          111414     1 111413    1% /dev/shm
tmpfs          819200   648 818552    1% /run
tmpfs          111414     3 111411    1% /run/lock
/dev/mmcblk0p1      0     0      0     - /boot
tmpfs           22282    18  22264    1% /run/user/1000

If the storage was full the log would stop writing. But the heartbeat is going and nothing in the log indicates any kind of error.

Does the recovery page work? You should be able to reach it by attaching /recovery/ to the end of your regular address. Does the reverse proxy test at /proxy-test/ work and report all green?

Unfortunately not; both pages return 502s in my browser and in the haproxy logs

Aug 04 13:07:51 octopi haproxy public octoprint/octoprint1 0/0/1/3/5 200 11261 - - ---- 2/2/0/0/0 0/0 "GET / HTTP/1.1"
Aug 04 13:07:52 octopi haproxy public~ octoprint/octoprint1 0/0/2/3/6 200 11261 - - ---- 1/1/0/0/0 0/0 "GET / HTTP/1.1
Aug 04 17:09:08 octopi haproxy public~ octoprint/octoprint1 0/0/3/-1/6 502 214 - - PH-- 1/1/0/0/0 0/0 "GET /proxy-test/ HTTP/1.1"
Aug 04 17:09:08 octopi haproxy public~ octoprint/octoprint1 0/0/1/3/4 200 844 - - ---- 1/1/0/0/0 0/0 "GET /favicon.ico HTTP/1.1"
Aug 04 17:09:13 octopi haproxy public~ octoprint/octoprint1 0/0/2/-1/6 502 214 - - PH-- 1/1/0/0/0 0/0 "GET /proxy-test/ HTTP/1.1"
Aug 04 17:09:48 octopi haproxy public~ octoprint/octoprint1 0/0/1/-1/7 502 214 - - PH-- 1/1/0/0/0 0/0 "GET /proxy-test/ HTTP/1.1"
Aug 04 17:09:55 octopi haproxy public~ octoprint/octoprint1 0/0/1/-1/5 502 214 - - PH-- 1/1/0/0/0 0/0 "GET /recovery/ HTTP/1.1"
Aug 04 17:09:57 octopi haproxy public~ octoprint/octoprint1 0/0/1/-1/4 502 214 - - PH-- 1/1/0/0/0 0/0 "GET /recovery/ HTTP/1.1"

Does sudo netstat -tulpen even still show the server as running? Does ps -ef | grep -i octoprint?

Tbh, this is an error case I've never seen before, and it sounds broken AF. You could try if ~/oprint/bin/pip --force-reinstall OctoPrint followed by a restart helps, but that's just a shout in the dark. Won't touch your data btw, just reinstall OctoPrint instead and hopefully clear up any possible corruption.

Other than that I'm out of ideas, the error behaviour doesn't make much sense tbh.

Also, maybe try a stock haproxy config, if your current one was modified (which if I read this log correctly it was).

The e is a new switch for me but I see several ports listening and a curl at localhost:5000 shows the startup page that I get in the browser when I hit port 443.

pi@octopi:~ $ sudo netstat -tunlpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
tcp        0      0 127.0.0.1:5000          0.0.0.0:*               LISTEN      1000       1236711    13154/python
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      0          9795       518/./mjpg_streamer
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          10834      533/sshd: /usr/sbin
tcp6       0      0 :::22                   :::*                    LISTEN      0          10836      533/sshd: /usr/sbin
tcp6       0      0 :::80                   :::*                    LISTEN      0          11043      755/haproxy
tcp6       0      0 :::443                  :::*                    LISTEN      0          11044      755/haproxy
udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12141      740/dhcpcd
udp        0      0 0.0.0.0:55383           0.0.0.0:*                           108        10786      391/avahi-daemon: r
udp        0      0 192.168.10.11:5353      0.0.0.0:*                           1000       1234931    13154/python
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1000       1234927    13154/python
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        10784      391/avahi-daemon: r
udp6       0      0 :::546                  :::*                                0          12167      740/dhcpcd
udp6       0      0 :::32933                :::*                                108        10787      391/avahi-daemon: r
udp6       0      0 :::5353                 :::*                                108        10785      391/avahi-daemon: r

The process list shows octoprint as well and the systemctl output looked good, which makes sense due to the lack of errors in the logs.

pi@octopi:~ $ sudo ps -ef | grep -i octoprint
pi        3717 20334  0 17:41 pts/1    00:00:00 grep --color=auto -i octoprint
pi       13154     1  0 Aug03 ?        00:03:30 /home/pi/oprint/bin/python /home/pi/oprint/bin/octoprint serve --host=127.0.0.1 --port=5000

pi@octopi:~ $ systemctl status octoprint
● octoprint.service - The snappy web interface for your 3D printer
     Loaded: loaded (/etc/systemd/system/octoprint.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2025-08-03 01:29:20 EDT; 1 day 16h ago
   Main PID: 13154 (octoprint)
      Tasks: 21 (limit: 1472)
        CPU: 3min 37.488s
     CGroup: /system.slice/octoprint.service
             β”œβ”€ 9782 [vcgencmd]
             β”œβ”€12333 [vcgencmd]
             β”œβ”€13154 /home/pi/oprint/bin/python /home/pi/oprint/bin/octoprint serve --host=127.0.0.1 --port=5000
             └─13273 /usr/bin/vcgencmd get_throttled

Aug 04 17:42:03 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:03] "GET /intermediary.gif?_=1754343724328 HTTP/1.1" 200 -
Aug 04 17:42:04 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:04] "GET /online.gif?_=1754343724770 HTTP/1.1" 404 -
Aug 04 17:42:04 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:04] "GET /intermediary.gif?_=1754343725351 HTTP/1.1" 200 -
Aug 04 17:42:06 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:06] "GET /intermediary.gif?_=1754343726370 HTTP/1.1" 200 -
Aug 04 17:42:07 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:07] "GET /intermediary.gif?_=1754343727401 HTTP/1.1" 200 -
Aug 04 17:42:08 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:08] "GET /intermediary.gif?_=1754343728425 HTTP/1.1" 200 -
Aug 04 17:42:09 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:09] "GET /intermediary.gif?_=1754343729458 HTTP/1.1" 200 -
Aug 04 17:42:10 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:10] "GET /intermediary.gif?_=1754343730483 HTTP/1.1" 200 -
Aug 04 17:42:11 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:11] "GET /intermediary.gif?_=1754343731508 HTTP/1.1" 200 -
Aug 04 17:42:12 octopi octoprint[13154]: 127.0.0.1 - - [04/Aug/2025 17:42:12] "GET /intermediary.gif?_=1754343732537 HTTP/1.1" 200 -

Sadly the reinstall didn't bring anything back to life, maybe my SD card just silently died. I don't think I modified the haproxy config (at least not intentionally), but I'm not afraid to blow everything away, I just figured I'd ask since there were no errors and that seemed very bizarre.

Thank you for your help, I've been backing OctoPrint on patreon for a little while but signed up with the wrong email here (oops). I appreciate the support this community provides.

1 Like

Indeed, it is very bizarre.

One thing you could try is cut out haproxy and see if that gets you a working page. Shutdown OctoPrint, and run out manually in the console:

sudo systemctl stop octoprint 
~/oprint/bin/octoprint serve --host 0.0.0.0

and then try connecting to your server at port 5000 from a browser. If that still fails, see if the browser's error console contains anything meaningful (F12).

But yeah, given that there are no errors getting logged, the server is running but apparently just not serving any requests anymore, and even a reinstall doesn't work, I'm a bit at a loss. It sounds like it might be stuck in serving the intermediary server from startup, but that should get stopped and the full server be fired up during start. You should be able to observe that through the log too.

Unfortunately my day job is in IT and I don't have the energy to troubleshoot this in too much depth after troubleshooting stuff all day at work. I ended up just nuking the install yesterday and starting fresh.

Thank you again. I'm not sure if I should mark this reply, noting a fresh install, as the solution or leave this unresolved since I didn't end up "fixing" the installation.

Totally understandable, I'm not much into debugging during my free time either thanks to having to do it enough during my full time work on OctoPrint :sweat_smile:

I took the liberty to mark your post as the solution as it is how you solved it, even though we didn't figure out the reason. I just hope things will work as they should from more on!

1 Like