Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mikestratton's avatar

Laravel Send Password Reset Link

SOLVED! I removed the guzzlehttp/guzzle from composer.json and it works fine now.

composer remove guzzlehttp/guzzle

I have mailgun setup but keep getting a curl error when I try to reset password.

GuzzleHttp \ Exception \ ConnectException cURL error 6: Could not resolve host: https (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

I can get MailGun to send email via the key, without Laravel: https://documentation.mailgun.com/en/latest/quickstart-sending.html#send-via-api

0 likes
7 replies
mikestratton's avatar

Yes, Guzzle is installed. Also, I already have mail configured properly, per the documentation. This error happens when you click on the "lost password" link from the login page.

bobbybouwmann's avatar

Usually you have the wrong configuration setup (host, port, etc.)

mikestratton's avatar

Does not seem to be any type of configuration error. Everything is set per Laravel and Mailgun settings.

mikestratton's avatar

If the connection is not encrypted it cannot connect to remote host? This might be it.

I am going to install a local SSL certificate see if that solves the problem. The cURL erorr is reporting that it could not resolve host. http://curl.haxx.se/libcurl/c/libcurl-errors.html

CURLE_COULDNT_RESOLVE_HOST (6) Couldn't resolve host. The given remote host was not resolved.

The cURL error is looking for a local SSL.

mikestratton's avatar

Local SSL installed, still getting same error. In the Server/Request Data, it is pointing to this location for the SSL:

Server/Request Data
REDIRECT_OPENSSL_CONF   "C:/xampp/apache/bin/openssl.cnf"

Please or to participate in this conversation.