Q: Date/Time this occurred (Provide your time zone also) A: 28/03/2023 - 3pm
Q: DevKinsta Version A: 2.10.0 (2.10.0.6571)
Q: OS Version
**A: Mac OSX Ventura 13.2.1 (22D68) **
Q: Docker Desktop Version
**A: 4.17.0 (99724) **
Q: Were any error codes or messages observed? If so, what were they?
**A: Curl error: Error cURL error 6: Could not resolve host: kingspuk000restprod.tnhs.cloud (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) **
Q: Detailed Description of the Problem
**A: I have been working on a REST API integration using Guzzle and it suddenly stopped working and throwing the above cURL error6. The API sits at https://kingspuk000restprod.tnhs.cloud and has been working correctly for weeks. I can connect to it fine from Postman and from the same PHP code running under MAMP. For debugging I created a very simple curl script:
Hey @jdgcss,
I am not able to replicate the issue I get a proper response when using curl against that domain. Anyway, have you tried the workaround suggested in the other thread?
that’s odd, unfortunately without being able to replicate here it’s hard to check but perhaps we can try a different workaround, by editing the host file for devkinsta_fpm.
Give it a try editing the /etc/hosts file in docker and manually specify what is the IP address that kingspuk000restprod.tnhs.cloud should point to.
Let us know how it goes or you need the steps needed to edit that file