【已解答】宝塔Docker部署N8N
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:系统版本:
问题描述:N8N部署完之后访问报错
相关截图(日志、错误):The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead. See https://www.w3.org/TR/powerful-features/#potentially-trustworthy-origin and https://html.spec.whatwg.org/#the-cross-origin-opener-policy-header.TypeError: Cannot read properties of undefined (reading 'ldap') at Proxy.initialize (sso.store-BN_yDmsC.js:16:22) at Proxy.wrappedAction (useTelemetry-BTUGwy7s.js:563:14) at initializeCore (router-BjlAR2wH.js:389:11) at async router-BjlAR2wH.js:1345:3
上面的提示是Origin源不被信任
一般是使用了http引起的
浏览器不信任该域名 我想直接用IP+端口访问的方式,IP是没办法绑定SSL的,这个要怎么解决来着,谢谢 建议添加一个域名进行反代
容器的代码是打包的,不太好改动
或者可以尝试在n8n的容器编排,environment下添加N8N_DISABLE_HTTP_CORS_HEADERS=true(建议先做好快照或备份再尝试) 或者可以尝试在n8n的容器编排,environment下添加N8N_DISABLE_HTTP_CORS_HEADERS=true(建议先做好快照或备份再尝试)---已尝试添加了,还是不行
建议添加一个域名进行反代--也在反向代理那边添加了域名,域名直接访问也不行 要部署ssl SSL也部署的了,还是不行
页:
[1]