Phpinsights: PHP Insights needs an internet connection to inspect security issues.

Created on 20 Jun 2019  路  10Comments  路  Source: nunomaduro/phpinsights

| Q | A
| ---------------- | -----
| Bug report? | yes
| Feature request? | no
| Library version | 1.6.0

Hi Nuno,

Running:
php artisan insight
gives the following exception.

Exception trace:

  1   Symfony\Component\HttpClient\Exception\TransportException::("Peer certificate cannot be authenticated with given CA certificates for "https://security.symfony.com/check_lock".")
      D:\www\laravel.test\laravel\vendor\symfony\http-client\Chunk\ErrorChunk.php:105

  2   Symfony\Component\HttpClient\Exception\TransportException::("Peer certificate cannot be authenticated with given CA certificates for "https://security.symfony.com/check_lock".")
      D:\www\laravel.test\laravel\vendor\symfony\http-client\Response\CurlResponse.php:264
  • Tried it on 2 different desktops, 2 laptops and vmware all with windows 10.
  • Tried with 3 different internet providers, one being tethering from mobile 4G network Vodafone.
  • Tried on clean Laravel 5.8 install.
  • Tried composer update nunomaduro/phpinsights
  • Disabled antivirus, and firewall.

insights

Any idea how I might fix this?
Thanks