Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

hyperf(swoole) 上报数据异常,报FRAME_SIZE_ERROR #512

Open
EwingYangs opened this issue Aug 1, 2022 · 4 comments
Open

hyperf(swoole) 上报数据异常,报FRAME_SIZE_ERROR #512

EwingYangs opened this issue Aug 1, 2022 · 4 comments

Comments

@EwingYangs
Copy link

bug描述
hyperf(swoole) 上报数据异常,报FRAME_SIZE_ERRORlogin err status: Unknown, message: "transport error", details: [], metadata: MetadataMap { headers: {} }

日志快照

07:01:16 [DEBUG] (6) sky_core_report::reporter::grpc: login instance InstanceProperties { service: "edu-evaluation-api", service_instance: "[email protected]\u{8}", properties: [KeyStringValuePair { key: "os_name", value: "linux" }, KeyStringValuePair { key: "host_name", value: "c88add992b32" }, KeyStringValuePair { key: "process_no", value: "1" }, KeyStringValuePair { key: "language", value: "php" }, KeyStringValuePair { key: "ipv4", value: "192.168.192.2" }], layer: "" }
07:01:16 [DEBUG] (5) hyper::client::connect::dns: resolving host="uat-skywalking-11800.****.net"
07:01:16 [DEBUG] (6) hyper::client::connect::http: connecting to 10.4.128.23:80
07:01:16 [DEBUG] (1) hyper::client::connect::http: connected to 10.4.128.23:80
07:01:16 [DEBUG] (1) h2::client: binding client connection
07:01:16 [DEBUG] (1) h2::client: client connection bound
07:01:16 [DEBUG] (1) h2::codec::framed_write: send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384 }
07:01:16 [DEBUG] (1) h2::proto::connection: Connection; peer=Client
07:01:16 [DEBUG] (1) tower::buffer::worker: service.ready=true message=processing request
07:01:16 [DEBUG] (6) h2::codec::framed_write: send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
07:01:16 [DEBUG] (6) h2::proto::connection: Connection::poll; connection error error=GoAway(b"", FRAME_SIZE_ERROR, Library)
07:01:16 [DEBUG] (6) h2::codec::framed_write: send frame=GoAway { error_code: FRAME_SIZE_ERROR, last_stream_id: StreamId(0) }
07:01:16 [DEBUG] (6) h2::proto::connection: Connection::poll; connection error error=GoAway(b"", FRAME_SIZE_ERROR, Library)
07:01:16 [DEBUG] (2) hyper::client::service: connection error: hyper::Error(Http2, Error { kind: GoAway(b"", FRAME_SIZE_ERROR, Library) })
07:01:16 [DEBUG] (6) hyper::proto::h2::client: connection error: connection error detected: frame with invalid size
07:01:16 [DEBUG] (6) hyper::proto::h2::client: client response error: connection error detected: frame with invalid size
07:01:16 [ERROR] login err status: Unknown, message: "transport error", details: [], metadata: MetadataMap { headers: {} }

PHP环境

  • OS: [e.g. Alpine docker]

  • Version [e.g. 7.4.26]

  • PHP ini

  • swoole扩展配置

Swoole => enabled
Author => Swoole Team <[email protected]>
Version => 4.8.8
Built => Mar 17 2022 03:15:13
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1n  15 Mar 2022
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
async_redis => enabled
  • skywalking扩展配置
Directive => Local Value => Master Value
skywalking.enable => On => On
skywalking.service => edu-evaluation-api => edu-evaluation-api
skywalking.service_instance => no value => no value
skywalking.oap_version => 8.0.0 => 8.0.0
skywalking.oap_cross_process_protocol => 3.0 => 3.0
skywalking.oap_authentication => no value => no value
skywalking.grpc_address => uat-skywalking-11800.***.net => uat-skywalking-11800.***.net
skywalking.grpc_tls_enable => Off => Off
skywalking.grpc_tls_pem_root_certs => no value => no value
skywalking.grpc_tls_pem_private_key => no value => no value
skywalking.grpc_tls_pem_cert_chain => no value => no value
skywalking.log_level => debug => debug
skywalking.log_path => /tmp/skywalking-php.log => /tmp/skywalking-php.log
skywalking.curl_response_enable => On => On
skywalking.error_handler_enable => Off => Off
skywalking.mq_max_message_length => 20480 => 20480
skywalking.mq_unique => 0 => 0
skywalking.sample_n_per_3_secs => -1 => -1

SkyWalking (please complete the following information):

  • OS: [e.g. Centos]
  • Version [e.g. 8.0.1]
@heyanlong
Copy link
Member

5.0.1 currently does not support swoole

@EwingYangs
Copy link
Author

好的,感谢。请问一下之前的版本能否支持hyperf和tars,具体是那个版本

@heyanlong
Copy link
Member

heyanlong commented Aug 1, 2022

Please retry version 4.x

@heyanlong
Copy link
Member

Or wait 5.1 release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants