Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7976 closed defect (fixed)

Toolshed upload internal server error

Reported by: wolfgang.lugmayr@… 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



upload2.jpg

upload1.jpg

Attachments (2)

upload2.jpg (85.6 KB ) - added by wolfgang.lugmayr@… 3 years ago.
Added by email2trac
upload1.jpg (94.9 KB ) - added by wolfgang.lugmayr@… 3 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (10)

by wolfgang.lugmayr@…, 3 years ago

Attachment: upload2.jpg added

Added by email2trac

by wolfgang.lugmayr@…, 3 years ago

Attachment: upload1.jpg added

Added by email2trac

comment:1 by Eric Pettersen, 3 years ago

Cc: chimerax-programmers added
Component: UnassignedTool Shed
Owner: set to Greg Couch
Platform: all
Priority: normalmajor
Project: ChimeraX
Status: newassigned

comment:2 by Greg Couch, 3 years ago

We had a configuration error that limited uploaded bundles to 12.5 Mbytes. Please try again.

in reply to:  5 comment:3 by wolfgang.lugmayr@…, 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 Greg Couch, 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.

in reply to:  7 ; comment:5 by wolfgang.lugmayr@…, 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

Last edited 3 years ago by Greg Couch (previous) (diff)

comment:6 by Greg Couch, 3 years ago

Resolution: fixed
Status: assignedclosed

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.

in reply to:  9 ; comment:7 by wolfgang.lugmayr@…, 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

comment:8 by Greg Couch, 3 years ago

Excellent. Thank you for confirming it worked.

Note: See TracTickets for help on using tickets.