Open furuyan opened 2 months ago
This appears to be a protocol violation: the error indicates that the server is sending a headers frame which is larger than the client allows.
Do you own the server here too?
Yes, i own the server.
Is it possible for you to reproduce this locally then, ideally without TLS, so that we can get a packet capture?
I'd like to be able to understand why we're hitting this error: either the server is sending a frame which is too large or there's a bug in our http/2 code.
What are you trying to achieve?
I want to get data using UnaryCall.But it returns this error.
deadlineExceeded (UnableToParseFrame(file: "NIOHTTP2/HTTP2ChannelHandler.swift", line: 490))
This error is occured in HTTP2FrameDecoder.process(maxFrameSize:, maxHeaderListSize:) Line: 91 It's because the header.length is too large, but I have no idea why.I used Charles, but could not find the target network log.
Environment Apple Swift version 5.9.2
What have you tried so far?
It works fine in grpcurl. grpcurl ’ -d ‘{ “param”: “hoge”, }’ myhost.com:443 hoge/Data