[rt-users] rt-mailgate: undefined server error
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??? Cheers, Carlos -- 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 signature.asc Description: Message signed with OpenPGP using GPGMail We're hiring! http://bestpractical.com/jobs
Re: [rt-users] rt-mailgate: undefined server error
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
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
[rt-users] rt-mailgate undefined server error for only one user
I'm having a sudden problem with rt-mailgate that is extremely puzzling to me, and I'm hoping I can get some guidance as to where to look to solve this problem. I have mailgate set up on our local network so that rtq+programming-...@elmer.wgm , for example, is configured to send the incoming e-mail as a new ticket in the programming-web queue: rtq:|/usr/sbin/rt-mailgate --extension queue --action correspond --url http://alpha/rt/ --debug (I added the --debug this morning hoping to get more information on this problem) I have a user whose messages to this address are returning the following error in the maillog: alpha postfix/local[1521]: EF498880DA: to=rtq+programming- w...@elmer.wgm, relay=local, delay=53746, delays=53563/0.08/0/183, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/ sbin/rt-mailgate: temp file is '/tmp/36HC1MaNJp' /usr/sbin/rt- mailgate: connecting to http://alpha/rt//REST/1.0/NoAuth/mail-gateway An Error Occurred = 500 read timeout /usr/sbin/rt- mailgate: undefined server error ) What happens is that a ticket is created but the message goes back into the mail queue and tries again. This morning there were about 15 identical tickets and counting. The same thing happened yesterday. It may also be limited to this single queue, as this user primarily enters tickets via mailgate. The message appears to be submitted three minutes before the error, so it clearly is timing out for some reason, but I can't figure out why. Where it gets odd is, if I send a message to the queue using the same to address (but my from address), it works fine: alpha postfix/local[1641]: 9392A880DB: to=rtq+programming- w...@elmer.wgm, relay=local, delay=6.8, delays=0.43/0.09/0/6.3, dsn=2.0.0, status=sent (delivered to command: /usr/sbin/rt-mailgate -- extension queue --action correspond --url http://alpha/rt/ --debug) so it only appears to be this one user. I don't see any errors in the rt log, just that the ticket was successfully created. I have $LogToFile set to 'debug'. We both have the same permissions (and everyone is able to create tickets. Of course, it's not the ticket creation that's failing, obviously) It's possible it could be a mail agent difference I suppose, I'm using Mac Mail and she is using Outlook. Any ideas where I need to look to solve this? -- 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
[rt-users] rt-mailgate undefined server error for only one user
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 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. 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) -- 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
Re: [rt-users] rt-mailgate undefined server error for only one user
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
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