You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var primus = Primus.connect('http://185.24.139.62:7070');
var register = primus.channel('reg');
register.write(JSON.stringify({
"jsonrpc": "2.0",
"method" : "register-request",
"params" : "1234",
"id" : "1"
}));
all browsers work fine, except safari! and IOS browsers (webView)
this is the response message:
[Error] WebSocket connection to 'ws://185.24.139.62:7070/primus/?_primuscb=LH8SfNk' failed: WebSocket is closed before the connection is established.
close (primus.js:2801)
emit (primus.js:236)
opening (primus.js:2733)
emit (primus.js:257)
reconnect (primus.js:2791)
emit (primus.js:236)
reconnect (primus.js:1883)
emitter (primus.js:143)
emit (primus.js:238)
delay (primus.js:629)
tickedtock (primus.js:927)
is there anything wrong with my code?
The text was updated successfully, but these errors were encountered:
I've written this simple code:
all browsers work fine, except safari! and IOS browsers (webView)
this is the response message:
[Error] WebSocket connection to 'ws://185.24.139.62:7070/primus/?_primuscb=LH8SfNk' failed: WebSocket is closed before the connection is established.
close (primus.js:2801)
emit (primus.js:236)
opening (primus.js:2733)
emit (primus.js:257)
reconnect (primus.js:2791)
emit (primus.js:236)
reconnect (primus.js:1883)
emitter (primus.js:143)
emit (primus.js:238)
delay (primus.js:629)
tickedtock (primus.js:927)
is there anything wrong with my code?
The text was updated successfully, but these errors were encountered: