PRIDE-Archive / px-submission-tool

ProteomeXchange data submission tool
3 stars 5 forks source link

Upload error (Failed to get upload credentials) #134

Closed levitsky closed 2 years ago

levitsky commented 2 years ago

Hi everyone,

I'm trying to submit a dataset and at step 10 I get this error: image

The console output says the same thing:

2022-06-10 12:50:28,913 ERROR [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionDescriptor [SubmissionDescriptor.java:275] Cannot connect to Protomexchange web service for login credentials, likely outbound traffic for port TCP 22 is blocked. Please contact your system administrators to fix this problem.

I am in Russia, getting this error from two locations (home and work), on three versions of the tool (2.5.4 through 2.5.6) and also tried using a UK-located VPN. Nothing helps. How can I debug and/or fix this? Any suggestions are appreciated.

Previously we have successfully submitted data from the work location using the tool v2.5.4.

ypriverol commented 2 years ago

@levitsky is this error happening during the transfer step? or during login into the tool?

levitsky commented 2 years ago

Step 10, "Submission summary". I suppose that is where the transfer is supposed to start. I log in successfully at the first step.

ypriverol commented 2 years ago

By default, it will try to submit using aspera. However, you can switch in the config files to FTP directly. If the problem continues, please save the submission.px, and we can give you and FTP and you can use your own FTP client.

levitsky commented 2 years ago

Changing the protocol setting to ftp doesn't seem to change anything, unfortunately.

ypriverol commented 2 years ago

Please write an email to pride-support@ebi.ac.uk and we will give you and FTP location. Remember to save your submission.px

DrJCWright commented 2 years ago

I have emailed pride-support but just wanted to add that we are having the same problem at the ICR with this latest version of the submission tool.

levitsky commented 2 years ago

How long does it usually take to get a response? I sent a request 5 days ago ([pride-support #591976]) and have not had a reply yet.

levitsky commented 2 years ago

It's been two weeks and I haven't heard back from PRIDE Support yet.

DrJCWright commented 2 years ago

@levitsky Have you retried the submission? I attempted again earlier this weekend and the connection/authentication issue has resolved itself.

levitsky commented 2 years ago

@DrJCWright thanks for the heads-up! Unfortunately, my issue still persists. I also tried updating the submission tool to 2.5.7.

selvaebi commented 2 years ago

@levitsky right now with 2.5.7 at which step do you face the error?

levitsky commented 2 years ago

@selvaebi Right now with 2.5.7, as well as earlier with older versions, I get this error at step 10, "Submission Summary", after I accept the license and click the Submit button.

selvaebi commented 2 years ago

@levitsky Can you send me the submission.log file please

levitsky commented 2 years ago

@selvaebi You mean log/px_submission.log? Here's what is says:

2022-06-28 18:51:48,711 INFO [main] u.a.e.p.AppBootstrap [AppBootstrap.java:34] java -cp px-submission-tool-2.5.7.jar -Dpx.upload.protocol=aspera -Dpx.checksum.threads.size=1 uk.ac.ebi.pride.App
2022-06-28 18:51:49,487 ERROR [AWT-EventQueue-0] u.a.e.p.App [App.java:242] Failed to load a Look'n'Feel for the application java.lang.ClassNotFoundException: Nimbus
2022-06-28 18:55:36,564 INFO [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionTypeDescriptor [CalculateChecksumDescriptor.java:99] Writing calculated checksum to checksum.txt
2022-06-28 18:55:36,593 INFO [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionTypeDescriptor [CalculateChecksumDescriptor.java:119] Checksum calculated and written to checksum.txt for all files
2022-06-28 18:55:36,594 INFO [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionTypeDescriptor [CalculateChecksumDescriptor.java:120] Files count 437
2022-06-28 18:55:53,172 ERROR [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionDescriptor [SubmissionDescriptor.java:275] Cannot connect to Protomexchange web service for login credentials, likely outbound traffic for port TCP 22 is blocked. Please contact your system administrators to fix this problem.

And if I change the transfer method in config to FTP, then I get basically the same:

2022-06-28 18:57:30,237 INFO [main] u.a.e.p.AppBootstrap [AppBootstrap.java:34] java -cp px-submission-tool-2.5.7.jar -Dpx.upload.protocol=ftp -Dpx.checksum.threads.size=1 uk.ac.ebi.pride.App
2022-06-28 18:57:30,866 ERROR [AWT-EventQueue-0] u.a.e.p.App [App.java:242] Failed to load a Look'n'Feel for the application java.lang.ClassNotFoundException: Nimbus
2022-06-28 19:01:24,234 INFO [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionTypeDescriptor [CalculateChecksumDescriptor.java:99] Writing calculated checksum to checksum.txt
2022-06-28 19:01:24,288 INFO [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionTypeDescriptor [CalculateChecksumDescriptor.java:119] Checksum calculated and written to checksum.txt for all files
2022-06-28 19:01:24,288 INFO [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionTypeDescriptor [CalculateChecksumDescriptor.java:120] Files count 437
2022-06-28 19:01:32,300 ERROR [AWT-EventQueue-0] u.a.e.p.g.f.SubmissionDescriptor [SubmissionDescriptor.java:275] Cannot connect to Protomexchange web service for login credentials, likely outbound traffic for port TCP 22 is blocked. Please contact your system administrators to fix this problem.
levitsky commented 2 years ago

I guess, but it asks for authorization when I open it in the browser. And with curl, I get:

$ curl http://www.proteomexchange.org/archive-submission-ws/submission/upload/aspera
{"timestamp":"2022-06-28T16:43:13.265+0000","status":401,"error":"Unauthorized","message":"Unauthorized","path":"/archive-submission-ws/submission/upload/aspera"}

or:

$ http http://www.proteomexchange.org/archive-submission-ws/submission/upload/aspera
HTTP/1.1 401 
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Connection: keep-alive
Content-Type: application/json
Date: Tue, 28 Jun 2022 16:45:12 GMT
Expires: 0
Keep-Alive: timeout=60
Pragma: no-cache
Set-Cookie: JSESSIONID=C615A98F430203360611E7ACEA7E5C14; Path=/archive-submission-ws; HttpOnly
Transfer-Encoding: chunked
WWW-Authenticate: Basic realm="Realm"
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block

{
    "error": "Unauthorized",
    "message": "Unauthorized",
    "path": "/archive-submission-ws/submission/upload/aspera",
    "status": 401,
    "timestamp": "2022-06-28T16:45:12.187+0000"
}
selvaebi commented 2 years ago

can you provide your username and password in the browser?

levitsky commented 2 years ago

I can and I get a JSON in response, but apparently I should not show it? My comment was deleted.

selvaebi commented 2 years ago

yeah i deleted it , if it passes the tool shoudnt have a problem in processing it , are you using any proxies ??

levitsky commented 2 years ago

No, I don't, but I don't know what my ISP may be doing. As I mentioned before, I have tried using a VPN, but it didn't affect anything.

levitsky commented 2 years ago

To be clear: my issue with the tool was not resolved, but I got assistance with submission (thank you!). I am ready to help debug this issue further if needed.