-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Running container on Pi4 doesn't work "Passive login failed" #167
Comments
forgot to say, running the exact same docker command on an x86 computer results in container and octoprint working as expected |
duplicate of #159. @TobbeJ when was the list time you ran |
it is from earlier today, see below # docker image ls |
Can you share your Also can you run this command for me and give me the output?
|
docker run command was as in the initial report, see reproduction steps at the top. # docker inspect --format '{{ index .Config.Labels "org.opencontainers.image.created"}}' octoprint/octoprint:1.5 |
I've been testing aarch64 using ubuntu 64, I wonder if there's a host lib dependency difference that could be causing this? 🤔 Can you give me the output of When you connect to the instance from the browser, are you using IP, mDNS url, or localhost? (are you hitting it from another machine on the network or using a browser installed on that raspberry pi?) I'm going to see if I can reproduce locally. |
i have tested using ip and dns name (not using mdns, i got my own internal dns alias setup) doesn't make any difference # docker info Server: WARNING: No memory limit support |
Thanks. I'll see what I can do, though it might require implementing #161 first so we can get more info for debugging from the container. I'm also studying for some AWS certification tests I have coming next week, so I don't expect I'll have a resolution for this issue right away. If it requires a deep dive, I won't be able to start that work until Jan 23rd. |
i use a browser (chrome) on a different computer since my pi4 with octoprint on it is in a different room without any kind of screen. |
if i use port 5000 instead of 80 it works. so i could test both. |
I wonder if it's something going on with haproxy on this particular arch. |
I've realized the same issue on my testings. It occured when i've restored a backup where in my
What got me working again was setting:
But i guess @LongLiveCHIEF is wondering right about the haproxy. Looks like it isn't forwarding like it would.. |
@TobbeJ where did you get the 64 bit raspbian disto? |
It is normal raspbian with arm_64bit=1 in /boot/config.txt |
I tried to reproduce. Fresh raspbian 64 bit (https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-08-24/2020-08-20-raspios-buster-arm64.zip), fresh docker install, and the exact command you ran, and everything works as expected (I used http://ip-of-my-raspberry-pi). Did this 3 times with the same results. Each new install I made sure to to update the operating system after install. Whatever this is, it's not likely a docker issue, or at least not an issue with this docker image. It could be something with your host or network configuration. |
@TobbeJ Yes. |
Yes what? |
yes to the question you asked that i even quoted so you would know what question I was answering. |
It wasn't a question, it was me replying to you and telling what i did to get 64 bit raspbian. |
I experienced this exact issue today with the latest 32bit raspbian, this worked for me too (remember to change the port mapping in the docker-compose file too):
Thanks @torresmvl ! |
Describe the bug
When starting up the container like described in reproduction steps below, when you open the octoprint web page the initial setup wizard of octoprint should start but instead you end up with an error.
The web page says "Loading error" and the text:
"Passive login failed. Please check your browser's error console and octoprint.log for possible reasons. Also make sure that the server is actually running by reloading this page."
To Reproduce
start container, for example like this:
docker run --rm --name=octoprint -p 80:80 octoprint/octoprint:1.5
on a raspberry pi.
once started, open browser and point it at the container in question and watch the error
Expected behavior
Container starts up and initial setup wizard is displayed.
Screenshots
Desktop (please complete the following information):
Additional context
# uname -a
Linux pi4 5.4.79-v8+ #1373 SMP PREEMPT Mon Nov 23 13:32:41 GMT 2020 aarch64 GNU/Linux
Note that this is aarch64 (Raspbian with 64 bit kernel)
The text was updated successfully, but these errors were encountered: