I have two sandboxes of different orgs.

I am trying to open visualforce with same code:

<apex:page >    
<script type="text/javascript">
    window.onload = function () {
        CONNECTION = new WebSocket('ws://');
        CONNECTION.onopen = function () {

In first I got "Hello!" message, in other

WebSocket connection to 'wss://' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

What can be a reason of this error? It looks like ws was replaced to wss. Which configurations should I check?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.