Skip to content

Uncaught ReferenceError: GosSocket is not defined #467

@AbrahamCovelo

Description

@AbrahamCovelo

Following javascript client instructions here:
https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/3.x/docs/javascript-client.md

I got this error on my firefox
Uncaught ReferenceError: GosSocket is not defined

This the final html I have (simplified at maximum) is this:

<title>Welcome!</title> <script src="/bundles/goswebsocket/js/vendor/autobahn.min.js"></script> <script src="/bundles/goswebsocket/js/websocket.min.js"></script> <script> var websocket = GosSocket.connect('ws://127.0.0.1:8080'); </script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions