Do you have plan to add websocket proxy support?
I am not sure if websocket can be easily supported
Pingora supports gRPC and websocket proxying, athough I haven't used websocket proxy, but I think it should be usable.
In web3 area, the most use cases are http and websocket rpcs. I am not sure whether websocket proxy can reuse the most logic(code) of http.
This question has been stale for a week. It will be closed in an additional day if not updated.
This issue has been closed because it has been stalled with no activity.
Is there any further update on this?
Is there any problem with the websocket proxy??
Is there any problem with the WebSocket proxy??
I wasn't able to find any documentation regarding the WebSocket. Does it support out-of-the-box?
Yes, you can configure it through the admin web page or toml file. I will provide document later, may be version 0.6.0
It would be great if you could share toml config for the same here for the now. Thank you!
[servers.ws]
addr = "127.0.0.1:6188"
locations = ["ws"]
[locations.ws]
upstream = "ws"
[upstreams.ws]
addrs = ["124.222.224.186:8800"]
I tested it on http://www.websocket-test.com/
@vicanso, thanks for sharing the configuration!
Do you have any documentation for using https://hub.docker.com/r/vicanso/pingap with a docker-compose setup?
Sorry, I don't.
@vicanso, do the docker images support web UI?
Yes. cGluZ2FwOjEyMzEyMw== is base64("pingap:123123").
docker run -it -d --restart=always \
-v $PWD/pingap:/opt/pingap \
-p 3018:3018 \
vicanso/pingap -c /opt/pingap [email protected]:3018