Jump to content











Photo
- - - - -

access through proxy does not work


  • Please log in to reply
2 replies to this topic

#1 ska-

ska-
  • Members
  • 1 posts

Posted 02 March 2011 - 03:49 PM

I'm using WinBuilder 080, entered my proxy settings and selected HTTP for ping. Then click the "Download list of servers" button.

The program is then querying:

GET http://updates.boot-...der_Updates.ini HTTP/1.1

resulting in a 200 OK response, then it queries:

GET HTTP://google.com:80/bla.bla HTTP/1.1

which fails with a 404 error obviously.

Eventually a dialogue box appears to inform me that I need to be connected to the internet.

What can I do to use the program behind the proxy?

Regards, ska

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 02 March 2011 - 04:44 PM

The behaviour is part of an internal check:
try

    INetLog.debug('HTTP Ping: Get HTTP://' + URL + '/bla.bla');

    IndyComponent.Get('HTTP://' + URL + '/bla.bla');

    INetLog.debug('HTTP Ping result: ' + InttoStr(IndyComponent.ResponseCode));

    // The result may be additional dependant on the HTTP response code?

    Result := True;

  except

    on e: Exception do

    begin

      INetLog.Error('HTTP Ping', e);

      if e.Message = 'HTTP/1.1 404 Not Found' then

        Result := True

      else

        _Error := e.Message;

    end;

  end;

As to be seen the error 404 brings a True result, meaning 'Works'.

I currently have no idea what's going wrong with your host.

Maybe you test with the WBProxy program. It shares the proxy configuration with WinBuilder.exe.

Peter

#3 Guest_Boot_Monkey_*

Guest_Boot_Monkey_*
  • Guests

Posted 06 July 2012 - 12:19 AM

I'm having the same issue. I've used the WBProxy program and it says.........

2012-07-06 10:18:31_105: [DEBUG] [2360] {TWBInternet} HTTP Ping: Get HTTP://sourceforge.net/bla.bla
2012-07-06 10:18:31_115: [ERROR] [2360] {TWBInternet} HTTP Ping (EIdSocketError: Socket Error # 0)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users