Comments (6)
Can you past the configuration of the bundle that you are using ?
from websocketbundle.
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.
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.
Sorry, i have tried your suggest but still it does not work, is possible that you provide me an example? Thanks
from websocketbundle.
Sorry but this bug stills remains, this library does not work on IIS
from websocketbundle.
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)
- Connection auto closes right after first incomming message HOT 1
- Suggestion: Native TLS support HOT 5
- The service ".service_locator.VS38E50" has a dependency on a non-existent service "Gos\Bundle\WebSocketBundle\Pusher\Wamp\WampPusher". HOT 5
- How define route with parameter?
- After upgrading Symfony from 5.3.0 to 5.3.13, gos:wsb gives error when client attempts to subscribe to channel HOT 4
- Push Notifications from Server HOT 1
- Error using PdoSessionHandler with symfony 6 - "VirtualSessionStorage::start() must be compatible.." HOT 3
- Session Problem PDO HOT 5
- Error installing the bundle: Undefined array key "port" HOT 2
- Uncaught ReferenceError: GosSocket is not defined HOT 2
- Please provide documentation for using the symfony messenger component as a pusher HOT 2
- Update to support modern Autobahn version. HOT 8
- New authentication flow using JWT HOT 9
- Subscribe to topic on server HOT 2
- Connection in IPV6 HOT 1
- TopicPeriodicTimer doesn't see new connections
- TopicPeriodicTimer only registered for one Topic, wrongly cleared if any one Topic has zero connections HOT 1
- How can I send a message HOT 2
- error while installing (In GosWebSocketExtension.php line 276 Notice: Undefined index: port)
- The "Gos\Bundle\WebSocketBundle\Pusher\PusherRegistry" class is deprecated and will be removed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocketbundle.