jbuitt / nwws-python-client

Python client for downloading products from NOAA Weather Wire
https://github.com/jbuitt/nwws-python-client
MIT License
10 stars 10 forks source link

Nothing happens... #3

Closed Symo closed 3 years ago

Symo commented 3 years ago

I see this was updated 4 months ago. I seem to be able to connect with no issues, but after connecting, it just sits there. I don't get any further text on the display, and nothing being saved to the output directory.

Has something changed, or am I doing something wrong?

Thank you!

jbuitt commented 3 years ago

What does your config.json file look like? (redacting your username and password of course)

Symo commented 3 years ago

{ "server": "nwws-oi.weather.gov", "port": 5222, "username": "username", "password": "password", "resource": "nwws", "archivedir": "products", "retry": true, "use_tls": true, "use_ssl": false }

Thank you for the reply! :) Through some playing around, I see that I get the welcome message from the server, but almost seems as if I'm not joining the chat. I have tried to use pidgin, and that all seems to work with no issue. I completely close pidgin before attempting to connect with python.

jbuitt commented 3 years ago

It may be the nwws resource you're using. Trying using something unique like symo2021.

Symo commented 3 years ago

PERFECT! That fixed it. I only used nwws, as it was in their example setup for Pidgin on their configuration page. Thank you!!

jbuitt commented 3 years ago

Great! Glad that did the trick. From my understanding, the NWWS-OI conference room needs all its attendees to use a unique resource name, since it's used like a chat room handle.

I'm going to go ahead and close this issue.

Thanks!