Framework: when i use rpc server , always appear server has gone away

Created on 8 Mar 2018  路  2Comments  路  Source: laravel/framework

  • Laravel Version: 5.4
  • PHP Version: 7.1
  • Database Driver & Version: mysql 5.6

Description:

when i use rpc server , always appear server has gone away.

Steps To Reproduce:

Most helpful comment

Do you really think that this issue has enough information for us to reproduce the problem and fix it?

All 2 comments

Do you really think that this issue has enough information for us to reproduce the problem and fix it?

error: mysql server has gone away.
my rpc server based on swoole.

swoole:https://www.swoole.co.uk/
Enable PHP developers to write high-performance, scalable, concurrent TCP, UDP, Unix socket, HTTP, Websocket services in PHP programming language without too much knowledge about non-blocking I/O programming and low-level Linux kernel.

development.ERROR: /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('select count(*)...', Array, Object(Closure))

1 /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(326): Illuminate\Database\Connection->run('select count(*)...', Array, Object(Closure))

2 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1705): Illuminate\Database\Connection->select('select count(*)...', Array, true)

3 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1690): Illuminate\Database\Query\Builder->runSelect()

4 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2025): Illuminate\Database\Query\Builder->get(Array)

5 /var/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1953): Illuminate\Database\Query\Builder->aggregate('count', Array)

6 /var/www/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1251): Illuminate\Database\Query\Builder->count()

7 /var/www/app/Factory/Api/OrderApiExtraInfoTrait.php(44): Illuminate\Database\Eloquent\Builder->__call('count', Array)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RomainSauvaire picture RomainSauvaire  路  3Comments

CupOfTea696 picture CupOfTea696  路  3Comments

Fuzzyma picture Fuzzyma  路  3Comments

klimentLambevski picture klimentLambevski  路  3Comments

kerbylav picture kerbylav  路  3Comments