[英]Shiny apps greyed out - nginx proxy over ssl
我正在嘗試通過 https 和使用 auth0 登錄來保護對通過我們的網絡服務器提供的一些閃亮應用程序的訪問。 閃亮的應用程序不能通過 https 工作,盡管它們可以通過 http 工作。
系統信息:
console.log 鏈接https://gist.github.com/vasantm/4339b248143fa6b3f8c4d0f1773f33e9
nginx.conf 鏈接https://gist.github.com/vasantm/d98c8ae9de8a8667d9d2e6e59945de62
shiny-server.conf 鏈接https://gist.github.com/vasantm/43a94acd7b9fcf573cdea2a200218425 。
我使用這個參考來配置 nginx 和閃亮的 Running Shiny Server with a Proxy
有什么線索可以通過 SSL 獲得閃亮的工作嗎?
即使在修復錯別字並使用更新的配置之后,我的應用程序也會變灰。 這是更新后的 console.log,我的應用程序仍然顯示為灰色。 然后我取消了上面配置中突出顯示的部分的注釋,但仍然出現錯誤。
這是最新的 console.log
WebSocket 連接到“wss: //kristallab.bwh.harvard.edu/sample-apps/rmd/sockjs /n=DDUjuaZmdQBFbAe8Ni/345/w1oqw659/websocket”失敗:WebSocket 握手期間出錯:意外響應代碼:400WrappedWebSocket @ VM220:35
VM221:35 WebSocket 連接到“wss: //kristallab.bwh.harvard.edu/sample-apps/hello/sockjs /n=NCXw2RGlge88iybomV/805/n61pj5fb/websocket”失敗:WebSocket 握手期間出錯:意外響應代碼:400WrappedWebSocket @ VM221:35 shiny-server-client.min.js:formatted:935Wed Jun 07 2017 18:08:39 GMT-0400 (EDT) [INF]: 錯誤:WebSocket 關閉了 shiny-server-client.min.js:formatted: 935Wed Jun 07 2017 18:08:39 GMT-0400 (EDT) [INF]:連接關閉。 信息:{"isTrusted":false} shiny-server-client.min.js:formatted:265Wed Jun 07 2017 18:08:39 GMT-0400 (EDT) [DBG]: SockJS connection closed shiny-server-client.min .js:formatted:265Wed Jun 07 2017 18:08:39 GMT-0400 (EDT) [DBG]: Channel 0 is closed shiny-server-client.min.js:formatted:265Wed Jun 07 2017 18:08:39 GMT -0400 (EDT) [DBG]: 刪除了通道 0, 0 left shiny-server-client.min.js:1 Wed Jun 07 2017 18:08:39 GMT-0400 (EDT) [INF]: Error: WebSocket closes shiny -server-client.min.js:1 Wed Jun 07 2017 18:08:39 GMT-0400 (EDT) [INF]: 連接關閉。 信息:{"isTrusted":false} shiny-server-client.min.js:1 Wed Jun 07 2017 18:08:39 GMT-0400 (EDT) [DBG]:SockJS 連接已關閉 shiny-server-client.min。 js:1 2017 年 6 月 7 日星期三 18:08:39 GMT-0400 (EDT) [DBG]: 頻道 0 已關閉閃亮服務器客戶端.min.js:1 2017 年 6 月 7 日星期三 18:08:39 GMT-0400 ( EDT) [DBG]: 移除通道 0, 0 左
嘗試將這些行添加到閃亮的 conf 文件中:
sanitize_errors off;disable_protocols xdr-streaming xhr-streaming iframe-eventsource iframe-htmlfile;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.