Re: [rt-users] rt-mailgate: undefined server error

2012-12-03 Thread Thomas Sibley
On 12/03/2012 01:27 AM, Carlos Fuentes Bermejo wrote:
 Hiya folks,
 
 Since a few days ago I'm having the following error:
 
 rt-mailgate: connecting to
 http://xxx.xxx.xxx.xxx//REST/1.0/NoAuth/mail-gateway An Error
 Occurred =  500 read timeout
 /path/to/my/rt/bin/rt-mailgate: undefined server error
 
 This is happening since I did migrate to RT 4.0.8, and not with all
 the incoming mail, just with mails which have attachments.
 
 Any ideas??? I forgot something to configure???

The error implies that rt-mailgate times out while waiting for a
response from the RT server.  Is there anything in your web server logs?

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] rt-mailgate: undefined server error

2012-12-03 Thread Carlos Fuentes Bermejo
Hi Thomas,

Nothing on the web server logs.

Cheers,
Carlos

El 03/12/2012, a las 19:53, Thomas Sibley escribió:

 On 12/03/2012 01:27 AM, Carlos Fuentes Bermejo wrote:
 Hiya folks,
 
 Since a few days ago I'm having the following error:
 
 rt-mailgate: connecting to
 http://xxx.xxx.xxx.xxx//REST/1.0/NoAuth/mail-gateway An Error
 Occurred =  500 read timeout
 /path/to/my/rt/bin/rt-mailgate: undefined server error
 
 This is happening since I did migrate to RT 4.0.8, and not with all
 the incoming mail, just with mails which have attachments.
 
 Any ideas??? I forgot something to configure???
 
 The error implies that rt-mailgate times out while waiting for a
 response from the RT server.  Is there anything in your web server logs?
 
 We're hiring! http://bestpractical.com/jobs

--
Carlos Fuentes Bermejo carlos.fuen...@rediris.es
Security Specialist - IRIS-CERT 
RedIRIS/Red.es
Tel: 91 212 76 20/25 Ext: 5583
www.rediris.es - http://www.rediris.es/cert
PGP key: http://www.rediris.es/keyserver





We're hiring! http://bestpractical.com/jobs


Re: [rt-users] rt-mailgate undefined server error for only one user

2009-06-16 Thread Kevin Falcone

On Jun 16, 2009, at 4:24 PM, Jon Baker wrote:

 I've narrowed it down to the Create Ticket command in Email.pm:

 my ( $id, $Transaction, $ErrStr ) = $Ticket-Create(
 Queue = $SystemQueueObj-Id,
 Subject   = $Subject,
 Requestor = \...@requestors,
 Cc= \...@cc,
 MIMEObj   = $Message
 );

 If I comment out the MIMEObj line then the function returns without
 issue.  I'm thinking it is something wrong with my MIME parser, but I
 don't know the best way to go about fixing it - is there a perl module
 that I should re-install?

If you want to check your module versions, you can use make testdeps
from an RT tarball

 If I set the timeout to 600 then it does seem to go through sometimes
 - but I know that letting it take 10 minutes implies there's a deeper
 problem somewhere, I'm hoping someone can point me in the right
 direction to get this solved.

This sounds like you either have a very large attachment or very
complex message, but without seeing the contents of the message
its hard to guess.

 We updated to FC11 from FC10 on Friday, if that matters, although I
 have a separate system that is also running RT that I'm able to send
 the same message into without issue (I have successfully caught the
 raw message and am able to attempt to send it through rt-mailgate via
 the command line)

I would look at the dep checking mentioned above first, as FC probably
messed with your perl and module versions

-kevin
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] rt-mailgate undefined server error for only

2009-06-16 Thread Jon Baker
Thanks, Kevin -

I did run the make testdeps and have the following missing dependencies:

SOME DEPENDENCIES WERE MISSING.
FASTCGI missing dependencies:
CGI::Fast...MISSING
FCGI...MISSING
SQLITE missing dependencies:
DBD::SQLite = 1.00...MISSING

I'm not using Fast CGI or SQL Lite, so I didn't have those installed.   
I installed DBD::SQLite but am unable to get the CGI::Fast/FCGI to go  
away (I installed fcgi via yum and also attempted to install CGI::Fast  
via cpan but cpan told me it was installed and up to date)  After  
restarting the server after installing SQLite there was no change.

The message in question is very simple - it's a mixed html/text  
message coming from Outlook with the subject Test and a signature in  
the body.

On Jun 16, 2009, at 4:33 PM, rt-users-requ...@lists.bestpractical.com  
wrote:

 If you want to check your module versions, you can use make testdeps
 from an RT tarball

 If I set the timeout to 600 then it does seem to go through sometimes
 - but I know that letting it take 10 minutes implies there's a deeper
 problem somewhere, I'm hoping someone can point me in the right
 direction to get this solved.

 This sounds like you either have a very large attachment or very
 complex message, but without seeing the contents of the message
 its hard to guess.

 We updated to FC11 from FC10 on Friday, if that matters, although I
 have a separate system that is also running RT that I'm able to send
 the same message into without issue (I have successfully caught the
 raw message and am able to attempt to send it through rt-mailgate via
 the command line)

 I would look at the dep checking mentioned above first, as FC probably
 messed with your perl and module versions

 -kevin

-- 
Jon Baker
Information Technology
Willie George Ministries
1003 N 129th E Ave
Tulsa OK 74116
(918) 234-5656


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com