-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用tars传输字符串类型数据量较大时日志报如下错误,接受的数据是空的 #19
Comments
提供下完整信息 调示例代码 swoole版本 tarsphp版本 |
swoole采用4.5.1版本 服务端实例代码 $inParam接收到是空的 |
看一下 管理平台上面 配置模板里面 package_max_length 的配置是多少,加大是否可以解决。 不是数据太大,导致swoole 无法正常收包 |
package_max_length 这个我已经在模板里配置了10M,并且重启了服务,还是没能接到数据 |
lumen.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Uncaught ErrorException: Undefined offset: 2 in /data/tars/tarsnode-data/Kdy.RpcServer/bin/src/vendor/phptars/tars-server/src/core/Server.php:509
Stack trace:
#0 /data/tars/tarsnode-data/Kdy.RpcServer/bin/src/vendor/phptars/tars-server/src/core/Server.php(509): Laravel\Lumen\Application->Laravel\Lumen\Concerns{closure}(8, 'Undefined offse...', '/data/tars/tars...', 509, Array)
#1 {main}
thrown in /data/tars/tarsnode-data/Kdy.RpcServer/bin/src/vendor/phptars/tars-server/src/core/Server.php:509
Stack trace:
#0 /data/tars/tarsnode-data/Kdy.RpcServer/bin/src/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php(54): Laravel\Lumen\Application->handleShutdown()
#1 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns{closure}()
#2 {main}
主要传递base64字符串,数据大小string(59419),如果将字符串数据变小,日志不会出现错误,并能正常接受请求参数
The text was updated successfully, but these errors were encountered: