I have a database IDE I’m using for back-end development. It has an http server as the front of the back end (hmmm, that’s a weird turn of phrase), and when I use the system on my local computer, I have no problem connecting to the http server from my Spark Core using TCPClient.connect().
However, when I deploy this system to the cloud (I believe the service is hosted on AWS), connect() fails.
One difference between local and cloud deployment is that I can use the IP variant of connect() locally, but I have to switch to the URL variant when connecting to the cloud - there is apparently a proxy in the middle.
Anyway, any guidance on what to look for here? Some hypotheses:
The DNS lookup is taking too long and connect() times out. (I retry connect() 5 times before giving up).
The proxy creates problems for the connect() function.
There are gnomes in the cloud. (Not likely, I admit)
Also, I notice from checking out github that there is some sort of DEBUG capability in the TCPClient library. Any ideas on how to turn that on to perhaps get a more verbose readout of what’s happening?
Any help would be greatly appreciated. Cheers,