wolstech Posted September 2, 2020 Posted September 2, 2020 I asked because we block traffic on nonstandard ports. If it's using 443, you're right that's the regular HTTPS port, so it's not the issue. 1
Krydos Posted September 3, 2020 Posted September 3, 2020 Here's your error: # /home/lookyweb/node/test.js:5 user.cloudSession(419697811, function (err, cloud) { ^ TypeError: Cannot read property 'cloudSession' of undefined at /home/lookyweb/node/test.js:5:10 at /home/lookyweb/node/node_modules/scratch-api/scratchapi.js:105:7 at IncomingMessage.<anonymous> (/home/lookyweb/node/node_modules/scratch-api/scratchapi.js:39:37) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) Passenger is what you would be using if you followed this guide https://wiki.helionet.org/tutorials/node.js 1
lookyweb Posted September 3, 2020 Author Posted September 3, 2020 Here's your error: # /home/lookyweb/node/test.js:5 user.cloudSession(419697811, function (err, cloud) { ^ TypeError: Cannot read property 'cloudSession' of undefined at /home/lookyweb/node/test.js:5:10 at /home/lookyweb/node/node_modules/scratch-api/scratchapi.js:105:7 at IncomingMessage.<anonymous> (/home/lookyweb/node/node_modules/scratch-api/scratchapi.js:39:37) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) Passenger is what you would be using if you followed this guide https://wiki.helionet.org/tutorials/node.js Thanks! I managed to figure out what's wrong! For some reason, I can't load credentials from my .env file located in the root directory of my project. I decided to hardcode my credentials into my app until I find a solution. I know that this is the opposite of ideal but what can I do? Thanks for any future help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now