Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I was trying to call some APIs through my Droplet as a test, and I ran into some very odd errors: “Client network socket disconnected before secure TLS connection was established” and “SOCKETTIMEOUT” To make sure this was not the fault of my code, I ran it on both a local Windows and a Linux machine, and I had no problems. What could be causing the issue? The Linux machine had essentially the same configuration as the droplet, yet still ran it without error. So far, I have tried switching all https to http, without success.
test script: const axios = require(‘axios’) axios.get(‘path-to-api’,{params:{}}) .then((rsp)=>{ console.log(‘Got sucessful response!’) }) .catch((err)=>{ console.log(err) })
Droplet info: ubuntu 20.04 LTS Nodejs 15.3.0
Test Machine (Windows) info: Windows 10 (latest) Nodejs 15.3.0
Test Machine (Linux) info: ubuntu 20.04 LTS Nodejs 15.3.0
bpdsksrtmj
Niketan Sharma
819167b5336c456e9ad38395fec1c5
SarkariResultht
e3002a14a547406799fe27a6abf211
9e483d26583f44f6bafe369a29b405
keneucker
keneucker
Shamoil Khan
Frederik
f25932a0b984430fb48c4256f1aaad