You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
func getData() async throws {
let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
let channel = try GRPCChannelPool.with(
target: .host("myhost.com", port: 443),
transportSecurity: .tls(.makeClientDefault(for: .best)),
eventLoopGroup: group
)
let client = MyClient(channel: channel)
let request = SomeRequest.with {
$0.condition = "hoge"
}
try await client.hogeData(request)
}
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
The text was updated successfully, but these errors were encountered: