[rt-users] RT 3.8.1 Cli
Kevin Falcone
falcone at bestpractical.com
Thu Nov 13 14:49:52 EST 2008
On Nov 12, 2008, at 3:30 PM, Young Wes wrote:
> Has anyone gotten the RT Cli tool to work (with the REST interface)
> via 3.8.1? It appears to work on my 3.7.xxx installation, but I get
> a 302 when trying to run it against 3.8.1...
>
> It's more than likely something really stupid i'm missing, but my
> searches are turning up dry today... Why would /REST/1.0/show
> redirect me to selfService?? Is that a feature? :)
Is the user you're logging in as Unprivileged ?
You also may want to have a look at rt's debug logs along with the
debug output of bin/rt
-kevin
> DEBUG:
>
> POST http://server/REST/1.0/show
> Content-Length: 274
> Content-Type: multipart/form-data; boundary=xYzZY
>
> --xYzZY
> Content-Disposition: form-data; name="format"
>
> l
> --xYzZY
> Content-Disposition: form-data; name="id"
>
> ticket/new
> --xYzZY
> Content-Disposition: form-data; name="user"
>
> user
> --xYzZY
> Content-Disposition: form-data; name="pass"
>
> password
> --xYzZY--
>
>
> HTTP/1.1 302 Found
> Connection: close
> Date: Wed, 12 Nov 2008 20:06:04 GMT
> Location: http://server/SelfService/
> Server: Apache/2.2.3 (Red Hat)
> Content-Length: 334
> Content-Type: text/html; charset=iso-8859-1
> Client-Date: Wed, 12 Nov 2008 20:06:04 GMT
> Client-Peer: XXXXXXX:80
> Client-Response-Num: 1
> Title: 302 Found
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>302 Found</title>
> </head><body>
> <h1>Found</h1>
> <p>The document has moved <a href="http://server/SelfService/">here</
> a>.</p>
> <hr>
> <address>Apache/2.2.3 (Red Hat) Server at server Port 80</address>
> </body></html>
> rt: Server error: Found (302)
>
> --
> Wes
> http://claimid.com/wesyoung
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list