php artisan db:seed throws the following error:
GuzzleHttp\Exception\InvalidArgumentException : IDN conversion failed (errors: IDNA_ERROR_EMPTY_LABEL) at
Never seen this error before and it doesn’t appear to be an issue with my seeder syntax.
The partial exception trace is:
1 GuzzleHttp\_idn_uri_convert() /home/vagrant/code/companion-2.0/vendor/guzzlehttp/guzzle/src/Client.php:220 2 GuzzleHttp\Client::buildUri() /home/vagrant/code/companion-2.0/vendor/guzzlehttp/guzzle/src/Client.php:113
I’m running commands within a vagrant/homestead environment. Could this be a version incompatibility?
This is an issue with guzzle 6.5.0. See more info here: https://github.com/guzzle/guzzle/issues/2448
Solution: downgrade to version 6.4.1.
Please, try to upgrade to the latest stable version (6.5.2 at the moment). We did our best to consider all possible installation details, so you should not have this error anymore.
If the error still occurs, please report it as a bug here: https://github.com/guzzle/guzzle/issues.