+1

Handshake authorization not being done with Server.

Manisha Awasthi 12 lat temu Ostatnio zmodyfikowane przez Ricardo Richardson 12 lat temu 1

I am trying socketbug to remotely debug my application but i am not able to establish a connection with server. 


I inserted the following code in my index.html

<script type="text/javascript">

        var _sbs = _sbs || {

            'version': '0.2.0',

            'host': 'http://localhost',

            'port': 8888,

            'group_id': '4704808A-80A9-6DD3-341F-E18A3F00563A',

            'group_name': 'Socketbug Demo Group',

            'application_id': '5E3E8FB6-86CF-6BF8-B4C4-6B2497BC388C',

            'application_name': 'Socketbug Demo Application',

            'debug_level': 4,

            'helpers': [],

            'libraries': [],

            'plugins': [],

            'connect_callback': socketbug_connect_callback,

            'disconnect_callback': socketbug_disconnect_callback,

            'message_callback': socketbug_message_callback

        };

    </script>

    <script type="text/javascript" src="http://localhost:8080/socketbug/client/application/sb.js" async></script>


my application running locally on port 8888. 

I just get following message when i start my server.


info  - socket.io started


But no handshake happens. Can someone please tell me What am i possibly doing wrong?



Thanks.