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
Unable to console into containers #1887
Comments
FYI, I'm seeing the same behavior connecting directly to Portainer (i.e. not behind a proxy) |
@FSLDev please open a new issue if you're not using Nginx here. |
@deviantony pr1901 still fails with the same error:
The frontend still displays the |
@nightah Thanks for the feedback, I'll push some new changes soon. |
@nightah I've added a debug statement in |
The problem is that nginx does not allow the websocket connection. location /wsapp/ { |
@intergate thank you this worked for me. Don't forget to rebuild with the
|
I find nginx error
then change nginx.conf
every thing is ok |
Bug description
Since the upgrade to version 1.17.0 Portainer no longer allows console access into any containers when sitting behind a nginx reverse proxy. The web page pops up with an error in the top right reading:
It's also worth noting that rolling back to version 1.16.5 restores Console access.
Expected behavior
Console for respective container to launch for executing commands.
Steps to reproduce the issue:
Steps to reproduce the behavior:
Technical details:
docker run -p 9000:9000 portainer/portainer
):Additional context
The portainer logs show the following error each time a request to console is executed (clicking the Connect button when a shell has been selected).
The instance of Portainer is reverse proxied behind an SSL secured nginx with the following configuration:
proxy.conf
:The text was updated successfully, but these errors were encountered: