| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: How to use Web Tool with SQUID proxy server? |
| jeffegil From: Mount Olive, NJ USA Posts: 5 Member Since: 04/16/04 |
posted April 16, 2004 4:01 PM I have not been able to get through our company proxy server using WebTool. I have updated WebTool to the latest version (12/4/02) from your site. To test, I'm using the PageFetch example. - As downloaded, it works fine on a PC connected directly to the Internet - I modified the code only to include the proxy:port, username and password (below) and tried the code through our Squid HTTP proxy without success. Is there a way to use WebTool through a Squid HTTP proxy server? ------------------- Our Proxy Server ------------------- SQUID version 2.5 Stable 1 running HTTP proxy website at http://www.squid-cache.org --------------------------------- Modified the PageFetch --------------------------------- Private Sub SetHttpProperties() m_bAborted = False Http1.Url = m_sUrl Http1.Cache = m_bCache Http1.Security = m_nSecurity Http1.Timeout = m_nTimeout Http1.Proxy = "http_//10.64.11.248:8080" '<--added Http1.ProxyUsername = "myproxyusername" '<--added Http1.ProxyPassword = "myproxypassword" '<--added End Sub ---------------- Debug Window: ---------------- STATE :1 STATE :2 STATE :3 STATE :4 STATE :5 STATE :6 STATE :7 STATE :8 STATE :9 STATE :8 STATE :10 STATE :11 STATE :10 STATE :11 Error #12017 The operation was canceled, usually because the handle on which the request was operating was closed before the operation completed. STATE :0 Error #9060 Caused when Get, Head, Post, or Put methods are used with a Timeout parameter and the operation fails to complete within the specified number of milliseconds. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 16, 2004 4:04 PM Does internet explorer work with that proxy? If so, is there something different in the configuration between Squid and other proxies? Unfortunately we don't have a squid proxy to try. |
| jeffegil From: Mount Olive, NJ USA Posts: 5 Member Since: 04/16/04 |
posted April 16, 2004 4:10 PM Thank you for the quick! reply. 1. My post changed after I pressed the submit button. There was an proxy name and port ("h_ttp://10.64.11.248:8080") after the "http1.proxy =" but it went away. No matter. 2. The SQUID server works with IE. I'm not that familiar with proxy servers (I found out that SQUID is an HTTP proxy, but that's all I know). What other things should I ask the comms guys to get the information that you need? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 16, 2004 4:17 PM The proxy property is not a url, it's server:port. Try getting rid of http colon slash slash part and see what happens. Other than that, there's not much I can offer. If they can make a proxy available to us over the internet for testing we could probably figure out what's up. |
| jeffegil From: Mount Olive, NJ USA Posts: 5 Member Since: 04/16/04 |
posted April 16, 2004 4:49 PM Tony, 1) I've tried with and without the http, and also tried the IP for the proxy without success (all three versions work in IE). 2) How could I make the proxy available to you over the Internet? If I know what to ask upstairs, I'll ask it! Again - thank you for your help and prompt reply. - Gil |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 16, 2004 5:06 PM That's the problem. If it can be done, they'll have to know how to do it. All I need is an address and a port. |
| jeffegil From: Mount Olive, NJ USA Posts: 5 Member Since: 04/16/04 |
posted April 16, 2004 5:32 PM I spoke with our comms guy, and he said that the problem I'm having should be caused by any proxy server that returns an HTTP 407 (HTTP/1.1 407 Proxy Authentication Required). I hope this helps. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 16, 2004 7:00 PM If you are you setting the username and password, you should not be getting the response. Ask them to check their logs to see if they can get any info from them. |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|