Skip to content

Instantly share code, notes, and snippets.

@vasantm
Created June 6, 2017 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasantm/4339b248143fa6b3f8c4d0f1773f33e9 to your computer and use it in GitHub Desktop.
Save vasantm/4339b248143fa6b3f8c4d0f1773f33e9 to your computer and use it in GitHub Desktop.
Console logs for shiny apps over http and https
#Only relevant sections shown.
#accessing sample shiny apps over http
#Shiny apps work
#check http://kristallab.bwh.harvard.edu/shiny
Firefox can’t establish a connection to the server at ws://kristallab.bwh.harvard.edu/shiny/sample-apps/rmd/__sockjs__/n=qKJv7DxEojOa0QAHtm/066/46myxph4/websocket. sockjs-0.3.4.min.js:27:17047
"Tue Jun 06 2017 14:12:19 GMT-0400 (EDT) [INF]: Connection opened. http://kristallab.bwh.harvard.edu/shiny/sample-apps/rmd/" shiny-server-client.min.js:1:21729
Tue Jun 06 2017 14:12:19 GMT-0400 (EDT) [DBG]: Open channel 0 shiny-server-client.min.js:1:5323
Firefox can’t establish a connection to the server at ws://kristallab.bwh.harvard.edu/shiny/sample-apps/hello/__sockjs__/n=hVfMnA5kmVkr0PPEt9/930/b2bl2ya6/websocket. sockjs-0.3.4.min.js:27:17047
"Tue Jun 06 2017 14:12:20 GMT-0400 (EDT) [INF]: Connection opened. http://kristallab.bwh.harvard.edu/shiny/sample-apps/hello/" shiny-server-client.min.js:1:21729
Tue Jun 06 2017 14:12:20 GMT-0400 (EDT) [DBG]: Open channel 0 shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:12:21 GMT-0400 (EDT) [DBG]: 2 message(s) discarded from buffer shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:12:22 GMT-0400 (EDT) [DBG]: 2 message(s) discarded from buffer shiny-server-client.min.js:1:5323
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ jquery.min.js:4:26272
Tue Jun 06 2017 14:14:00 GMT-0400 (EDT) [DBG]: Open channel 1 shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:14:02 GMT-0400 (EDT) [DBG]: 2 message(s) discarded from buffer shiny-server-client.min.js:1:5323
######################################################################
#
#
# Accessing sample shiny apps over https
# Shiny apps don't work
# check https://kristallab.bwh.harvard.edu/shiny
Firefox can’t establish a connection to the server at wss://kristallab.bwh.harvard.edu/shiny/sample-apps/rmd/__sockjs__/n=0E7fWQksCZIleF0kCN/583/fxczd8q6/websocket. sockjs-0.3.4.min.js:27:17047
Firefox can’t establish a connection to the server at wss://kristallab.bwh.harvard.edu/shiny/sample-apps/hello/__sockjs__/n=aHc3sTc4dEhqiBjWoV/668/nx1jh4b2/websocket. sockjs-0.3.4.min.js:27:17047
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [INF]: Error: WebSocket closed shiny-server-client.min.js:1:21729
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [INF]: Connection closed. Info: {"isTrusted":false} shiny-server-client.min.js:1:21729
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [DBG]: SockJS connection closed shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [DBG]: Channel 0 is closed shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [DBG]: Removed channel 0, 0 left shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [INF]: Error: WebSocket closed shiny-server-client.min.js:1:21729
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [INF]: Connection closed. Info: {"isTrusted":false} shiny-server-client.min.js:1:21729
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [DBG]: SockJS connection closed shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [DBG]: Channel 0 is closed shiny-server-client.min.js:1:5323
Tue Jun 06 2017 14:18:15 GMT-0400 (EDT) [DBG]: Removed channel 0, 0 left shiny-server-client.min.js:1:5323
@kwakuduahc1
Copy link

Did you ever find a solution to this?

@vasantm
Copy link
Author

vasantm commented Sep 7, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment