[rt-devel] rt: Malformed RT response

Martin Wheldon martin.wheldon at greenhills-it.co.uk
Thu Aug 15 07:06:17 EDT 2013


Hi Roy,

I suspect that the id='ticket/new is the problem, does it work if you 
omit it?

Best Regards

Martin

On 2013-08-15 01:33, Raed El-Hames wrote:
> Hi
>
> RT version 4.0.13
>
> I am having problems creating ticket from REST interface
>
> [root at myrt RestClient]# RTDEBUG=3 ./rt create -t ticket set
> id='ticket/new' Queue='Testing' subject='new ticket'
>
> POST http://myrturl/REST/1.0/show [1]
>
> Content-Length: 264
>
> 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"
>
> root
>
> --xYzZY
>
> Content-Disposition: form-data; name="pass"
>
> mypass
>
> --xYzZY--
>
> HTTP/1.1 200 OK
>
> Connection: close
>
> Date: Thu, 15 Aug 2013 01:29:04 GMT
>
> Server: Apache/2.2.15 (CentOS)
>
> Content-Type: text/plain; charset=utf-8
>
> Client-Date: Thu, 15 Aug 2013 01:29:04 GMT
>
> Client-Peer: 194.143.161.11:80
>
> Client-Response-Num: 1
>
> Client-Transfer-Encoding: chunked
>
> Set-Cookie: RT_SID_myrt.80=0e3b9b4e581aa0237b098fefdb98e37f; path=/;
> HttpOnly
>
> X-Frame-Options: DENY
>
> RT/4.0.13 200 Ok
>
> # Required: id, Queue
>
> id: ticket/new
>
> Queue: General
>
> Requestor: root
>
> Subject:
>
> Cc:
>
> AdminCc:
>
> Owner:
>
> Status: new
>
> Priority: 100
>
> InitialPriority: 100
>
> FinalPriority: 60
>
> TimeEstimated: 0
>
> Starts: 2013-08-15 01:29:04
>
> Due: 2013-08-15 01:29:04
>
> Text:
>
> rt: Malformed RT response from http://myrt [2].
>
> Can anyone give any pointers ,rather urgent , The only plugins I 
> added
> :
>
> (RT::Extension::TicketLocking RT::Extension::MergeUsers RTx::Calendar
> RT::Extension::SLA)
>
> Roy
>
> This email (and any attachments) contains information, which may be
> privileged and/or confidential. It's meant only for the individual(s)
> or entity named above. If you're not the intended recipient, please
> note that disclosing, copying, distributing or using this information
> is prohibited. If you've received this email in error, please let me
> know immediately by emailing me at the email address above and then
> delete all traces of this email from your system. We monitor our 
> email
> system, and may record your emails.
>
>  Computer viruses can be transmitted by email. You should check this
> email and any attachments for the presence of viruses. We accept no
> liability for any damage caused by any virus transmitted by this 
> email
> or any attachments.
>
>  Daisy Communications Ltd
>  Registered office: Daisy House, Lindred Road Business Park, Nelson,
> Lancashire, BB9 5SR
>  Registered in England and Wales with company number: 4145329
>
>  !DSPAM:9,520c1daf33234996891469!
>
> Links:
> ------
> [1] http://myrturl/REST/1.0/show
> [2] http://myrt



More information about the rt-devel mailing list