Hi List,
I am facing problem in RT 3.6.3 to create tickets using http://URL/REST/1.0/NoAuth/mail-gateway. It is returning error, “not
ok - Could not load a valid user” in browser and log having :
[error]: Could not record email: Could not load a valid user
(/share/html/REST/1.0/NoAuth/mail-gateway:73)
I tried http://URL/REST/1.0/NoAuth/mail-gateway?user=valid-right-user&pass=pass&queue=queue
like RT auto login but still no success. Could any one point me to
some good docs ? as I searched wiki and didn’t find anything useful.
And I upgrade this RT from 3.4.5 to 3.6.3 and in old RT, it was
working jsut fine without doing extra effort.
I really need a solution for it. we are using http://URL/REST/1.0/NoAuth/mail-gateway to create tickets but it is
returning error, “not
ok - Could not load a valid user” in browser and log having :
[error]: Could not record email: Could not load a valid user
(/share/html/REST/1.0/NoAuth/mail-gateway:73)
Kindly solve this problem of mine or point any docs if there is any ?
RT version is 3.6.3
" This was solved by granting CreateTicket and ReplyToTicket to the group
Everyone. This is done via Configuration - > Queues - > (queue name) - > Group
Rights in the web interface while logged in as the RT user “root”. "
I really need a solution for it. we are using http://URL/REST/1.0/NoAuth/mail-gateway to create tickets but it is
returning error, “not
ok - Could not load a valid user” in browser and log having :
[error]: Could not record email: Could not load a valid user
(/share/html/REST/1.0/NoAuth/mail-gateway:73)
Kindly solve this problem of mine or point any docs if there is any ?
RT version is 3.6.3
Actually I updated RT 3.4.5 to RT 3.6.3. In old RT, everyone didnt
have right to create ticket and it was working fine. After updating,
its broken. Also I tried to use rt command line tool to cover up our
broken application integrated with RT to create ticket. But when I
invoke a command like
./rt create -t ticket set subject=‘test’
it is asking for a password. I tried with giving root password but it
is giving error
rt: Server error: Found (302). But at old RT, 3.4.5, same command is
working fine with no problem.
Actually I updated RT 3.4.5 to RT 3.6.3. In old RT, everyone didnt
have right to create ticket and it was working fine. After updating,
its broken. Also I tried to use rt command line tool to cover up our
broken application integrated with RT to create ticket. But when I
invoke a command like
./rt create -t ticket set subject=‘test’
it is asking for a password. I tried with giving root password but it
is giving error
rt: Server error: Found (302). But at old RT, 3.4.5, same command is
working fine with no problem.
I really need the solution of this problem. I really appreciate any
help in this regard
Have you checked the various RT related environment settings? I’d say
that they are responsible for the errors you are getting.
Try the following command: echo -e RT server: $RTSERVER’\n’RT user:
$RTUSER’\n’RT install location: $RTHOME;
If you get output, the error will be related to some inconsistency in
the environment settings. (It sounds like the public HTTP location of RT
is getting redirected.)
HTH
Regards,
Sasha
Sasha Gerrand
Web & Database Developer
Austbrokers Holdings Limited
Level 21, 111 Pacific Highway
North Sydney NSW 2060
PO Box 1813 North Sydney NSW 2060
NOTICE
If you are not an authorised recipient of this email, please contact
Austbrokers Holdings immediately by return e-mail or by telephone on
+61-2-4920-6117. In this case, you should not read, print, re-transmit,
store or act on this e-mail or any attachments. Please destroy the
message and attachments. This e-mail and any attachments are
confidential and may contain legally privileged information and/or
copyright material of Austbrokers Holdings or third parties. You should
only re-transmit, distribute or commercialise the material if you are
authorised to do so. Internet e-mails are not necessarily secure,
Austbrokers Holdings does not accept responsibility for changes made to
this message after it was sent. This Notice should not be removed.
Have you checked the various RT related environment settings? I’d say
that they are responsible for the errors you are getting.
Try the following command: echo -e RT server: $RTSERVER’\n’RT user:
$RTUSER’\n’RT install location: $RTHOME;
If you get output, the error will be related to some inconsistency in
the environment settings. (It sounds like the public HTTP location of RT
is getting redirected.)
Awww … I am understanding the problem now. Thanks for the hint
Sasha. I have found Request Tracker Wiki
using your RT variable hint. I will try above wiki stuff. btw I
executed yr suggested command and these variables holding no value at
both machines; RT 3.4.5 and 3.6.3. But I am wondering that why rt cli
is working for 3.4.5 and not for 3.6.3 ? :-S