I'm facing the issue in my site. I have spent 2 days on that but no luck.
Error in DB Logs
GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: www-dev.drupalsite.com (see http://curl.haxx.se/libcurl/c/libcurl-errors.html ) in GuzzleHttp\Handler\CurlFactory::createRejection() (line 186 of /var/www/html/site-d8/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php ).
Error while accessing site
The website encountered an unexpected error. Please try again later.
Note that this is local dev-site using vagrant on ubuntu (VM Virtual Box)
;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64972 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 4, ADDITIONAL: 7 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;stackoverflow.com. IN A ;; ANSWER SECTION: stackoverflow.com. 220 IN A 151.101.1.69- usmanjutt84var_dump(gethostbyname('www-dev.drupalsite.com'));- Manu Eidenberger