Giter VIP home page Giter VIP logo

Comments (8)

morloderex avatar morloderex commented on July 2, 2024 1

@fwartner: are you sure you have set you pusher key correctly? because the option has recently been changed from pusherKey to just beeing key.

from echo.

mattmcdonald-uk avatar mattmcdonald-uk commented on July 2, 2024

What are you using to initiate Echo?

from echo.

fwartner avatar fwartner commented on July 2, 2024

What do you mean? Which driver i´using? Pusher.

from echo.

mattmcdonald-uk avatar mattmcdonald-uk commented on July 2, 2024

@fwartner I mean what is the Javascript code you are using when you start a new Echo instance, e.g.
window.Echo = new Echo({ broadcaster: 'pusher', pusherKey: 'your-pusher-key' });

from echo.

fwartner avatar fwartner commented on July 2, 2024

Yep. According to the Laravel Docs at master. Getting an error now.. Something with socketId.. =/

from echo.

fwartner avatar fwartner commented on July 2, 2024
import Echo from "laravel-echo"

window.Echo = new Echo({
    broadcaster: 'pusher',
    key: 'MY-KEY',
    encrypted: true
});

from echo.

oyed avatar oyed commented on July 2, 2024

Your original error was caused by the docs saying to use key, but Echo expecting you to use pusherKey, which Taylor fixed in bdc7d47 (5 hours after this issue)

Regarding your new error - can you give us the whole error from the console?

EDIT: From what you've said about socketId; if you're not using Vue Resource, you'll need to set the header for Socket ID. You can find the docs for that here (Scroll down a little to see "Configuration").

from echo.

fwartner avatar fwartner commented on July 2, 2024

I am using Vue for my whole application.. But it´s fixed now. Thanks anyways :)

from echo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.