incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Lutterkort (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DTACLOUD-14) unauthorized GET to unknown instance returns server error (500) instead of 403
Date Wed, 26 Jan 2011 22:34:45 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987265#action_12987265
] 

David Lutterkort commented on DTACLOUD-14:
------------------------------------------

I can't reproduce the problem with the latest HEAD - when I do 'restclient get http://localhost:3001/api/instances/foo'
I get a 401 Unauthorized as I would have expected.

I get this result both with the mock and EC2 driver.


> unauthorized GET to unknown instance returns server error (500) instead of 403
> ------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-14
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-14
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: deltacloud-core 0.1.2, ec2 driver
>            Reporter: André Dietisheim
>            Assignee: David Lutterkort
>
> If I try to GET an unknown instance and provide invalid credentials I get 500 (internal
server error) back. I would have expected 403.
> I request GET on http://[local deltacloud -i ec2]/api/instances/nonexistingInstance and
get 500 back.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message