Proxy issue

Moderator: crythias

Locked
syntax
Znuny newbie
Posts: 5
Joined: 12 Dec 2012, 14:12
Znuny Version: 3.1.9

Proxy issue

Post by syntax »

Hi, I have an issue with this.

I configured a postmaster mail account using gmail following this wiki

http://wiki.otterhub.org/index.php?titl ... with_Gmail

I have an OTRS 3.1.9 system installed (with otrs4win windows installer) on a Windows Server 2008 R2 which uses a proxy.

I configured the proxy from SysConfig in Core::WebUserAgent updating the field WebUserAgent::Proxy with the right proxy.

Doesn't work (although this broke the PackageManager link of the admin page) and seems like otrs doesn't go to internet because it gives me the error
"Can't connect to http://www.otrs.com/en/rss.xml" too , in the otrs news widget .

The server does go to internet through the proxy though.


Am I missing something on the proxy configuration ?


I installed the same system on a Windows 7 machine and everything works just fine.

Thank you in advanced.

Bledar
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Proxy issue

Post by crythias »

I believe that the problem is the client's connection to the Internet, not the server's.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
syntax
Znuny newbie
Posts: 5
Joined: 12 Dec 2012, 14:12
Znuny Version: 3.1.9

Re: Proxy issue

Post by syntax »

Thankyou crythias for your response and for the order of my post.

I didn't get very well what do you mean ?

I have access to the server from remote desktop connection.
So, what i am trying to do is running otrs from IE browser (which connects to internet) on the server.

What can help you to figure it out what it might be ?

Thanks
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Proxy issue

Post by crythias »

if the web browser can't connect to the url in question, it's not OTRS's fault.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
syntax
Znuny newbie
Posts: 5
Joined: 12 Dec 2012, 14:12
Znuny Version: 3.1.9

Re: Proxy issue

Post by syntax »

Hi

The browser connects to URL in question (if you mean gmail , or http://www.otrs.com/en/rss.xml ) .

This is the log line :
[Wed Jan 30 15:01:02 2013][Error][Kernel::System::MailAccount::POP3S::_Fetch][154] POP3S: Auth for user XXXXXXXX@gmail.com/pop.gmail.com failed!
when i try to fetch.
And this is the Error Detail

Backend ERROR: OTRS-CGI-10 Perl: 5.12.3 OS: MSWin32 Time: Wed Jan 30 10:53:45 2013
Message: POP3S: Auth for user XXXXXXXXX@gmail.com/pop.gmail.com failed!
Traceback (4596): Module: Kernel::System::MailAccount::POP3S::_Fetch (v1.13) Line: 154
Module: Kernel::System::MailAccount::POP3S::Fetch (v1.13) Line: 106
Module: Kernel::System::MailAccount::MailAccountFetch (v1.17) Line: 424
Module: Kernel::Modules::AdminMailAccount::Run (v1.28) Line: 69
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868
Module: ModPerl::ROOT::ModPerl::Registry::C_3a_Program_20Files_20_28x86_29_OTRS_OTRS_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
Module: (eval) (v1.90) Line: 204
Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31

Of course i can connect from the browser.

I'm worried i'm missing some extra configuration because as i mentioned this works on a windows 7 machine.

Thank you.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Proxy issue

Post by crythias »

syntax wrote:[Wed Jan 30 15:01:02 2013][Error][Kernel::System::MailAccount::POP3S::_Fetch][154] POP3S: Auth for user XXXXXXXX@gmail.com/pop.gmail.com failed!
when i try to fetch.
what do you want to focus on? Proxy or fetch email? They're two different things.

Auth for user failed means auth for user failed. bad username or password or gmail isn't configured to allow pop access in settings.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
syntax
Znuny newbie
Posts: 5
Joined: 12 Dec 2012, 14:12
Znuny Version: 3.1.9

Re: Proxy issue

Post by syntax »

Ok, maybe i'm not very clear. Sorry for that.

My goal is to receive emails from my gmail account.

I have two otrs systems (same version) installed on 2 different machines.

First machine (just for tests):
Windows 7
Configured according to the wiki page.
It works fine and i'm able to send and receive mails here.

Second machine:
Windows Server 2008 R2 where i can access remotely (this machine is protected by firewall and proxy ).
Made the same configuration but doesn't work.
So I Updated the "WebUserAgent::Proxy" because i thought it should be a proxy problem (maybe i'm wrong in this and probably fetching mails are not related to the proxy) .
Restarted the services and tried again but no way. It gives me the errors mentioned previously.
Auth for user failed means auth for user failed. bad username or password or gmail isn't configured to allow pop access in settings.
I gave the example of the win 7 machine because i use the exact same configuration. Trust me , i'm not missing any "PostMaster mail account" configuration.
Maybe the error log is not so friendly here ...

Hope i was more clear .

Thanks.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Proxy issue

Post by crythias »

if your firewall protected server doesn't allow the outbound port for pop3S required for gmail, proxy isn't going to help, as that's only for web (http/https) traffic.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
syntax
Znuny newbie
Posts: 5
Joined: 12 Dec 2012, 14:12
Znuny Version: 3.1.9

Re: Proxy issue

Post by syntax »

Ok , thanks Crythias.

Today i understand that I had 2 different issues. The proxy one is resolved (now i can update on line from package manager and i am able to access all the links). It seems like i should have waited some time (don't now how).
The other one still didn't resolve but i think i'll figure it out. Thank you.
bye
Locked