hlk
hlk
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
Will do
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
We'll try filing a bug report on the dotnet repo sometime later today
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
Well it works for us now with the header stripped, but we don't know what's causing it, just that it's not our problem
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
It does not, the configuration is valid. Simply setting server protocols to h1 h2 isn't enough to stop this from happening, we had that set before the issue was resolved. header -Alt-Svc seems to be necessary.
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
- for a header config in Caddy means to delete the header
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
Disabling the Alt-Svc header on that specific resource fixes the issue
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
{
servers {
protocols h1 h2
}
}

rpc.project.net {
header -Alt-Svc
reverse_proxy h2c://127.0.0.1:50051
}
{
servers {
protocols h1 h2
}
}

rpc.project.net {
header -Alt-Svc
reverse_proxy h2c://127.0.0.1:50051
}
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
Caddy supports HTTP/3 and I think it announces it, although the underlying proxied application might not, as is the case for our back-end, as Tonic only does HTTP/2
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
We were trying to get some minimal reproduction sample going
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
Running Kestrel locally is OK, so is running the server locally when a direct connection can be made (localhost:xxxx)
76 replies
CC#
Created by Cosmic Centipede on 4/6/2024 in #help
Grpc.Net.Client weird second request call time out exception
Repro is difficult, we seem to have traced the issue to some bad interaction between the Caddy proxy server and the Windows implementation of HttpClient
76 replies