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
{{ message }}
Repository navigation
gRPC-Web requests on Safari fail when using Envoy 1.13 #10514
I'm running envoy on GKE 1.15.9 as an ingress via a LoadBalancer (hence why I'm using contour).
Reacted by Phlippie, Max Ekman, ibrennanskew, Vitalii Levchenko, Mikael Danielian, Roger Chapman, Julien Roncaglia, Denis Zhbankov, Jingyu and Jongho Jeon
This does consistently happen. Here's what I see with the URLs obfuscated. If you'd like more details, let me know and we could potentially do a screen share.
I have the same exact issue, also with Gloo (1.3.14) running on GKE it seem to be a crash WebKit side in their network process on queue com.apple.CFNetwork.HTTP2.HTTP2Stream triggered by some new behaviour of envoy, so while the problem is not in Envoy maybe there is a way workaround the problem envoy-side.
Someone responded on WebKit bugzilla that the problem is not inside WebKit but on a lower level library & now tracked Apple side in Radar as rdar://problem/61383605 (If anyone wants to reference it with them)
Reacted by Eli Selkin, Henry Hutcheson and tiggerlee
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
It does not have any problem regarding to version v1.12.0. I am noting it down here, if any of you would like to have quick solution, until the bug fixed.
Seems like skipping trailers.clear() for HTTP/2 could help this. @yoitsro could you try my image: dio123/envoy:grpc-web-debug (note that this one is ubuntu-based, not the alpine one)? From my local testing here, it seems to be working (I could reproduce this issue using the latest release).
Basically, the following:
if (encoder_callbacks_->streamInfo().protocol().value() != Http::Protocol::Http2) {
// Clear out the trailers so they don't get added since it is now in the body
trailers.clear();
}
Reacted by tiggerlee, Roger Chapman and Ro Ramtohul
Reacted by tiggerlee, Roger Chapman and Ro Ramtohul
Reacted by tiggerlee, Roger Chapman, Ro Ramtohul and Jean-Marie Joly
Activity
dio commentedon Mar 25, 2020
@yoitsro sorry, does this consistently happen? Could you provide some screenshots? Thanks!
I tried to run the grpc-web example (echotest). However, I couldn't repro this case (both for safari 12 and 13).
Note the warning there is from grammarly ext that I have.
yoitsro commentedon Mar 25, 2020
This does consistently happen. Here's what I see with the URLs obfuscated. If you'd like more details, let me know and we could potentially do a screen share.
yoitsro commentedon Mar 25, 2020
It's also worth noting that envoy is being used to terminate TLS too - I've noticed your setup is just over HTTP to localhost.
eselkin commentedon Mar 31, 2020
Same issue, with envoy (gloo)... managing the TLS as well with gloo.
Safari 13.0.5
chrome and firefox perform as expected.
neno-k commentedon Apr 3, 2020
are there any updates on this, we are facing the same issue after updating to istio 1.5.1, running envoy 1.13 - tested with
safari 13.05 and 13.1
vbfox commentedon Apr 7, 2020
I have the same exact issue, also with Gloo (1.3.14) running on GKE it seem to be a crash WebKit side in their network process on queue
com.apple.CFNetwork.HTTP2.HTTP2Streamtriggered by some new behaviour of envoy, so while the problem is not in Envoy maybe there is a way workaround the problem envoy-side.I couldn't find any issue on WebKit bugzilla so I created one: https://bugs.webkit.org/show_bug.cgi?id=210108
The crash looks like that:
mattklein123 commentedon Apr 7, 2020
cc @lizan @qiwzhang @fengli79
vbfox commentedon Apr 8, 2020
Someone responded on WebKit bugzilla that the problem is not inside WebKit but on a lower level library & now tracked Apple side in Radar as
rdar://problem/61383605(If anyone wants to reference it with them)stale commentedon May 9, 2020
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
mrtrkmn commentedon May 12, 2020
It does not have any problem regarding to version v1.12.0. I am noting it down here, if any of you would like to have quick solution, until the bug fixed.
16 remaining items
dio commentedon Jul 20, 2020
Seems like skipping
trailers.clear()for HTTP/2 could help this. @yoitsro could you try my image:dio123/envoy:grpc-web-debug(note that this one is ubuntu-based, not the alpine one)? From my local testing here, it seems to be working (I could reproduce this issue using the latest release).Basically, the following:
yoitsro commentedon Jul 20, 2020
I can confirm that this is working :tears_of_joy:
yoitsro commentedon Jul 20, 2020
Is there anything I/we can do to help get this released?
dio commentedon Jul 20, 2020
@yoitsro sorry for the late reply, but I have submitted a PR: #12178.
gRPC-Web: Fix failing HTTP/2 requests on some browsers due to empty t…