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 Quote
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 Quote
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! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.