Skip to content

hget panic and not resumable when connection reset by peer #33

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

Open
cuonglm opened this issue Aug 18, 2019 · 0 comments
Open

hget panic and not resumable when connection reset by peer #33

cuonglm opened this issue Aug 18, 2019 · 0 comments

Comments

@cuonglm
Copy link

cuonglm commented Aug 18, 2019

% ./bin/hget https://download.jetbrains.com/go/goland-2019.2.dmg\?_ga\=2.155218107.1855567477.1566137657-1279663696.1566137657                                                                                                                               cuonglm@Cuongs-MBP
INFO: Resolve ip: 52.17.184.56 | 52.50.241.213
INFO: Start download with 12 connections
INFO: Download target size: 339.5 MB
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-0 13.27 MiB / 28.29 MiB [=======================================================================>---------------------------------------------------------------------------------]  46.91% 18m50s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-1 28.29 MiB / 28.29 MiB [=========================================================================================================================================================] 100.00% 16m41s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-2 18.81 MiB / 28.29 MiB [=====================================================================================================>---------------------------------------------------]  66.50% 08m22s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-3 14.61 MiB / 28.29 MiB [===============================================================================>-------------------------------------------------------------------------]  51.65% 15m37s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-4 20.58 MiB / 28.29 MiB [===============================================================================================================>-----------------------------------------]  72.74% 04m09s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-5 16.33 MiB / 28.29 MiB [========================================================================================>----------------------------------------------------------------]  57.72% 12m13s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-6 15.81 MiB / 28.29 MiB [=====================================================================================>-------------------------------------------------------------------]  55.90% 13m04s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-7 16.80 MiB / 28.29 MiB [==========================================================================================>--------------------------------------------------------------]  59.39% 11m24s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-8 8.98 MiB / 28.29 MiB [================================================>---------------------------------------------------------------------------------------------------------]  31.76% 31m23s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-9 5.11 MiB / 28.29 MiB [===========================>----------------------------------------------------------------------------------------------------------------------------]  18.05% 1h14m40s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-10 28.29 MiB / 28.29 MiB [========================================================================================================================================================] 100.00% 16m41s
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657-11 15.33 MiB / 28.29 MiB [==================================================================================>---------------------------------------------------------------------]  54.18% 11m52s
ERROR: read tcp 192.168.1.226:50509->13.225.103.16:443: read: connection reset by peerpanic: read tcp 192.168.1.226:50509->13.225.103.16:443: read: connection reset by peer

goroutine 1 [running]:
main.Execute(0x7ffeefbff833, 0x6f, 0x0, 0xc, 0x139d801)
	/Users/cuonglm/go/src/github.com/huydx/hget/main.go:105 +0xd83
main.main()
	/Users/cuonglm/go/src/github.com/huydx/hget/main.go:58 +0x208
±|master ✔| hget
% ./bin/hget tasks                                                                                                                                                                                                                                           cuonglm@Cuongs-MBP
INFO: Currently on going download:
goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657
±|master ✔| hget
% ./bin/hget resume https://download.jetbrains.com/go/goland-2019.2.dmg\?_ga\=2.155218107.1855567477.1566137657-1279663696.1566137657                                                                                                                        cuonglm@Cuongs-MBP
INFO: Getting data from /Users/cuonglm/.hget/goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657/state.json
ERROR: open /Users/cuonglm/.hget/goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657/state.json: no such file or directorypanic: open /Users/cuonglm/.hget/goland-2019.2.dmg?_ga=2.155218107.1855567477.1566137657-1279663696.1566137657/state.json: no such file or directory

goroutine 1 [running]:
main.FatalCheck(...)
	/Users/cuonglm/go/src/github.com/huydx/hget/util.go:16
main.main()
	/Users/cuonglm/go/src/github.com/huydx/hget/main.go:49 +0x6e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant