Adblock google chrome extension5/31/2023 ![]() ![]() When AdBlock is disabled, everything works fine: Request is sent to my server and incoming messages are received on the browser.Īlso, when I try sending request directly to my app and bypassing nginx proxy like this: ws://everything works fine with AdBlock enabled. So my server doesn't even receive Upgrade request and browser logs WebSocket connection to 'wss://mydomain.site/something' failed. When I try to run the code in my browser with AdBlock chrome extension enabled, it thinks that my request to websocket is an ad and blocks it. Now I'm writing Angular front-end application that connects to my server like this: return webSocket(, () => true) Everything is secured by a valid SSL certificate, so requests are made through and wss://. I also have nginx server running on same machine, listening to 443 port and redirecting requests to my application ( ). It receives websocket connections and sends some simple messages to clients. I Have a simple back-end app on a Google cloud virtual machine. ![]()
0 Comments
Leave a Reply. |