Jump to content

Recent Updates Attempt Failed and Restart of ApacheHttpProxy Service


foxbat77
 Share

Recommended Posts

Anyone else see this behavior?

 

The last two days, almost all of my clients can't connect to the proxy server to get updates.

 

If I perform a restart of the ApacheHttpProxy Service, clients can then connect and get the updates just fine.

 

As a work-around, I have a scheduled task run a .bat file to stop and restart the service at night.   

Link to comment
Share on other sites

Hi, 

 

Yeah, i got the same problems in the last two days as well. When i do restart of the HttpProxy they are back on schedule and doing the update. But its like something happens again and updating of DB fails, so i turned off proxy (this is my work-around), and now every client is going outside to eset servers to get new updates. Really strange that this has happened to both of us, and in the same time frame. 

Link to comment
Share on other sites

  • Administrators

When the issue occurs, please compress the content of the proxy cache ("C:\ProgramData\Apache HTTP Proxy\cache"), upload it to a safe location and pm me the download link.

Link to comment
Share on other sites

Hi Marcos, 

 

I dont have that location, see the picture below. I am on my ERAS where i have Http rpoxy installed, you can see it running in services. 

SInce yesterday i am bypassing the proxy, as there were errors, and could not connect to server.

 

post-6646-0-25695700-1429275285_thumb.jpg  

 

And in picture below you can see that i unchecked proxy server. 

 

post-6646-0-70659700-1429275487_thumb.jpg

 

Regards, 

 

Uros

 

EDIT:

 

Guess you meant C:\Program Files\Apache.... Will send you the link,just to zip and upload.. 

Edited by ucvijan
Link to comment
Share on other sites

  • Administrators

Check "C:\Program Files\Apache HTTP Proxy\conf\httpd.conf" for information where cache is located. The line to find commences with "CacheRoot" followed by the path.

Link to comment
Share on other sites

Hi Marcos, 

 

Any update on this? 

 

I reverted my policy so servers are using httpProxy, and it wont work. On the http proxy server, hxxp://localhos:3128/index.htmlworks, but from a client it wont work, Then i restart ApacheHttpProxy service and then hxxp://myserver:3128/index.html from my client works, but after some time it stops. 

 

Anything for you to tell me to look at? As this stopped working approximately in the same time this issue with agent update failed for all clients.

 

Regards,  

Link to comment
Share on other sites

Well i gave up on httpproxy,ot sure why it started to behave strange, and works some time then stops, then i restarted it and it works, and so on. 

Agent updates are also now going through internet directly. 

So that is how i "solved" not updated part.

Link to comment
Share on other sites

dear ucvijan

1- do you have an ISA server work as gateway for you client?

2- do you used the built in policy for the agent and anti virus or create new policy for the agent and another one for the anti virus?

Link to comment
Share on other sites

  • Administrators

As soon as I receive a response from engineers, I'll let you know. So far we haven't been reported the issue from other users.

Link to comment
Share on other sites

  • 2 months later...

I am seeing this exact issue about every other day.  I like others have a Task Scheduled that restarts the proxy service twice daily.  Please advise...

Link to comment
Share on other sites

  • Administrators

I am seeing this exact issue about every other day.  I like others have a Task Scheduled that restarts the proxy service twice daily.  Please advise...

 

Please edit C:\Program Files\Apache Http Proxy\conf\httpd.conf and change LogLevel from warn to debug and restart ApacheHttpProxy service. After you've reproduced the issue, supply us with:

1, the content of C:\Program Files\Apache Http Proxy\logs

2, C:\Program Files\Apache Http Proxy\conf\httpd.conf.

Link to comment
Share on other sites

  • 4 weeks later...

I'm finding the same issue with a new/clean install of the latest version of RA on a fresh 2012 R2 build. It was running without issues for almost a full month, but now I've had to restart the proxy service each of the last two days after clients stop updating.

Link to comment
Share on other sites

Is there any resolution to this problem?  I can't keep my proxy updating machines for more that 5 minutes it seems.  Then they all fail to connect.  I restart the proxy service, they can connect again.  I have had the problem ongoing now for a while but today it is really bad.  Have to restart the service every ~5 minutes.  Hard to run a shop like that.

Link to comment
Share on other sites

  • 4 weeks later...

I have needed to restart the ApacheHttpProxy service about once a week since we've reinstalled the ERA server and added the HTTP Proxy service to save bandwidth. I am considering creating a scheduled task but would like an actual fix.

 

I've tried changing the service account but the same problem still occurs.

Link to comment
Share on other sites

  • Administrators

If you are able to reproduce the issue, please carry on as follows:

1, edit C:\Program Files\Apache Http Proxy\conf\httpd.conf and change "LogLevel warn" to "LogLevel debug"

2, restart the Apache HTTP Proxy service.

3, if the issue occurs, compress the content of C:\Program Files\Apache Http Proxy\logs, include C:\Program Files\Apache Http Proxy\conf\httpd.conf in the archive and send it to me via a pm.

 

You can also try appending the following directives to httpd.conf and restarting the service:

AcceptFilter https none

AcceptFilter http none

EnableSendfile Off

EnableMMAP off

Link to comment
Share on other sites

Has anyone gotten anywhere with this? I did a clean install of ERA 6 two days ago, pushed out the agent to 10 PC's and they all consistently fail to connect unless i restart the apache service and then tell them to update. After the 6 hours has expired and they try again they fail....cue another apache restart.

 

Having never used ERA 6 before 2 days ago I am losing the will to live with it....

Link to comment
Share on other sites

  • 4 months later...
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...