Shiny server crashes while google analytics does tracking code detection

108 views
Skip to first unread message

Jan Wildenhain

unread,
Jun 15, 2013, 8:17:49 AM6/15/13
to shiny-...@googlegroups.com
Hi, 

I am using the classic google analytics tracking code. The javascript snippet does show up on the shiny sites with the UA-XXXXXX-X. Nothing seem to happen if I use the standard 3838 port.  As soon as I switch to port 80 and try to verify, if the tracking code is active in google analytics, this happens:

sudo shiny-server
[2013-06-13 15:04:52.694] [INFO] shiny-server - Shiny Server v0.3.4 (Node.js v0.10.0)
[2013-06-13 15:04:52.696] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2013-06-13 15:04:52.816] [INFO] shiny-server - Starting listener on 0.0.0.0:80
[2013-06-13 15:05:31.484] [ERROR] shiny-server - Uncaught exception: TypeError: Arguments to path.join must be strings

/usr/local/lib/node_modules/shiny-server/lib/main.js:202
  throw err;
        ^
TypeError: Arguments to path.join must be strings
    at path.js:360:15
    at Array.filter (native)
    at Object.exports.join (path.js:358:36)
    at /usr/local/lib/node_modules/shiny-server/lib/router/router.js:93:39
    at /usr/local/lib/node_modules/shiny-server/node_modules/q/q.js:388:35
From previous event:
    at Server.ShinyProxy.httpListener (/usr/local/lib/node_modules/shiny-server/lib/proxy/http.js:93:6)
    at Server.new_handler (/usr/local/lib/node_modules/shiny-server/node_modules/sockjs/lib/utils.js:85:20)
    at Server.EventEmitter.emit (events.js:117:20)
    at Server.emitter (/usr/local/lib/node_modules/shiny-server/lib/server/server.js:193:15)
    at Server.EventEmitter.emit (events.js:98:17)
    at HTTPParser.parser.onIncoming (http.js:2014:12)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:119:23)
    at Socket.socket.ondata (http.js:1904:22)

I would be grateful for advice here. 

Cheers

Jan

Joe Cheng

unread,
Jun 17, 2013, 7:03:50 PM6/17/13
to shiny-...@googlegroups.com
Wow, scary. Can you e-mail me your /etc/shiny-server/shiny-server.conf file? You can send it to me directly at j...@rstudio.com.

Thanks...



Jan

--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages