Grpc-web: Safari, refused to set unsafe header

Created on 12 Feb 2017  路  5Comments  路  Source: grpc/grpc-web

Echo example doesn't work in safari. In chrome, firefox everything is fine.

Console log:

[Error] Refused to set unsafe header "Content-Transfer-Encoding"
    (邪薪芯薪懈屑薪邪褟 褎褍薪泻褑懈褟) (compiled.js:9396)
    forEach (compiled.js:7638)
    send (compiled.js:9395)
    rpcCall (compiled.js:10597)
    Echo (compiled.js:10825)
    echo (33.33.33.31:34)
    send (33.33.33.31:68)
    dispatch (jquery-3.1.1.min.js:3:10321)

Most helpful comment

We are actively working on this. Sorry for the delay. Should have a better update this week

All 5 comments

Yes we are also aware of this and are working on a fix.

Hello! Any news on this topic? At the moment grpc-web is still not working with iOS and Safari.
Is there something we can do?

We are actively working on this. Sorry for the delay. Should have a better update this week

This should be fixed as of commit b0c48da81. But due to some dependency change w.r.t. grpc, you might need to clone the repo and try the example again.

I tested this on Mac, on Chrome/Firefox/Safari and the example all work. Closing this for now. Please re-open if you see issues.

Was this page helpful?
0 / 5 - 0 ratings