Closed mikeysteele closed 8 years ago
@mikeysteele That doesn't give me a lot to go on. Can you create a sample project with the minimum amount of code and steps to reproduce the problem? Make sure you include the composer.lock file.
I've actually found the problem:
The ClientManager uses the trusted_url config option, not url. Changing my config to have trusted_url fixed the problem. Sorry for wasting your time.
Hi,
I have a problem where publishing from the PHP client doesn't work. There's no obvious errors, the client just doesn't appear to connect to the router. Clients connected using Autobahn.js work fine
Here is my config
And here is the line in my controller which is supposed to send the message:
I'm guessing the connection fails for some reason between the PHP client and the server, but I can't find any errors anywhere. Is there something I've missed?