与auth0

时间:2018-07-01 19:34:08

标签: r node.js npm auth0 shiny-server

我是stackoverflow的新手,希望获得帮助。

我完全按照这篇出色的文章https://jasperhg90.gitbooks.io/shiny-server-series-the-complete-guide/content/

在私人服务器上部署了我的闪亮应用程序

不幸的是,由于不是后端node.js工程师,我遇到了auth0错误,这对我来说有点模糊。

问题:

cd / shiny-auth0 / 目录上执行 npm start ,并尝试通过浏览器打开闪亮的应用程序

  1. 尝试使用设置得很好的用户名和密码登录服务器,它显示我们无法访问服务器。请检查您的连接,然后重试。,为什么会发生这种情况,我该如何解决?

  2. 然后我决定激活gmail登录,这使我进入了 / private-apps / reports / 主管下的我的闪亮应用程序。闪亮的应用程序运行一段时间,然后最终服务器断开连接。这是终端上的结果。

GET /private-apps/reports/shared/bootstrap/css/bootstrap.min.css 200 14.749 ms - -
GET /private-apps/reports/shared/bootstrap/js/bootstrap.min.js 200 17.908 ms - -
GET /private-apps/reports/shared/bootstrap/shim/html5shiv.min.js 200 7.636 ms - -
GET /private-apps/reports/shared/bootstrap/shim/respond.min.js 200 8.186 ms - -
GET /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/info 200 3.884 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/jm7t49o2/xhr_streaming 200 2.479 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr 200 2.697 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr_send 204 2.786 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr 200 102.128 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr_send 204 2.585 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr 200 172.043 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr 200 2.787 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr 200 1033.026 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr_send 204 3.206 ms - -
POST /private-apps/reports/__sockjs__/n=Ag7Qf29GzipFnxafCM/752/kk6tvtka/xhr 200 25004.156 ms - -
/home/shiny/shiny-auth0/node_modules/http-proxy/lib/http-proxy/index.js:120
    throw err;
    ^

Error: socket hang up
    at createHangUpError (_http_client.js:336:15)
    at Socket.socketOnEnd (_http_client.js:429:23)
    at Socket.emit (events.js:185:15)
    at endReadableNT (_stream_readable.js:1106:12)
    at process._tickCallback (internal/process/next_tick.js:178:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! auth0-shiny@1.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the auth0-shiny@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/shiny/.npm/_logs/2018-07-01T19_03_27_277Z-debug.log

  1. 问题1和问题2是否可以关联?

我认为,出于安全原因,我只是想看看我的闪亮服务器具有auth0。

我们将不胜感激。

0 个答案:

没有答案