portainer Failure Unable to resize TTY解决方案
来源:互联网 发布:朝鲜妹子 知乎 编辑:程序博客网 时间:2024/06/18 11:42
使用默认端口连接portainer操作控制console不存在这问题,但使用nginx转发https后问题出现,出现如下问题异常 Failure Unable to resize TTY
解决方案
1.不使用nginx进行转发,使用默认的potainer
所提供的ssl连接方案(扩展性单一)。
2.配置nginx
转发服务
nginx -v nginx version: nginx/1.10.2
server { listen 80; server_name portainer.xxxHost.com; return 301 https://$host$request_uri;}server { listen 443; server_name portainer.xxxHost.com; ssl on; ssl_certificate /path/to/ssl/xxxHost.com.crt; ssl_certificate_key /path/to/ssl/xxxHost.com.key; location / { proxy_http_version 1.1; proxy_set_header Connection ""; proxy_pass http://127.0.0.1:9000; } location /api/websocket/ { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_http_version 1.1; proxy_pass http://127.0.0.1:9000/api/websocket/; }}
经分析得出是websockset
出的问题,使用以上两种方案可解决。
阅读全文
1 0
- portainer Failure Unable to resize TTY解决方案
- Unable to load configuration解决方案
- NFS RPC: Port mapper failure - RPC: Unable to receive
- mount clntudp_create: rpc: port mapper failure - rpc: unable to receive
- qt 中 file generation failure: unable to create the directory
- "unable to contact IP driver "解决方案
- Unable to compile class for JSP解决方案
- Unable to resolve target android-5解决方案
- unable to load virtualbox engine解决方案
- Unable to start activity异常的解决方案
- Unable to resolve target 'android-XX'解决方案
- Unable to satisfy the following requirements解决方案
- Unable to download JS bundle 解决方案
- Android "Unable to instantiate fragment"解决方案
- Unable to satisfy the following requirements解决方案
- Unable to satisfy the following requirements解决方案
- unable to appliy class for jsp解决方案
- Unable to add window -- 终极解决方案
- 嵌入式学习笔记(第三天)
- bzoj 5220. 【GDOI2018模拟7.10】C 动态规划
- Vim使用
- 树分治-点分治
- PWC 6033:Error in javac compilation错误
- portainer Failure Unable to resize TTY解决方案
- 【有修改】安装ARM交叉编译器 linux x86 arm gnu工具
- Eclipse报错:Tomcat version 7.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 and 6 Web modules
- 信号的产生于处理
- 欢迎使用CSDN-markdown编辑器
- 洛谷 P1666 前缀单词
- BZOJ 1010: [HNOI2008]玩具装箱toy——斜率优化
- classpath
- HashSet遍历时保证线程安全