Git Product home page Git Product logo

Comments (5)

jjsaunier avatar jjsaunier commented on June 14, 2024

Hi,

Predis driver is not decorated by Doctrine Cache, you don't need decorator here it's a direct implementation. Redis driver have one but not Predis.

So you can remove this line from your configuration :

 decorator: @gos_web_socket.client_storage.doctrine.decorator

from websocketbundle.

maresc-g avatar maresc-g commented on June 14, 2024

Ok so I don't have the error anymore but the session is still not shared.
After login my session is stored in the database but I get an anon user in the websocket server.

from websocketbundle.

jjsaunier avatar jjsaunier commented on June 14, 2024

May be because you are on different domain, it's cookie based so if the websocket is running on 127.0.0.1 you must access to your website via http://127.0.0.1. Is it the same domain ?

So if you are on http://my-site.tld, you should set the websocket on my-site.tld address

from websocketbundle.

maresc-g avatar maresc-g commented on June 14, 2024

Everything is already running on 127.0.0.1 but anyway it works now even though I didn't touch anything since last time so it must have been a cache issue or something like that I guess.

Anyway, thanks for the help !

from websocketbundle.

jjsaunier avatar jjsaunier commented on June 14, 2024

Ok glad to hear that ;)
Le 5 nov. 2015 10:25, Guillaume Marescaux [email protected] a écrit :Everything is already running on 127.0.0.1 but anyway it works now even though I didn't touch anything since last time so it was a cache issue or something like that maybe.

Thanks for the help !

—Reply to this email directly or view it on GitHub.

from websocketbundle.

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.