android-ipfs-lite icon indicating copy to clipboard operation
android-ipfs-lite copied to clipboard

Very slow data fetching

Open kuabhish opened this issue 5 years ago • 4 comments

Following up on the issue : https://github.com/textileio/android-ipfs-lite/issues/12

The fetching of any data is very slow (in android). I am also checking in the browser, parallely. It is fetching the same CID a lot faster.

How can it be made faster? In half an hour i only got error:

E/GoLog: 2020-04-23T13:04:43.490Z	[33mWARN[0m	relay	go-log/log.go:180	relay error: MALFORMED_MESSAGE (400)
E/GoLog: 2020-04-23T13:13:17.960Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:13:24.722Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:13:49.936Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:14:17.597Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:15:46.891Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:16:25.177Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:17:33.337Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:18:00.233Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:19:17.091Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:20:37.229Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:20:42.545Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:22:26.788Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:22:45.868Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:23:25.332Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:23:36.365Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T13:24:12.372Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set

kuabhish avatar Apr 23 '20 14:04 kuabhish

i am also seeing this... for half an hour..

E/GoLog: 2020-04-23T20:29:42.558Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:30:22.027Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:30:25.177Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:30:37.195Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:31:16.291Z	[33mWARN[0m	net/identify	go-log/log.go:175	error reading identify message: short buffer
E/GoLog: 2020-04-23T20:31:18.308Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:31:22.495Z	[33mWARN[0m	dht	go-log/log.go:180	Bad dht record in PUT from: QmQHzQqXe5npsyRfRFrSbjDHTKKRz1cULajerNZrJLAMsK. invalid record keytype
E/GoLog: 2020-04-23T20:31:22.858Z	[33mWARN[0m	dht	go-log/log.go:180	Bad dht record in PUT from: QmQHzQqXe5npsyRfRFrSbjDHTKKRz1cULajerNZrJLAMsK. invalid record keytype
E/GoLog: 2020-04-23T20:31:51.885Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:32:18.931Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:32:37.405Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:33:04.047Z	[33mWARN[0m	dht	go-log/log.go:180	Bad dht record in PUT from: QmQHzQqXe5npsyRfRFrSbjDHTKKRz1cULajerNZrJLAMsK. invalid record keytype
E/GoLog: 2020-04-23T20:33:04.423Z	[33mWARN[0m	dht	go-log/log.go:180	Bad dht record in PUT from: QmQHzQqXe5npsyRfRFrSbjDHTKKRz1cULajerNZrJLAMsK. invalid record keytype
E/GoLog: 2020-04-23T20:33:14.320Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:33:27.337Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:34:13.241Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:34:32.419Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:34:45.763Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:34:46.952Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set
E/GoLog: 2020-04-23T20:34:54.042Z	[33mWARN[0m	net/identify	go-log/log.go:175	error reading identify message: short buffer
E/GoLog: 2020-04-23T20:35:27.371Z	[33mWARN[0m	dht	go-log/log.go:180	Bad dht record in PUT from: QmQHzQqXe5npsyRfRFrSbjDHTKKRz1cULajerNZrJLAMsK. invalid record keytype
E/GoLog: 2020-04-23T20:35:27.788Z	[33mWARN[0m	dht	go-log/log.go:180	Bad dht record in PUT from: QmQHzQqXe5npsyRfRFrSbjDHTKKRz1cULajerNZrJLAMsK. invalid record keytype
E/GoLog: 2020-04-23T20:36:07.952Z	[33mWARN[0m	net/identify	go-log/log.go:175	error reading identify message: short buffer
E/GoLog: 2020-04-23T20:36:27.171Z	[33mWARN[0m	bitswap	go-log/log.go:175	SendMsg errored but neither 'done' nor context.Done() were set

kuabhish avatar Apr 23 '20 20:04 kuabhish

How are you fetching it in the browser? Via js-ipfs?

andrewxhill avatar Apr 23 '20 20:04 andrewxhill

like this : https://ipfs.io/ipfs/QmVneuc3suf78aVdvFY3BW9HoiEfNxD7WB5zu1f9fbun3D

kuabhish avatar Apr 24 '20 07:04 kuabhish

@andrewxhill .

kuabhish avatar May 01 '20 08:05 kuabhish