Commit graph

6636 commits

Author SHA1 Message Date
Jack Robison
71fbb3df24
Merge pull request #2414 from lbryio/fix-connection-errors-reloaded
Switch to the fastest wallet server and fix connection errors
2019-08-26 11:13:20 -04:00
Victor Shyba
9cfa9b2c57 use only the main session, dont cancel on connectionerror 2019-08-26 11:17:39 -03:00
Victor Shyba
b9b8178e30 use a semaphore to avoid false timeouts on large syncs 2019-08-26 11:17:39 -03:00
Victor Shyba
089cefb77b make it debug for now, there are false positives 2019-08-26 11:17:39 -03:00
Victor Shyba
ee9ea1faab get history only from main server 2019-08-26 11:17:39 -03:00
Victor Shyba
22b2cf8b0c warn when out of sync 2019-08-26 11:17:39 -03:00
Victor Shyba
10bd3c9dda fix misc reconnect scenarios 2019-08-26 11:17:39 -03:00
Victor Shyba
6c3147fcf4 simple address subs instead of batch 2019-08-26 11:17:39 -03:00
Jack Robison
5e8d169c50 debug 2019-08-26 11:17:39 -03:00
Jack Robison
8657a35fd7 switch_to_fastest 2019-08-26 11:17:39 -03:00
Jack Robison
97c0b60a22 logging 2019-08-26 11:17:39 -03:00
Lex Berezhny
8a284d6c49 metrics reporting fix for wallet servers 2019-08-26 09:39:42 -04:00
Jack Robison
ff4b2f2dec
Merge pull request #2411 from lbryio/fix-offline-connection-errors
Fix misc errors when going offline/online
2019-08-22 13:48:02 -04:00
Jack Robison
aedce256af
fix wallet status silently breaking when offline
-update wallet status to use real latency values and the full list of connected servers
2019-08-22 13:11:17 -04:00
Jack Robison
48b4b97132
fix uncaught exchange rate manager errors when going offline 2019-08-22 13:11:17 -04:00
Jack Robison
6b1f88df66
fix status breaking (and loggly) when the internet connection is lost 2019-08-22 13:11:17 -04:00
shyba
d246c46227
Merge pull request #2397 from lbryio/unpack_leftovers
fix unpack error known leftovers
2019-08-22 13:41:25 -03:00
Victor Shyba
7fdd9dc293 fix annoying assertEquals warning 2019-08-21 22:03:24 -03:00
Victor Shyba
202861a900 fix unpack leftovers 2019-08-21 22:03:24 -03:00
Victor Shyba
4c41e7cb29 check headers bounds on access 2019-08-21 22:03:24 -03:00
Jack Robison
92823dcea9
Merge pull request #2407 from lbryio/temporary_speedup_ci
travis: remount /tmp as tmpfs
2019-08-21 20:08:27 -04:00
Victor Shyba
795a5227bc travis: remount /tmp as tmpfs 2019-08-21 20:05:39 -03:00
Alex Grintsvayg
bbd4bb99b7
committing my claim search test script 2019-08-21 13:28:30 -04:00
Alex Grin
f7443061ef
less verbose logging 2019-08-21 09:54:10 -04:00
Jack Robison
416c3c16ab v0.39.2 2019-08-20 20:37:20 -04:00
Jack Robison
a11956ece0
Merge pull request #2398 from lbryio/retriable_batcheable_networking
Improve wallet server selection
2019-08-20 20:10:05 -04:00
Jack Robison
c4e0c659a7
fix missing perf_counter 2019-08-20 19:22:22 -04:00
Jack Robison
f6ba09b171
mypy 2019-08-20 15:41:27 -04:00
Jack Robison
b827881024
mypy 2019-08-20 15:35:06 -04:00
Jack Robison
89e395b5f4
pylint 2019-08-20 15:26:00 -04:00
Jack Robison
c590954eb9
include connection latency in server selection 2019-08-20 15:11:01 -04:00
Jack Robison
a5af3866fd
time.time -> time.perf_counter 2019-08-20 14:56:13 -04:00
Jack Robison
1bef56f030
disconnect from duplicate servers (same ip, different dns) 2019-08-20 14:55:24 -04:00
Jack Robison
9045737504
track response time for server.version only 2019-08-20 14:54:55 -04:00
Jack Robison
0e48772c84
track connection latency 2019-08-20 14:45:53 -04:00
Jack Robison
72690b5cff
raise asyncio.TimeoutError 2019-08-20 14:19:50 -04:00
Jack Robison
07bae26fd3
close connection and reraise on CancelledError 2019-08-20 14:16:56 -04:00
Victor Shyba
7b0e4617d3 fix db test stability 2019-08-20 04:11:04 -03:00
Victor Shyba
af797296ed rolling averages on response time 2019-08-19 16:50:24 -03:00
Victor Shyba
c826c7da0d take load into consideration when picking fastest 2019-08-19 14:02:30 -03:00
Victor Shyba
20af1396b9 refactor stop 2019-08-19 14:02:30 -03:00
Victor Shyba
f567aca532 retry and batch requests, fix some loose ends 2019-08-19 14:02:30 -03:00
Lex Berezhny
c60b658443 v0.39.1 2019-08-19 13:02:16 -04:00
Jack Robison
fde8c34088
Merge pull request #2401 from lbryio/check-blob-peers-pingable
UDP ping blob peers to prioritize those who can be connected to
2019-08-19 13:01:40 -04:00
Jack Robison
deb6a07160
fix test 2019-08-19 12:51:17 -04:00
Jack Robison
0a66e1b24c
logging 2019-08-19 12:29:13 -04:00
Jack Robison
819a551b77
Merge pull request #2402 from lbryio/aioupnp-0.0.14
bump `aioupnp` requirement to 0.0.14, fixes upnp errors blocking startup
2019-08-19 12:08:22 -04:00
Jack Robison
5119b71035
prevent attempting to download from oneself 2019-08-19 12:08:17 -04:00
Jack Robison
33945e14d3
use _value_producer in peer_list to match the downloader behavior 2019-08-19 12:08:17 -04:00
Jack Robison
1d9705fb17
reuse blob protocol object instead of transport 2019-08-19 12:08:17 -04:00