『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 11303|回复: 6

[求助] hassio中Node-RED出现502 bad gateway怎么解决

[复制链接]

32

主题

146

帖子

1257

积分

金牌会员

Rank: 6Rank: 6

积分
1257
金钱
1111
HASS币
0
发表于 2021-4-16 14:53:04 | 显示全部楼层 |阅读模式
请问hassio中Node-RED出现502 bad gateway怎么解决,按照https://blog.csdn.net/weixin_44968310/article/details/102757153仍然无法解决,网上也找不到其他办法,请问各位有出现吗?

回复

使用道具 举报

1

主题

113

帖子

1499

积分

金牌会员

Rank: 6Rank: 6

积分
1499
金钱
1386
HASS币
0
发表于 2021-4-16 17:13:03 | 显示全部楼层
本帖最后由 Weilin 于 2021-4-16 17:26 编辑

credential_secret: 輸入任意大+小寫英數
dark_mode: false
http_node:
  username: 輸入任意大+小寫英數
  password: 輸入任意大+小寫英數
http_static:
  username: 輸入任意大+小寫英數
  password: 輸入任意大+小寫英數


兩處的帳號與密碼不要重複,自己是這樣解決的
回复

使用道具 举报

1

主题

198

帖子

2185

积分

金牌会员

Rank: 6Rank: 6

积分
2185
金钱
1987
HASS币
0
发表于 2021-4-16 21:43:53 | 显示全部楼层
Log里面应该有详细的错误信息
回复

使用道具 举报

0

主题

1

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
17
HASS币
0
发表于 2023-5-26 10:35:29 | 显示全部楼层
解决了么我的出现了和你一样的情况
回复

使用道具 举报

0

主题

5

帖子

55

积分

注册会员

Rank: 2

积分
55
金钱
50
HASS币
0
发表于 2023-5-31 16:46:19 | 显示全部楼层
试了好多次了,不行啊。
哪位大神帮解决一下
1.png
2.png
回复

使用道具 举报

2

主题

240

帖子

1278

积分

论坛积极会员

积分
1278
金钱
1038
HASS币
0
发表于 2023-6-8 07:16:56 | 显示全部楼层
我也是这个问题,有大神帮忙看看吗?
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: Node-RED
Flow-based programming for the Internet of Things
-----------------------------------------------------------
Add-on version: 14.2.2
You are running the latest version of this add-on.
System: Home Assistant OS 10.2  (amd64 / qemux86-64)
Home Assistant Core: 2023.5.4
Home Assistant Supervisor: 2023.06.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-customizations: starting
s6-rc: info: service init-customizations successfully started
s6-rc: info: service init-nodered: starting
/etc/s6-overlay/s6-rc.d/init-nodered/run: line 68:   215 Illegal instruction     (core dumped) npm uninstall node-red-contrib-home-assistant node-red-contrib-home-assistant-llat node-red-contrib-home-assistant-ws
[07:16:29] WARNING: Failed un-installing conflicting packages
s6-rc: info: service init-nodered successfully started
s6-rc: info: service nodered: starting
s6-rc: info: service init-nginx successfully started
s6-rc: info: service nodered successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
[07:16:29] INFO: Starting Node-RED...
s6-rc: info: service legacy-services successfully started
[07:16:29] INFO: Service Node-RED exited with code 256 (by signal 4)
[07:16:31] INFO: Starting Node-RED...
[07:16:31] INFO: Service Node-RED exited with code 256 (by signal 4)
[07:16:32] INFO: Starting Node-RED...
[07:16:32] INFO: Service Node-RED exited with code 256 (by signal 4)
[07:16:33] INFO: Starting Node-RED...
[07:16:33] INFO: Service Node-RED exited with code 256 (by signal 4)
[07:16:34] INFO: Starting Node-RED...
[07:16:35] INFO: Service Node-RED exited with code 256 (by signal 4)
[07:16:36] INFO: Starting Node-RED...
[07:16:36] INFO: Service Node-RED exited with code 256 (by signal 4)
回复

使用道具 举报

17

主题

327

帖子

2202

积分

金牌会员

Rank: 6Rank: 6

积分
2202
金钱
1860
HASS币
70
发表于 2023-6-8 09:24:12 | 显示全部楼层
我也遇到过这个问题,最后我nodered没有通过HA的加载项安装,找了个虚拟机单独安装的nodered
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-30 03:42 , Processed in 0.093179 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表