Hi all,
I am downloading the folder syn22287051. Whether I use R, Python, or the command line to download, I can only download the BAAJ-Young_Spleen-AS010-1_S1_L001_R2_001.fastq.gz file, and the other files always stopped at 99% without any change. I changed to download the file one by one by 'synapse get syn22292461', it also encountered the same problems. Could someone help me out? Thanks in advance!
![files_download](https://imgur.com/X74KMYm)![file_stop](https://imgur.com/aAhfxFq)
Sincerely,
Ziqing He
Created by ziqing he heziqing Regarding 99% download, you could add the `--debug` option to help find the point where the download fails, e.g.
```
synapse --debug get syn22292461
```
For me, it works:
```
% synapse --debug get syn22292461
Synapse username (leave blank if using an auth token):
Auth token:
...
Downloading [--------------------]0.12% 8.0MB/6.4GB (4.2MB/s) BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz.s
Downloading [--------------------]0.24% 16.0MB/6.4GB (8.1MB/s) BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz.
Downloading [--------------------]0.37% 24.0MB/6.4GB (11.4MB/s) BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz
...
Downloading [####################]99.76% 6.4GB/6.4GB (31.8MB/s) BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz
Downloading [####################]99.88% 6.4GB/6.4GB (31.7MB/s) BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz
Downloading [####################]100.00% 6.4GB/6.4GB (31.7MB/s) BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz.synapse_download_63516655 Done...
Downloaded file: BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz
2021-07-15 15:36:49,866 [__main__:118 - INFO]: Downloaded file: BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz
Creating /Users/bhoff/BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz
2021-07-15 15:36:49,867 [__main__:123 - INFO]: Creating /Users/bhoff/BAAJ-Aged_Spleen-AS010-2_S3_L001_R1_001.fastq.gz
``` Something's wrong with your network connection. You should not be seeing the error
```
Exception in version check: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
```
when you simply log in. For example this is what it looks like for me:
```
% synapse login -u brucehoff
Password, api key, or auth token for user brucehoff:
Welcome, Bruce Hoff!
Logged in as: brucehoff (273960)
```
Do you have trouble connecting to other web sites? Can you try the following, using the [curl](https://curl.se/download.html)command-line web client?
```
curl -i https://raw.githubusercontent.com/Sage-Bionetworks/synapsePythonClient/master/synapseclient/synapsePythonClient
```
You should get something like:
```
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: "e1361a7c3c4d4ec3d3ded4b55cd8e869646aac6d3bb18bea561516b45bea02f8"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: E0EA:73FE:1FD1E1:2EDA10:60F03F23
accept-ranges: bytes
date: Thu, 15 Jul 2021 14:00:21 GMT
via: 1.1 varnish
x-served-by: cache-sea4437-SEA
x-cache: HIT
x-cache-hits: 1
x-timer: S1626357622.925051,VS0,VE0
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
x-fastly-request-id: bd26d72d9938f454d7d96fc2e8a564d9d1edc54f
expires: Thu, 15 Jul 2021 14:05:21 GMT
source-age: 82
content-length: 216
{
"client":"synapsePythonClient",
"latestVersion":"2.4.0",
"blacklist":["0.0.0", "0.4.1", "0.4.0", "0.3.0", "0.2.1", "0.2.0", "0.1.4"],
"releaseNotes":"https://python-docs.synapse.org/build/html/news.html"
}
```
Hi,
I am using the latest Python and command line client. I always encountered this error when I log in. It still works, but can't download the full file.
```
synapse --version
Synapse Client 2.4.0
synapse login -u heziqing -p
Exception in version check: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Welcome, ziqing he!
Logged in as: heziqing (3425589)
python
Python 3.9.5 (default, Jun 4 2021, 12:28:51)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import synapseclient
>>> synapseclient.__version__
'2.4.0'
```
Sorry for the inconvenience. Can you verify you are using the lastest Python or command line client? For example:
In Python:
```
>>> import synapseclient
>>> synapseclient.__version__
'2.4.0'
```
Command line:
```
% synapse --version
Synapse Client 2.4.0
```
We don't recommend R for large file transfer since the language is inherently single threaded.
Drop files to upload
Stop at 99% when downloading files page is loading…