2017-06-06 152 views
2

我試圖保護訪問一些閃亮的應用程序通過https服務通過我們的網絡服務器和使用auth0登錄。 閃亮的應用程序不能通過https工作,雖然他們通過http工作。閃亮的應用程序變灰 - 通過SSL的nginx代理

系統信息:

  • 的nginx/1.10.2
  • 閃亮服務器v1.5.3.838
  • Node.js的v6.10.0
  • 的CentOS Linux的發佈1611年3月7日(核心)

的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:格式化: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:格式化:265Wed Jun 07 2017 18:08:39 GMT-0400(EDT)[DBG]:SockJS連接已關閉 shiny-server-client .min.js:格式化:265Wed Jun 07 2017 18:08:39 GMT-0400(EDT)[DBG]:頻道0已關閉 shiny-server-client.min.js:格式化:265Wed Jun 07 2017 18:08 :39 GMT-0400(EDT)[DBG]:刪除頻道0,剩下0 shiny-server-client.min.js:1 Wed Jun 07 2017 18:08:39 GMT-0400(EDT)[INF]:Error :WebSocket已關閉 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 Wed Jun 07 2017 18:08:39 GMT-0400(EDT)[DBG]:頻道0已關閉 shiny-server-client.min。JS:1星期三2017年6月7日18時08分39秒GMT-0400(EDT)[DBG]:刪除信道0,0左

屏幕截圖示出下面 Shiny apps greyed out over https Shiny apps work fine over http

+0

更新的配置文件包括在要點。 – infominer

回答

3

嘗試增加這些行到您的光澤conf文件:

sanitize_errors off;disable_protocols xdr-streaming xhr-streaming iframe-eventsource iframe-htmlfile; 
+0

這工作!謝謝 – infominer

+0

完美!開心工作 – pari

+0

工作就像一個魅力。謝謝。你能說出這個問題的原因是什麼? –

相關問題