MderM
MderM
@jonahbron We have long running requests, such as Login/Stream(LoginsState) and stock pricings Subscribe (Stock)/Stream(StockPrice) that shall stay alive as long as the web client is open. I think it is...
@jonahbron Thanks for that. That blog post was one of my cycle steps I came across again and again. I think I will give improbable a try even though it's...
@angelomelonas Nope, never got it running. We switched to a secure context (TLS) and configured the envoy proxy to only take http2 via alpn. In the secure/http2 context you can...
@wenbozhu I'm pretty sure I saw a constant value of 100 in Chromium code. Also in Firefox we were able to increase this limit which allowed us to hold several...
In FF about:config -> network.http.spdy.default-concurrent would be the option for concurrent http2 streams. -> network.http.max-persistent-connections-per-server would be the option for http1.x, but this is limited to a max of 255....
@angelomelonas you will want to have the cors settings from the official grpc web documention: https://github.com/grpc/grpc-web/tree/master/net/grpc/gateway/examples/helloworld cors: allow_origin: - "*" allow_methods: GET, PUT, DELETE, POST, OPTIONS allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout max_age: "1728000"...
So with the new error, I think the CORS issue might be gone. You will now want to have any valid certificates. But thats gets a bit out of focus...
> @MderM, this might seem like a stupid question, but do I need to configure the gRPC server to use TLS as well? We didn't do that. We just used...
Have a look at this: ``` admin: access_log_path: /tmp/admin_access.log address: socket_address: { address: 0.0.0.0, port_value: 9901 } static_resources: listeners: - name: listener_0 address: socket_address: { address: 0.0.0.0, port_value: 8080 }...
> That gives me a `.crt` and a `.key` file. I see you are using a `.pem` file... How do you generate the keys? I didn't do that. But I...