Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to solve low severity vulnerability when using rocketchat boilerplate code and couldn't connect to my rocket chat server #7

Open
RADHAKRISHNAMOHAN opened this issue Feb 6, 2019 · 2 comments

Comments

@RADHAKRISHNAMOHAN
Copy link

found 1 low severity vulnerability
run npm audit fix to fix them, or npm audit for details
body-parser deprecated undefined extended: provide extended option ..\node_modules\hubot\src\robot.js:446:21
[Wed Feb 06 2019 11:05:17 GMT+0530 (India Standard Time)] INFO [startup] Rocket.Chat adapter in use
[Wed Feb 06 2019 11:05:17 GMT+0530 (India Standard Time)] INFO [startup] Respond to name: Hubot
[Wed Feb 06 2019 11:05:17 GMT+0530 (India Standard Time)] INFO [startup] Respond to alias: chat.bot
[Wed Feb 06 2019 11:05:17 GMT+0530 (India Standard Time)] INFO [connect] Connecting { username: '......',
password: '.......',
ldap: false,
host: 'myhost',
useSsl: true,
timeout: 20000,
rooms: [ 'GENERAL' ],
allPublic: false,
dm: false,
livechat: false,
edited: false,
integrationId: 'js.SDK',
roomCacheMaxSize: 10,
roomCacheMaxAge: 300000,
dmCacheMaxSize: 10,
dmCacheMaxAge: 100000 }
[Wed Feb 06 2019 11:05:37 GMT+0530 (India Standard Time)] INFO [connect] Timeout (20000)
[Wed Feb 06 2019 11:05:37 GMT+0530 (India Standard Time)] ERROR Unable to connect: {}
[Wed Feb 06 2019 11:05:37 GMT+0530 (India Standard Time)] ERROR undefined
[Wed Feb 06 2019 11:05:37 GMT+0530 (India Standard Time)] ERROR Unable to login: {}
[Wed Feb 06 2019 11:05:37 GMT+0530 (India Standard Time)] ERROR undefined
[Wed Feb 06 2019 11:05:37 GMT+0530 (India Standard Time)] ERROR Unable to subscribe {}
(node:1248) UnhandledPromiseRejectionWarning: Error: Asteroid connection timeout
at Timeout._onTimeout (C:\Users\username\hubot-rocketchat-boilerplate\[email protected]\sdk\dist\lib\driver.js:94:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)

(node:1248) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1248) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@SpongeGirl
Copy link

Right now, i have the same problem, have you fixed it? If so, i hope you can tell me the solution, thanks a lot.

@RADHAKRISHNAMOHAN
Copy link
Author

No, I will look into it later and comment here. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants