You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2015/06/18 11:18:01 UTC

[jira] [Commented] (STORM-875) 404 Not Found responded when issuing request '/api/v1/token'

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

Jungtaek Lim commented on STORM-875:
------------------------------------

Storm removed CSRF-token from REST API, so you don't need to call '/api/v1/token' before calling uploadTopology API.
Please test it once more, and close issue when it works smoothly. Thanks!

> 404 Not Found responded when issuing request '/api/v1/token'
> ------------------------------------------------------------
>
>                 Key: STORM-875
>                 URL: https://issues.apache.org/jira/browse/STORM-875
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>         Environment: apache-storm-0.10.0-beta on REHL 5.5 64bit
>            Reporter: huxi
>
> I want to upload a topology via a new added REST service '/api/v1/uploadTopology' introduced since 0.10. STORM-615 mentions a ring-session token be required before uploading the topology. Here is what I get when issuing command 'curl -i --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt http://localhost:8080/api/v1/token' in a shell:
> HTTP/1.1 404 Not Found
> Date: Thu, 18 Jun 2015 08:52:48 GMT
> Content-Type: text/html; charset=utf-8
> Content-Length: 14
> Server: Jetty(6.1.26)
> Page not found
>  
> That blocks me from submitting topologies via the exposed REST interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)