Could not resolve host when approving quotes

Hey,

When a client tries to approve a quote he gets an error message. I found this strange because I’ve tested this functionality and I know it used to work.

I’ve checked the error logs and I’ve found this:

[2020-05-24 18:22:43] production.ERROR: CURL Error #6: Could not resolve host: app.website.com; Unknown error {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“First Name Last Name”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36”,“locale”:“en”,“ip”:“xxx.xxx.xxx.xxx”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“dashboard”} []

Any idea how to solve this?

Maybe this will help?

https://bobcares.com/blog/wordpress-curl-error-6-could-not-resolve-host/

Hey Hillel,

Thanks for the solution but it ain’t that the problem.

I think it has something to do with the host he’s trying to reach.

He’s saying that the host is “app.website.com” but the real host is “invoice.website.com”.

I use a subdomain for Invoice Ninja and not the default “/public” version.