The Wayback Machine - https://web.archive.org/web/20210108202145/https://github.com/Bitmessage/PyBitmessage/issues/1583
Skip to content
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

socket error on sendato #1583

Closed
sashamd opened this issue Dec 7, 2019 · 4 comments
Closed

socket error on sendato #1583

sashamd opened this issue Dec 7, 2019 · 4 comments
Assignees
Projects
Milestone

Comments

@sashamd
Copy link

@sashamd sashamd commented Dec 7, 2019

When internet connection drops pybitmessage CPU utilization spikes to 100% and debug.log is quickly filled with 'ERROR - socket error on sendato: [Errno 101] Network is unreachable'.

OS: Ubuntu 16.04.6 LTS
Commit: a69732f

@navjotcis
Copy link
Contributor

@navjotcis navjotcis commented Sep 9, 2020

I have tried to check the issue so here when we disconnect the internet then socket connection gives exception so that already handled what's an issue with that? I don't understand the problem here

@sashamd
Copy link
Author

@sashamd sashamd commented Sep 9, 2020

Python2 doesn't work anymore on my system and PyBitmessage is shelved until better times. Sorry, I can't help with this right now.

@navjotcis
Copy link
Contributor

@navjotcis navjotcis commented Sep 11, 2020

I have tested it again and found some strange behavior because when the user disconnects to the internet the socket connection start giving error so in that case, it is closing socket connection I thought which is wrong because when I again connected with the internet then it is not connecting with the socket so I have commented close connection in udp.py module

image

and then I have test the whole process again and now it is connecting through the socket after internet connection from a disconnected state

navjotcis added a commit to navjotcis/PyBitmessage that referenced this issue Sep 11, 2020
navjotcis added a commit to navjotcis/PyBitmessage that referenced this issue Oct 8, 2020
navjotcis added a commit to navjotcis/PyBitmessage that referenced this issue Oct 12, 2020
navjotcis added a commit to navjotcis/PyBitmessage that referenced this issue Oct 13, 2020
navjotcis added a commit to navjotcis/PyBitmessage that referenced this issue Oct 23, 2020
@PeterSurda
Copy link
Member

@PeterSurda PeterSurda commented Nov 11, 2020

Fixed in #1676

@PeterSurda PeterSurda closed this Nov 11, 2020
Bugs automation moved this from To do to Done Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.