Diagnosing http errors

I’ve started to get
groovyx.net.http.HttpResponseException: Not Found
it used to work so maybe SmartThings caches my IP address well beyond the timeout period. How can I find the IP address associated with a DNS entry? I tried using
InetAddress.getByName(host)
but I get an error – I don’t know if I’m running into a Groovy problem or an ST restriction

How can I find out my my httpPostJson is failing?

1 Like

I experimented with using a fixed IP address but still couldn’t POST to my home system. Has anything changed in http support?

OK, now it just started to work for no apparent reason after I changed a version number just so I could save and publish for myself. The one difference is that I pressed the app icon in the smartphone app but that shouldn’t have had such an effect. I then changed the app again – just the version number-- and it’s still working so I have no idea why it didn’t work before and works now.