BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-14-2011, 12:43 PM   #1 (permalink)
New Member
 
Join Date: Mar 2011
Model: 9800
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Proxy setting for BES 4.1.7

Please Login to Remove!

Hi all,

I am new to the BES and I have a question regarding setting a proxy for the BES.

Our environment is as follows: -
BES V4.1.7
Proxy: Squid
BlackBerry handheld: Torch 9800

A user using a Torch 9800 connected to the LAN via Wi-Fi. He then tries to access the Internet via the Squid proxy but have no success. The following message is displayed on the handheld: -

Unable to connect to the Internet, please try again later.
If the problem persists, please contact your service provider.

The handheld is able to browse the company Intranet with no problem.

I set up the proxy for the MDS as follows: -
1. On the BES, start BlackBerry Manager.
2. In left pane, select BlackBerry Domain->Servers-><server_name>_MDS-CS_1.
3. In right pane, click Edit Properties.
4. The BlackBerry MDS Connection Service window appears.
5. In left pane, select Properties->Proxy.
6. In right pane, double click Proxy Mapping.
7. The Proxy Mappings window appears.
8. In the list box, select "http ://.*".
9. Click Properties button.
10. The BlackBerry MDS Connection Service Proxy Configuration window appears.
11. In right pane, do the following: -
12. In Universal Resource Locator text box, keep the content, i.e. "http ://.*".
13. In Proxy String text box, type "PROXY <IP_of_proxy>:8080".
14. In User Name text box, leave the box blank.
15. In Password text box, keep the default content, i.e. "*******".
16. In Password (Confirmation) text box, leave the default content, i.e. "*******".
17. Click Apply.
18. Click OK.
19. Restart the MDS service.

Using the above configuration, I would expect if the user type a URL in the handheld browser, BES would forward the request to the Squid proxy which then get and return the page to the handheld. However this is not happening.

I checked the log file for the MDS service and it seems to be able to contact the Squid proxy.

Have I missed something? Any comment is welcome and appreciated.

Regards,

CapNig.
Offline  
Old 03-15-2011, 08:16 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2007
Model: Z10
OS: 10.1.0.19
Carrier: Fido
Posts: 1,068
Post Thanks: 6
Thanked 30 Times in 29 Posts
Default Re: Proxy setting for BES 4.1.7

Can you browse internet from BES itself?
Offline  
Old 03-15-2011, 11:31 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: 9780
PIN: N/A
Carrier: Swisscom
Posts: 1,579
Post Thanks: 5
Thanked 119 Times in 116 Posts
Default Re: Proxy setting for BES 4.1.7

In addition to fadmin's question:

Quote:
12. In Universal Resource Locator text box, keep the content, i.e. "http ://.*".
I don't think this is correct, you should use

.*://.*(:\d*)?(/.*)*(\?.*)?

Regards, Pascal
Offline  
Old 03-15-2011, 12:12 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2007
Model: Z10
OS: 10.1.0.19
Carrier: Fido
Posts: 1,068
Post Thanks: 6
Thanked 30 Times in 29 Posts
Default Re: Proxy setting for BES 4.1.7

or this:
http://.*
https://.*
Offline  
Old 03-15-2011, 08:38 PM   #5 (permalink)
New Member
 
Join Date: Mar 2011
Model: 9800
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Proxy setting for BES 4.1.7

Hi all,

Thanks for replying.

Yes, the BES is able to browse the Internet with Internet Explorer.

Regarding the URL string, I first tried:
h t t p : // .* (remove spaces)
which is the default but no luck. Then I tried the string that freakinvibe suggested, i.e.
.*://.*(:\d*)?(/.*)*(\?.*)?
but it does not make any difference.

I must have missed something but do not know what. Anyone has any bright ideas?

PS: Sorry buy I have to add spaces in the above URL because if I don't, I receive a message saying "You are only allowed to post URLs to other sites after you have made 15 posts or more" when I submit the post.

Regards,

CapNig.
Offline  
Old 03-16-2011, 03:04 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: 9780
PIN: N/A
Carrier: Swisscom
Posts: 1,579
Post Thanks: 5
Thanked 119 Times in 116 Posts
Default Re: Proxy setting for BES 4.1.7

You should check the MDS log for errors to find the root cause for this.
Offline  
Old 03-16-2011, 07:31 AM   #7 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2007
Model: Z10
OS: 10.1.0.19
Carrier: Fido
Posts: 1,068
Post Thanks: 6
Thanked 30 Times in 29 Posts
Default Re: Proxy setting for BES 4.1.7

Did you enable pull authorization rules?
Offline  
Old 03-21-2011, 10:05 AM   #8 (permalink)
New Member
 
Join Date: Mar 2011
Model: 9800
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Proxy setting for BES 4.1.7

Hi all,

Thank you for your response and sorry for replying late as I need to work on other things.

Regarding fadmin's comment, the answer is no, I did not enable pull authorization rules. According to RIM, enabling pull authorization without configuring and assigning pull rules will prevent all users from browsing to any Web site. So if I do NOT enable pull authorization, does it mean that users CAN browse to ANY Web site?

Regarding freakinvibe's comment, is the MDS log located at:
"C:\Program Files\Research In MOtion\BlackBerry Enterprise Server\MDS\Servers\<server_name>\logs" folder? I checked this folder but found that it is empty.

Regards,

CapNig
Offline  
Old 03-21-2011, 02:49 PM   #9 (permalink)
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: 9780
PIN: N/A
Carrier: Swisscom
Posts: 1,579
Post Thanks: 5
Thanked 119 Times in 116 Posts
Default Re: Proxy setting for BES 4.1.7

Quote:
So if I do NOT enable pull authorization, does it mean that users CAN browse to ANY Web site?
Yes, that is correct. You don't need to enable pull authorization.

Quote:
I checked this folder but found that it is empty.
Please check the following folder

"C:\Program Files\Research In Motion\BlackBerry Enterprise Server\Logs"

and look for log files with MDAT in it.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Proxy setting for BES 4.1.7
Thread Thread Starter Forum Replies Last Post
any better proxy script? noetic Beta You Than Me 0 01-21-2009 05:21 AM
Handset application Authenticator Proxy settings. skynetchris Developer Forum 0 07-15-2008 01:52 AM
Handset application proxy handling skynetchris Linux Users Corner 1 07-15-2008 01:50 AM
Lose TCP Setting of Reboot aaadams General BlackBerry Discussion 2 06-25-2005 02:23 PM
TCP Setting reset for my BB 7100t (T-mobile) polymath General BlackBerry Discussion 2 03-01-2005 07:24 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.