#7976 closed defect (fixed)
Toolshed upload internal server error
| Reported by: | Owned by: | Greg Couch | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Tool Shed | Version: | |
| Keywords: | Cc: | chimerax-programmers | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
Dear all, It's my first upload to the ChimeraX toolshed and I tried as in the attached picture upload1.jpg just a view minutes ago. Immediately I get the error message in picture upload2.jpg. The wheel was tested with ChimeraX --nogui --cmd "devel install . ; exit" and it works with a local ChimeraX 1.4 My bundle is like (I substitute @@VERSION@@ to 1.1.70 and ChimeraX-Core ==1.3 to >=1.4) https://github.com/wlugmayr/chimerax-starmap/blob/main/bundle/bundle_info.xml.in The plugin is pure Python based and needs as dependency pyparsing and pyqtgraph without any version number. Can you please give me some advice? Best regards, Wolfgang
Attachments (2)
Change History (10)
by , 3 years ago
| Attachment: | upload2.jpg added |
|---|
comment:1 by , 3 years ago
| Cc: | added |
|---|---|
| Component: | Unassigned → Tool Shed |
| Owner: | set to |
| Platform: | → all |
| Priority: | normal → major |
| Project: | → ChimeraX |
| Status: | new → assigned |
comment:2 by , 3 years ago
We had a configuration error that limited uploaded bundles to 12.5 Mbytes. Please try again.
comment:3 by , 3 years ago
Dear all,
I just tried and the same internal server error still appears.
My bundle size is 3.44MB and located here:
https://github.com/wlugmayr/chimerax-starmap/blob/main/dist/ChimeraX_StarMap-1.1.70-py3-none-any.whl
It works with "-m pip install --user" on ChimeraX 1.4.
Cheers,
Wolfgang
----- Original Message -----
From: "ChimeraX" <ChimeraX-bugs-admin@cgl.ucsf.edu>
Cc: chimerax-programmers@cgl.ucsf.edu, "gregc" <gregc@cgl.ucsf.edu>, "Wolfgang Lugmayr" <wolfgang.lugmayr@cssb-hamburg.de>
Sent: Wednesday, 9 November, 2022 23:37:51
Subject: Re: [ChimeraX] #7976: Toolshed upload internal server error
#7976: Toolshed upload internal server error
-----------------------------------------+------------------------
Reporter: wolfgang.lugmayr@… | Owner: Greg Couch
Type: defect | Status: assigned
Priority: major | Milestone:
Component: Tool Shed | Version:
Resolution: | Keywords:
Blocked By: | Blocking:
Notify when closed: | Platform: all
Project: ChimeraX |
-----------------------------------------+------------------------
Comment (by Greg Couch):
We had a configuration error that limited uploaded bundles to 12.5 Mbytes.
Please try again.
--
Ticket URL: <https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/7976#comment:2>
ChimeraX <https://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker
comment:4 by , 3 years ago
I see in the apache ssl_error_log:
[Thu Nov 10 00:48:25.008225 2022] [:error] [pid 222625] [client 94.134.109.94:28656] [client 94.134.109.94] ModSecurity: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_UNMATCHED_BOUNDARY" required. [file "/usr/local/www/cxtoolshed-conf.d/mod_security.conf"] [line "30"] [id "200003"] [msg "Multipart parser detected a possible unmatched boundary."] [hostname "cxtoolshed.rbvi.ucsf.edu"] [uri "/submit_app/"] [unique_id "Y2y61b1ijYoY9Yzy1nLQbAAAAA8"], referer: https://cxtoolshed.rbvi.ucsf.edu/submit_app/ [Thu Nov 10 00:48:25.031009 2022] [http:error] [pid 222625] [client 94.134.109.94:28656] AH01579: Invalid response status 44, referer: https://cxtoolshed.rbvi.ucsf.edu/submit_app/
Will investigate more tomorrow.
follow-up: 3 comment:5 by , 3 years ago
Dear all,
I tried the upload also with a different browser (recent Firefox and Opera GX) to avoid a browser issue on my side and both run into this upload error.
Cheers,
Wolfgang
comment:6 by , 3 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
I put a fix in, please try uploading again and confirm that it works. The bug was mod_security bug, https://github.com/SpiderLabs/ModSecurity/issues/652.
follow-up: 5 comment:7 by , 3 years ago
Dear all,
it seems that it works now.
I got a page with "Submission Done" message.
Thanks & cheers,
Wolfgang
----- Original Message -----
From: "ChimeraX" <ChimeraX-bugs-admin@cgl.ucsf.edu>
Cc: chimerax-programmers@cgl.ucsf.edu, "gregc" <gregc@cgl.ucsf.edu>, "Wolfgang Lugmayr" <wolfgang.lugmayr@cssb-hamburg.de>
Sent: Friday, 11 November, 2022 09:50:35
Subject: Re: [ChimeraX] #7976: Toolshed upload internal server error
#7976: Toolshed upload internal server error
-----------------------------------------+------------------------
Reporter: wolfgang.lugmayr@… | Owner: Greg Couch
Type: defect | Status: closed
Priority: major | Milestone:
Component: Tool Shed | Version:
Resolution: fixed | Keywords:
Blocked By: | Blocking:
Notify when closed: | Platform: all
Project: ChimeraX |
-----------------------------------------+------------------------
Changes (by Greg Couch):
* status: assigned => closed
* resolution: => fixed
Comment:
I put a fix in, please try uploading again and confirm that it works. The
bug was mod_security bug,
https://github.com/SpiderLabs/ModSecurity/issues/652.
--
Ticket URL: <https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/7976#comment:6>
ChimeraX <https://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker
Note:
See TracTickets
for help on using tickets.
Added by email2trac