Git Product home page Git Product logo

Comments (6)

jjsaunier avatar jjsaunier commented on June 15, 2024

Can you past the configuration of the bundle that you are using ?

from websocketbundle.

legarasu avatar legarasu commented on June 15, 2024

In resources/config/config.yml

gos_web_socket:
    server:
         port: %web_socket_server_port%   #The port the socket server will listen on
         host: %web_socket_server_host%   #The host ip to bind to
         router:
              resources:
                   - @SensorBundle/Resources/config/topic.yml
    pushers:
         wamp:
              host: %web_socket_server_host%       
              port: %web_socket_server_port%
    topics:
         - @forua_api.topic.event

In SensorBundle/Resources/config/topic.yml

forua_topic_event:
    channel: forua/event
    handler:
        callback: 'forua_api.topic.event' #related to the getName() of your topic

I have a service with (XML format):

...

...

Thanks,

from websocketbundle.

jjsaunier avatar jjsaunier commented on June 15, 2024

Hey,

You topic.yml is wrong, please look at this docs : https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/master/Resources/docs/TopicSetup.md#step-2-register-your-service-with-symfony

I recommend you to use the tag way instead of registering the service in the config.yml

from websocketbundle.

legarasu avatar legarasu commented on June 15, 2024

Sorry, i have tried your suggest but still it does not work, is possible that you provide me an example? Thanks

from websocketbundle.

Joursain avatar Joursain commented on June 15, 2024

Sorry but this bug stills remains, this library does not work on IIS

from websocketbundle.

jjsaunier avatar jjsaunier commented on June 15, 2024

the only part that can throw a 403 is here https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/c4f2426d58def9484f4827a930e1af74b27abee6/Server/App/Stack/OriginCheck.php

Have you enable the origin checker feature?

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.