Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Enterprise Service 10

Reply
Contributor
anzoro
Posts: 46
Registered: ‎04-19-2010
My Device: BB Playbook, BB Torch 9800, BB Z10, iPhone5

BDS 6.2 and Proxy profile

Hi together,

 

I'm trying to configure our BDS 6.2.0 (Bundle 45) with a proxy profile. No configuration that I have tried works.

 

I tried

- a manual configuration with IP and Port like 172.x.y.z and Port 8080

- PAC configuration like http:// 172.x.y.z / proxy.pac

 

Internal websites I am able to visit with business browser an BB Z10.

For all external websites I get error message on BB Z10 Work browser like "server does not reply / no header / no data.

The proxy.pac itself is shown in BB Z10 if I browse to proxy.pac in work browser.

 

On our BES 5 I am using the same proxy server with the same settings and it still is working with hundreds of BBs.

All our other application server are able to use this proxy server but our new BES 10 Server :-(

 

So all our BB Z10 are not able to open links in work mails, embedded html pictures are hidden.

 

In which server logs am I able to find BDS proxy profile settings to find any problems?

Please use plain text.
Contributor
anzoro
Posts: 46
Registered: ‎04-19-2010
My Device: BB Playbook, BB Torch 9800, BB Z10, iPhone5

Re: BDS 6.2 and Proxy profile

Seems that BDS 6.2 isn't able to use standard pac format.

I'm testing the example pac file mentioned in the BAS http:// findproxyforurl.com / example-pac-file


function FindProxyForURL(url, host) {
 
// If the hostname matches, send direct.
    if (dnsDomainIs(host, "intranet.domain.com") ||
        shExpMatch(host, "abcdomain.com"))
        return "DIRECT";
 
// If the requested website is hosted within the internal network, send direct.
    if (isPlainHostName(host) ||
        shExpMatch(host, "*.local") ||
        isInNet(dnsResolve(host), "10.0.0.0", "255.0.0.0") ||
        isInNet(dnsResolve(host), "172.16.0.0",  "255.240.0.0") ||
        isInNet(dnsResolve(host), "192.168.0.0",  "255.255.0.0") ||
        isInNet(dnsResolve(host), "127.0.0.0", "255.255.255.0"))
        return "DIRECT";
 
// DEFAULT RULE: All other traffic, use below proxies, in fail-over order.
    return "PROXY 4.5.6.7:8080; PROXY 7.8.9.10:8080";
 
}


Seems that comments have not to be used so I had to delete all comments. No problem.

 

But (dnsDomainIs(host, "intranet.domain.com") seems not to work and shExpMatch(host, "*.local") also seems not to work.

 

I tried several parts of the pac from example, the whole pac. And most parts seems not to work.

Surely with our own domain names or ips.


We need to use a proxy.pac as we have several internal web services that we need to access from the BB Z10s.

 

Is anyone using a proxy.pac sucessfully and would be so kind to post working parts of his pac used?

Please use plain text.
Contributor
anzoro
Posts: 46
Registered: ‎04-19-2010
My Device: BB Playbook, BB Torch 9800, BB Z10, iPhone5

Re: BDS 6.2 and Proxy profile

Actually we are testing with this proxy.pac which does NOT work:

 

function FindProxyForURL(url, host) {
 if (isPlainHostName(host) ||
 localHostOrDomainIs(host, ".domain1.de") ||
 localHostOrDomainIs(host, ".domain2.com") ||
 isInNet(dnsResolve(host), "10.0.0.0", "255.0.0.0") ||
 isInNet(dnsResolve(host), "172.16.10.0", "255.255.255.0") ||
 isInNet(dnsResolve(host), "127.0.0.0", "255.255.255.0"))
  return "DIRECT";
 return "PROXY 172.16.10.1:8080";
}

Please use plain text.
New Contributor
Olivier74380
Posts: 7
Registered: ‎11-09-2011
My Device: 9800

Re: BDS 6.2 and Proxy profile

Hi,

 

I've got the same problem as you:

I'm able to browse the pac file and corporate servers, but still have the same error message when browsing : Error, server returned nothing (no headers, no data)

I'm also unable to navigate on the Blackberry world for work, is it the same for you?

 

Many thanks

Olivier

Please use plain text.
Contributor
anzoro
Posts: 46
Registered: ‎04-19-2010
My Device: BB Playbook, BB Torch 9800, BB Z10, iPhone5

Re: BDS 6.2 and Proxy profile

Yes, it is the same situation.

 

With try and error we found out that BDS 6.2 isn't able yet to use proxy.pac as most of all options doesn't work.

 

Here you can find the a statement from Blackberry: www.blackberry.com/btsc/KB33676

 

So we decided to use manual configuration. This is our actually configuration. At the moment especially plainhosts it works fine for us.

 

Host: 172.16.10.1

Port: 8080

Exclusion list: *.domain.de;*.sub.domain.de;*.domain.com;10.*;172.16.10.*;127.0.0.*

Please use plain text.
Contributor
anzoro
Posts: 46
Registered: ‎04-19-2010
My Device: BB Playbook, BB Torch 9800, BB Z10, iPhone5

Re: BDS 6.2 and Proxy profile

Any solution available for plainhost exclusion?

Please use plain text.