mazerab / reality-capture-backend-app

AWS lambda backend app for Autodesk Forge Reality Capture mobile app.
MIT License
1 stars 1 forks source link

Redis connection fails while creating lambda #4

Open Nimaln opened 5 years ago

Nimaln commented 5 years ago

I am trying to implement this mobile app as a part of developing crowd sourced image based reconstruction. I am following the instructions o deploy the backend app but when I try to 'npm run create' on the console with the variables set, I get an error after the zipping. Below is the error from the terminal:

`$ npm run create

reality-capture-mobile-sbs@1.0.0 create C:\Users\Nimalan\Desktop\rc-mobile\reality-capture-backend-app-master claudia create --handler lambda.handler --deploy-proxy-api --region us-east-1 -name recap-forge-service --role lambda-claudia-executor --version demo

zipping package node_redis: Deprecated: The AUTH command contains a "undefined" argument. This is converted to a "undefined" string now and will return an error from v.3.0 on. initialising IAM role iam.getRole RoleName=lambda-claudia-executor events.js:183 throw er; // Unhandled 'error' event ^

Error: Redis connection to redis-17828.c99.us-east-1-4.ec2.cloud.redislabs.com:17828 failed - connect ETIMEDOUT 54.81.131.34:17828 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! reality-capture-mobile-sbs@1.0.0 create: claudia create --handler lambda.handler --deploy-proxy-api --region us-east-1 -name recap-forge-service --role lambda-claudia-executor --version demo npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the reality-capture-mobile-sbs@1.0.0 create 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! C:\Users\Nimalan\AppData\Roaming\npm-cache_logs\2019-03-11T14_42_54_541Z-debug.log `

What do you think might be the issue? Thanks.

mazerab commented 5 years ago

Hello, Thank you for testing this repository. It appears that the Redis Cloud setup is incorrect. Did you setup your own Redis Cloud machine? Thank you!