cat icon indicating copy to clipboard operation
cat copied to clipboard

phpenv本地部署遇到的一个问题

Open lhk123123 opened this issue 1 year ago • 1 comments

先确认

1,是否使用最新版本。 答:是

2,是否有跳过应用处理逻辑,而自行修改数据库结构、数据等操作。 答:否

3,是否有二次开发操作。 答:否

再描述

1,你的 PHP 、 MySQL 版本号。 答:php8.2 mysql8.0

2,当前使用的 CAT 版本号。 答:1.0.5

3,你遇到了什么问题,尽量描述清楚,尤其是附上错误内容。 答:我在执行php artisan cat:install命令后,数据库创建成功,数据库数据也已同步成功,但却提示curl连接超时错误,并且访问系统可以进入登录页面,但是输入账号密码后就跳转到500 server error错误页面,始终没有搞懂是什么原因。

 INFO  Permission & Policies are generated according to your config or passed options.

   INFO  Enjoy!

   INFO  Success! [email protected] may now log in at http://localhost/login.


   Illuminate\Http\Client\ConnectionException

  cURL error 28: Connection timeout after 10001 ms (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://mirage.celaraze.com:50080/api/cat/create_installed_tracks

  at vendor\laravel\framework\src\Illuminate\Http\Client\PendingRequest.php:926
    922▕                 });
    923▕             } catch (ConnectException $e) {
    924▕                 $this->dispatchConnectionFailedEvent();
    925▕
  ➜ 926▕                 throw new ConnectionException($e->getMessage(), 0, $e);
    927▕             }
    928▕         }, $this->retryDelay ?? 100, function ($exception) use (&$shouldRetry) {
    929▕             $result = $shouldRetry ?? ($this->retryWhenCallback ? call_user_func($this->retryWhenCallback, $exception, $this) : true);
    930▕

  1   vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:210
      GuzzleHttp\Exception\ConnectException::("cURL error 28: Connection timeout after 10001 ms (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://mirage.celaraze.com:50080/api/cat/create_installed_tracks")

  2   vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:158
      GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle))

lhk123123 avatar Feb 11 '24 03:02 lhk123123