SockJs cannot use IE9 (WebSockets)

I am trying to set up an application that uses SockJS via STOMP. However, it seems that no connection is established. I don’t have any problems when running on Chrome, FF, etc.

p>

Is there any way to support IE9? Or is it impossible to run websockets with sockjs on IE9? I saw some discussions where people are solving some problems with IE9 and sockjs, but none of them solve my problem.

BR

The problem is solved. SockJS simulates websockets on IE9 without any problems. The only thing I have to do is to provide the absolute path to create the SockJS object.

Before:

var webSocket = new SockJS('topic/publish');

After:

< pre>var webSocket = new SockJS(‘http://localhost:8080/topic/publish’);

Although it works with Chrome and Firefox, there are some problems when running it on IE9, It does not support websockets (out of the box).

I am trying to set up an application using SockJS via STOMP. However, no connection seems to be established. In Chrome, FF I don’t have these problems when I wait until I run all the problems.

Is there any way to support IE9? Or is it impossible to run websockets with sockjs on IE9? I saw some discussions in which people were solving some problems with IE9 and sockjs, but none of them solved my problem.

BR

The problem is solved. SockJS simulates websockets on IE9 without any problem. The only thing I have to do is to provide the absolute path to create the SockJS object.

Before:

var webSocket = new SockJS('topic/publish');

After:

var webSocket = new SockJS('http:/ /localhost:8080/topic/publish');

Although it works with Chrome and Firefox, there are some problems when running it on IE9, it does not support websockets (out of the box). /p>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4307 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.