socket error on sendato #1583

Closed
opened 2019-12-07 01:25:49 +01:00 by sashamd · 4 comments
sashamd commented 2019-12-07 01:25:49 +01:00 (Migrated from github.com)

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: a69732f060

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: a69732f060608428ddfebf608bdb3c8751e296ce
navjotcis commented 2020-09-09 19:44:37 +02:00 (Migrated from github.com)

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

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 commented 2020-09-09 21:37:15 +02:00 (Migrated from github.com)

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

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 commented 2020-09-11 13:06:39 +02:00 (Migrated from github.com)

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

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](https://user-images.githubusercontent.com/33522186/92918562-2645f700-f44d-11ea-806e-105c5f8ca58f.png) and then I have test the whole process again and now it is connecting through the socket after internet connection from a disconnected state
PeterSurda commented 2020-11-11 09:22:00 +01:00 (Migrated from github.com)

Fixed in #1676

Fixed in #1676
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-11-30#1583
No description provided.