github-sectory icon indicating copy to clipboard operation
github-sectory copied to clipboard

Error formatting of error message if the Internet is not working.

Open amarlearning opened this issue 9 years ago • 12 comments

Error formatting of error message if the Internet is not working.

amarlearning avatar Mar 16 '17 12:03 amarlearning

@amarlearning I have created a PR for the same. Please let me know if there is some issue. #4

iankur avatar Mar 22 '17 19:03 iankur

@iankur LGTM :100:

amarlearning avatar Mar 24 '17 15:03 amarlearning

is this issue still available?

ghost avatar Apr 11 '17 07:04 ghost

@shreab373 Before you proceed to take this issue, please read this.

Let me know if you need any help.

amarlearning avatar Apr 11 '17 12:04 amarlearning

read it, what exactly needs to be done here?

ghost avatar Apr 11 '17 17:04 ghost

Thanks to @iankur for resolving this issue too much extent! :smile:

It may happen that the connection goes away in the middle of the process. This may prevent from making further connections which are taken care by the above case. It may also happen that the connection was established to get a socket and then the connection goes away. This may leave the socket waiting indefinitely. So I added a timeout parameter which helps us to detect the above case with another exception. However, there is a problem with this approach. Downloading large files may not be possible if it takes longer than the timeout.

@shreab373 You can resolve this issue "However, there is a problem with this approach. Downloading large files may not be possible if it takes longer than the timeout"

Here the timeout is set to 30 secs if any file takes longer it will be canceled!

amarlearning avatar Apr 13 '17 11:04 amarlearning

@amarlearning @iankur I could reproduce the issue with the timeout parameter raising the exception when the internet connection went down, but I wasn't able to reproduce the issue dealing with download of large files with a timeout parameter. It continues to download for more than the timeout value.

sk364 avatar Nov 14 '17 19:11 sk364

@amarlearning @iankur is this issue still valid. If yes, can you please explain in more detail

theharshitgarg avatar Dec 27 '17 04:12 theharshitgarg

@sk364 @theharshitgarg by timeout error I meant that if someone's internet connection is slow and the size of the page that we are trying to get is large then, in that case, it might take more than 30secs to get the data from the page.

this issue is all about this problem and sorry for the delay.

https://github.com/amarlearning/Github-Sectory/blob/582c936d50a663d6859571c93ede4e2660f2986a/github-sectory#L98

amarlearning avatar Feb 07 '18 13:02 amarlearning

Hey @amarlearning , Are you still looking to get this fixed ?

saurabh259 avatar Jul 04 '18 17:07 saurabh259

@saurabh259 yes, this issue is open.

amarlearning avatar Jul 05 '18 07:07 amarlearning

Please close this issue if it has been resolved, else it can create a lot of confusion.

swapniljha001 avatar Sep 02 '20 07:09 swapniljha001