Disable DDP/websockets on a per page basis?

We have experienced quite a lot of large corporations where websocket communication is disabled at some firewall level (these are not our direct customers) and whatever fallback sockjs is trying to do is also not working.

In response, we moved these pages to use http apis instead of ddp but I would really like to disable ddp completely to avoid browser error messages and ensure we don’t mistakenly reintroduce ddp calls.

Is this possible?
We use Picker for routing server-side and FlowRouter client-side with the UI built in React.



just my $.02 : I had the same problem. It vanished when I went full SSL on my url/server…
The firewall blocked DDP when it was none SSL, and it passed on the SSL-url…

Hope this helps,