-
Notifications
You must be signed in to change notification settings - Fork 247
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
fastq-dump.2.8.2 sys: connection failed while opening file within cryptographic module - mbedtls_ssl_handshake returned -76 ( NET - Reading information from the socket failed ) #139
Comments
Many people would be surprised that a command line tool like this can output error text and still complete successfully. We are aware of the confusion this creates, and are working on changing this interaction in our tools. But for today, it's what we have. The issue is that the tool does in fact have network-related errors as it executes. When it encounters these errors, it reports them because the error may result in a failure to perform the task of converting the run to fastq. At the same time, the tool works hard to overcome these errors by trying again and again until it eventually gives up or succeeds. If it eventually gives up, then the important error(s) are the first ones that it encounters, and that's why we emit them when they occur. Network errors are beyond the control of our software, and can be introduced by dozens or hundreds of devices in between your computer and our servers. The best we can do is to report them when detected and try again in the hope that the error is transient as so many of them are. The Unix status code will tell you whether the tool succeeded or not, and the appearance of the final result tally also tells you that the tool completed successfully. |
Thank you for your reply! I see, this error appears in most runs but they all have the report of the number of reads at the end and appear to have completed successfully. |
If you are converting a large number of runs, you may want to get the latest software and look at fasterq-dump. Depending upon your environment, it could be useful and it is less prone to the types of spurious errors you observe. That said, it can still run into errors, but its access patterns tend to reduce their likelihood. |
This can be really useful for me. From the manual, I see just giving the SRR accession, it will download SRR_1.fastq and SRR_2.fastq without the need to specify "split" as it is used in fastqdump, is that correct? Thanks a lot again! |
Just one more question. How can I formally check if the download of the fastq files has been done correctly? Is there a way to check that? Thank you again! |
There are very few ways of absolutely proving that a fastq file set represents the identical information contained in an SRA object. Some of the common validations are a count of the number of reads, but this has to be done with care since traditionally there are filters applied on output that can cause reads to be dropped. With fastq-dump, the number of spots read should equal the total number in the object, which can be viewed with the tool To see a summary of what an SRA object contains, run the following command:
To see the number of spots, you can execute
which will show that it occupies 90,716,435 rows (spots), or just look for the output of |
This is amazing, thank you so much! So in my example, I have a report that: and using Thank you very much again for your great help! |
Yes, exactly. The |
Perfect! Thank you so so much for all your help! |
Hello,
I get the following error when using fastqdump:
fastq-dump.2.8.2 sys: connection failed while opening file within cryptographic module - mbedtls_ssl_handshake returned -76 ( NET - Reading information from the socket failed )
However, the files seem to be downloaded successfully and there is a small report of the number of reads:
Read 90716435 spots for SRR955798
Written 90716435 spots for SRR955798
I saw a similar error report in github page but I was still concerned. Can I trust the files downloaded?
Thank you,
Homa
The text was updated successfully, but these errors were encountered: