-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Understanding how to connect to the public Fedora broker from outside using library #190
Comments
See #171 and #186. The example from docs doesn't work. Well I spent quite some time on trying to make this work (without success) ... and seems like I'm not alone. I'd suggest at least to turn on the debugging output by default in the example, and while on it - consider adding a warning that it currently doesn't work. |
It would be good to add the log configuration setup to the snippet, yes. |
@jeremycline After #192 I now get a clearer idea of what's wrong (this also saves me the effort of opening another ticket for trying to connect via Java's RabbitMQ library) so thanks a bunch! I'm now seeing
and nothing else prints after that. |
@changlinli can you attach your configuration file. the code snippet you're running, and the commit you've got checked out? I did a test against the Fedora /public_pubsub vhost after the fix and it worked fine so I'll need to see your specific setup to reproduce it. Thanks! |
@jeremycline It looks like updating to the latest version of |
There's still a minor issue with the current docs that I've put in a small PR for here: #193 |
Using
fedora-messaging --conf=conf.toml consume --callback=fedora_messaging.example:printer
I can successfully connect and see messages printing out.Unfortunately when I run what I think is the equivalent code from the docs, I get nothing printed out to stdout at all (not even any connection information).
This is even if I set the
FEDORA_MESSAGING_CONF
environment variable toconf.toml
. Is there some other configuration or logging that I'm missing?The text was updated successfully, but these errors were encountered: