Random errors when using AdGuard as proxy

Discussion in 'Technical Support (AdGuard for Windows)' started by jamesx, Feb 23, 2015.

  1. jamesx

    jamesx New Member

    Joined:
    Mar 19, 2014
    Messages:
    14
    Due to the MySQL issue i switched Adguard to act as a proxy (http://forum.adguard.com/showthread.php?4450-Adguard-causing-MySQL-connections-to-fail)

    Now I randomly encounter proxy errors claiming that the website is not available. A reload of the website (F5) fixes this issue all the time.

    It is not really reproducible, if a page that errored out previously is requested a second time it usually works.

    I noticed it a couple of times while clicking through a slide show like:
    http://www.heise.de/autos/artikel/R...-Le-Mans-2015-2557289.html?view=bildergalerie

    Version: 5.10.1190.6188

    Browser: Opera/28.0.1750.31 (Edition beta) based on Chrome/41.0.2272.53

    Screenshot:

    error.png

    Stacktrace:

    Code:
    System.Net.ProtocolViolationException: Line cannot be empty
    Source: Adguard.HttpStack 
    trace:    
    at Adguard.Http.Protocol.HttpBaseStatusLine..ctor(Byte[] lineBytes)   
    at Adguard.Http.Protocol.HttpResponse.ParseStatusLine(Byte[] statusLine)   
    at Adguard.Http.Protocol.HttpBase.ParseStatusLine(Stream stream)   
    at Adguard.Http.Protocol.HttpBase..ctor(Stream stream)   
    at Adguard.Proxy.Http.HttpProxyServer.GetHttpResponse(HttpProxyConnectionContext context, Stream remoteStream)   
    at Adguard.Proxy.Http.HttpProxyServer.ProcessHttpRequest(HttpRequest request, HttpProxyConnectionContext context)   
    at Adguard.Proxy.Http.HttpProxyServer.ProcessConnection(TcpConnectionContext context)
     
  2. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    13,135
    How often do you see such errors?
     
  3. jamesx

    jamesx New Member

    Joined:
    Mar 19, 2014
    Messages:
    14
    Completely unpredictable, sometimes there is no issue for 100 page loads, other times i get 2 of those errors in 5 page loads.
     
  4. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,902
    We have found where the problem was lurking, will fix in the nearest beta update.

    UPD:
    A new beta was released (v.5.10.1199.6229), this problem is fixed there. You can downlaod it using this link: http://download.adguard.com/d/2/adguardInstallerBeta.exe
     
    Last edited by a moderator: Feb 26, 2015
  5. jamesx

    jamesx New Member

    Joined:
    Mar 19, 2014
    Messages:
    14
    The beta installer gave me version 5.10.2002.6237, so i'll try to provide feedback if I keep encountering this issue.
     
  6. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,902
    Yes, it's a static link to a latest beta at any given moment. We had several of beta updates in the last couple days.
     
  7. jamesx

    jamesx New Member

    Joined:
    Mar 19, 2014
    Messages:
    14
    So it is looking pretty good, I didn't encounter the error once since the new version.

    Any idea in which stable version this fix will be available?
     
  8. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    13,135
    It was released yesterday:
    https://blog.adguard.com/en/news/adguard-for-windows-update-version-5-10-2004.html

    We've also released a new beta, now with mysql bug fixed. I'm not sure the bug is really fixed because we can't reproduce it, but i hope it is:)
     
  9. jamesx

    jamesx New Member

    Joined:
    Mar 19, 2014
    Messages:
    14
    Looking pretty good, I did not encounter the proxy error anymore since the new version.

    Best regards.