Skip to content

Error doesn't seem to have any detail/listener not working #9

Description

@sheyworth

Hey there,

I had everything working on a local copy of the site I've integrated your code with - and it worked awesome!

I moved everything to a live server, and that's when I started to have issues.

Brainsocket starts using laravel, and when I send a message over the websocket and listen, I see it appear in the listen log and everything.

It's receiving through the listener that I'm having issues with.

Attached is the error I receive from your js file, it seems like it's firing through the onerror event, but it doesn't seem to give me any detail as to what's actually going on.

`onerror — brain-socket.min.js:1:918
Event

bubbles: false

cancelBubble: false

cancelable: false

clipboardData: undefined

composed: false

currentTarget: WebSocket {BrainSocket: BrainSocket, digestMessage: function, URL: "ws://localhost:8080", url: "ws://localhost:8080", readyState: 3, …}

defaultPrevented: false

eventPhase: 0

isTrusted: true

returnValue: true

srcElement: WebSocket {BrainSocket: BrainSocket, digestMessage: function, URL: "ws://localhost:8080", url: "ws://localhost:8080", readyState: 3, …}

target: WebSocket {BrainSocket: BrainSocket, digestMessage: function, URL: "ws://localhost:8080", url: "ws://localhost:8080", readyState: 3, …}

timeStamp: 1490241789897

type: "error"

Event Prototype`

What am I doing wrong/is this an issue that has happened to others/what is the actual error?

Thanks so much.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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