airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-2982) Loading DataProduct REST API response fails in Apache with error: "AH00026: found %2f"
Date Wed, 20 Feb 2019 16:54:00 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773189#comment-16773189
] 

ASF subversion and git services commented on AIRAVATA-2982:
-----------------------------------------------------------

Commit 9d0deb61be08be40f6eca75df595fd0429bba070 in airavata-django-portal's branch refs/heads/master
from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=9d0deb6 ]

AIRAVATA-2982 Switched DataProduct REST API to use query paramAlso reworked the ServiceFactory
configuration to make it easier to addnon-ViewSet methods


> Loading DataProduct REST API response fails in Apache with error: "AH00026: found %2f"
> --------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2982
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2982
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> From the error log
> {noformat}
> [Tue Feb 19 17:46:16.373574 2019] [core:info] [pid 24172] [client 149.160.140.232:54084]
AH00026: found %2f (encoded '/') in URI (decoded='/api/data-products/airavata-dp://d78c9aa6-1d7a-4acd-a2d3-931c1ab316af/'),
returning 404, referer: https://django.seagrid.org/workspace/experiments/Clone_of_Gaussian_on_Feb_19%2C_2019_12%3A44_PM_589545bf-0cd8-4483-aac3-565a28abe3ee/edit
> {noformat}
> Tried [setting AllowEncodedSlashes to On|https://stackoverflow.com/questions/4390436/need-to-allow-encoded-slashes-on-apache].
With `AllowEncodedSlashes On`, the value is coming through as:
> `airavata-dp:/227cceb7-ee93-4696-b479-19a61b54b494`. So one of the slashes
> has gone missing.
> I'm thinking that I should just change the REST API to take the data product uri as a
query parameter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message