-
Notifications
You must be signed in to change notification settings - Fork 23
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
Bot doesn't connect #28
Comments
What endpoint are you trying to connect to? As an aside, you can get more asyncio debugging information by passing an event loop with debug enabled:
Test script:
This is connecting to
|
Aha! I was using the ssl port on a non ssl server. Once I got past that, I ran into another issue that might be worth documenting. Before sending the join, I had to do Anywhoo, I am closing this ticket. Thanks for the help! Showing me how to enable debugging was also very useful. |
I forgot to respond to this issue a while back. The solution of waiting for the server Technically, you should be able to wait for any message from the server starting at You might also choose to wait for the end of the message of the day ( The examples should probably be changed to include waiting for a server response before sending the |
This is really good info, thanks @thebigmunch! I think jiujitsu's comment above is the only mention of waiting for I'd like to add something to Your comment also hit on something not covered in the examples: how to wait for one of two signals. This is just using Actually, waiting on first of |
Yes, I the first part of my comment was in regards to jiujitsu's solution; all of the current examples just send Honestly, the README is far too long in my opinion. Much of it should just be left for the docs. Project-related stuff like installation, contributing, etc is great in the README. The single 'Getting Started' section with a simple example is fine, too. And that should probably have a wait added to it. A long, crowded README is more likely to get skipped over/ignored. You can then just link to the examples directory or docs (if adding the examples to the docs). As for what to wait on, message of the day is definitely a fine choice. I honestly don't know what most clients do, but I think that sounds good. |
Thanks again for the feedback. Examples now Edit: @thebigmunch created #33 for the doc changes. Unless you have comments, I'll merge + release tonight or tomorrow. |
There is an interesting parallel between d5425da and gawel/irc3#14. That issue on |
Just saw your edit and #33. Would you like me to move my comment to there? |
Please |
I'm using Python 3.5.1, and trying to use the example
echo.py
on a variety of efnet servers. I set ssl toFalse
. I tested on both OSX and Debian. I added some debug statements like this:And the output is:
However, the bot appears to hang at that point. I don't see it join my channel nor do I see it connected to the server at all. Let me know if there is any other info I can provide to help debug. Thanks!
The text was updated successfully, but these errors were encountered: