Skip to content
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

Problem When Downloading Files From EGA Using PyEGA3 #216

Open
caozilongsuper opened this issue Nov 20, 2023 · 5 comments
Open

Problem When Downloading Files From EGA Using PyEGA3 #216

caozilongsuper opened this issue Nov 20, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@caozilongsuper
Copy link

When I am trying to download files which has been approved by the DAC, and it shows in my datasets. But I can not download it through the PyEGA3.Following is log showing what the problem is.
pyega3 -cf /share/CZL/pancancer-GWAS/cervix_carcinoma/EGAS00001003199_credential_file.json fetch EGAF00002191775 --output-dir /share/CZL/pancancer-GWAS/cervix_carcinoma/
[2023-11-21 01:16:24 +0800]
[2023-11-21 01:16:24 +0800] pyEGA3 - EGA python client version 5.1.0 (https://github.com/EGA-archive/ega-download-client)
[2023-11-21 01:16:24 +0800] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly
[2023-11-21 01:16:24 +0800] Python version : 3.9.18
[2023-11-21 01:16:24 +0800] OS version : Linux #1 SMP Fri Apr 20 16:44:24 UTC 2018
[2023-11-21 01:16:24 +0800] Server URL: https://ega.ebi.ac.uk:8443/v2
[2023-11-21 01:16:24 +0800] Session-Id: 4029466302
[2023-11-21 01:16:27 +0800]
[2023-11-21 01:16:27 +0800] Authentication success for user '[email protected]'
[2023-11-21 01:16:33 +0800] There was a problem communicating with the EGA repository: 403 Client Error: for url: https://ega.ebi.ac.uk:8443/v2/metadata/files/EGAF00002191775

@caozilongsuper caozilongsuper added the bug Something isn't working label Nov 20, 2023
@chualec
Copy link

chualec commented Jun 10, 2024

Hi, I'm also getting a similar error:
There was a problem communicating with the EGA repository: 403 Client Error: for url: https://ega.ebi.ac.uk:8443/v2/metadata/files/EGAF00004726921

has this been solved?

@CsabaHalmagyi
Copy link
Contributor

@caozilongsupper @chualec could you please confirm you tried downloading with the most recent version of the client?

@amnahsiddiqa
Copy link

amnahsiddiqa commented Jul 12, 2024

I am also facing the same issue in 2024 with latest version installed pyega. I have submitted ticket to EGAhelp desk as well. the above solution increasing chunk size and connections did not work for me. Neither SFTP is working for me. Any thoughts anybody !
Screenshot 2024-07-12 at 1 49 50 PM

@AlexCork1
Copy link

I have similar error as well:
[2024-07-17 09:24:31 +0200] pyEGA3 - EGA python client version 5.2.0 (https://github.com/EGA-archive/ega-download-client)
[2024-07-17 09:24:31 +0200] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly
[2024-07-17 09:24:31 +0200] Python version : 3.10.12
[2024-07-17 09:24:31 +0200] OS version : Linux #1 SMP Thu Jan 11 04:09:03 UTC 2024
[2024-07-17 09:24:31 +0200] Server URL: https://ega.ebi.ac.uk:8443/v2
[2024-07-17 09:24:31 +0200] Session-Id: 3436947463
[2024-07-17 09:24:35 +0200]
[2024-07-17 09:24:35 +0200] Authentication success for user MY_USERNAME
[2024-07-17 09:24:52 +0200] There was a problem communicating with the EGA repository: 404 Client Error: for url: https://ega.ebi.ac.uk:8443/v2/metadata/files/EGAF00007407365

I can download other files in this dataset, just not this one.

Also, on ega-archive.org web page, this file is the only one in this dataset missing:

  • "Spanish" flag (has only GB flag) in column "Located in"
  • "Quality Reports" icon in last column

@quick2063706271
Copy link

Hi, I'm also getting a similar error: There was a problem communicating with the EGA repository: 403 Client Error: for url: https://ega.ebi.ac.uk:8443/v2/metadata/files/EGAF00004726921

has this been solved?

Hi, have you figured out a solution? I am having the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants