NetTalk Central

Author Topic: flipping between using a proxy server and not using one  (Read 15368 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
flipping between using a proxy server and not using one
« on: August 20, 2012, 12:03:01 PM »
When I am at home I connect to the internet without a proxy.
At the office, they say, because of security , I must surf through a proxy server.
I need to change the network proxy server settings in IE. from using at work to not using at home.
All the programs I use then work, they seem to pick up these settings from IE..

However.
My nettalk app calls some webservices.
It work well at home, but when I run from the office, I get proxy server errors.
1. How can I detect that I need to use a proxy server, and what settings
2. How do I tell nettalk to use the proxy settings


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11263
    • View Profile
Re: flipping between using a proxy server and not using one
« Reply #1 on: August 20, 2012, 09:42:39 PM »
>> when I run from the office, I get proxy server errors.

and the errors are..... ?

>> 1. How can I detect that I need to use a proxy server, and what settings
<< 2. How do I tell nettalk to use the proxy settings

See the NetDemo app, WebClient procedure.
There are proxy settings on the Address tab and Authentication tab.

cheers
Bruce

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
and the errors are......
« Reply #2 on: August 22, 2012, 05:01:45 AM »
and the errors are....

HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
Via: 1.1 JMRISA2
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="JMRISA2.JMR.local"
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 718   

<HTML><HEAD><TITLE>Error Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<BODY>
<TABLE><TR><TD id=L_dt_1><B>Network Access Message: The page cannot be displayed<B></TR></TABLE>
<TABLE><TR><TD height=15></TD></TR></TABLE>
<TABLE>
<TR><TD id=L_dt_2>Technical Information (for Support personnel)
<UL>
<LI id=L_dt_3>Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. (12209)
<LI id=L_dt_4>IP Address: 192.168.1.1
<LI id=L_dt_5>Date: 8/22/2012 12:59:08 PM [GMT]
<LI id=L_dt_6>Server: JMRISA2.JMR.local
<LI id=L_dt_7>Source: proxy
</UL></TD></TR></TABLE></BODY></HTML>

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11263
    • View Profile
Re: flipping between using a proxy server and not using one
« Reply #3 on: August 22, 2012, 05:12:20 AM »
So there you go, you need to enter authentication data. See the NetDemo example.
We don't support NTLM authentication, but most Proxies support Digest authentication.
Which NetTalk build are you using?

cheers
Bruce

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: flipping between using a proxy server and not using one
« Reply #4 on: August 22, 2012, 10:51:40 AM »
6.39
Thx Bruce
I will look at the NetDemo