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

Java Development

Reply
New Contributor
Posts: 5
Registered: ‎09-15-2010
My Device: Not Specified

Error loading https page in a embedded browser

Hi everyone,

I'm having an issue trying to use FB connect on some specific devices (i'm able to reproduce the issue in a 9700).

In a embedded browser i'm opening a page that redirects to FB connect in order to give permissions to my application.But i'm receiving this error url after an exception was thrown (ConnectionClosedException)

 

error://http//m.facebook.com:443/connect/uiserver.php?app_id=102796083108857&method=permissions.request&display=wap&next=http%3A%2F%2Ffacebook.myapp.com%2Ffbc%2Fusm%2FdG9ycmRh&response_type=code&fbconnect=1&perms=offline_access%2Cxmpp_login%2Cpublish_stream%2Cread_stream%2Cfriends_location%2Cfriends_status%2Cuser_status

 

It looks like there is some problem when the browser tries to redirect to a url to the port 443 (ie: http://m.facebook.com:443/connect/uiserver.php?app_id=102796083108857&method=permissions.request&dis...).

For example: facebook connect works OK when the browser redirects to:

http://m.facebook.com/login.php?app_id=102796083108857&cancel=http%3A%2F%2Ffacebook.nimbuzz.com%2Ffb...

 

Do you know what is happening?

Thanks in advance.

Pablo

 

This is the complete log (Please read it from below to top):

 

 

a myapp - documentLoaded:
error://http//m.facebook.com:443/connect/uiserver.php?app_id=102796083108857&method=permissions.request&display=wap&next=http%3A%2F%2Ffacebook.myapp.com%2Ffbc%2Fusm%2FdG9ycmRh&response_type=code&fbconnect=1&perms=offline_access%2Cxmpp_login%2Cpublish_stream%2Cread_stream%2Cfriends_location%2Cfriends_status%2Cuser_status
WindowPool worker0||15|| - 10/22 01:06:15
a net.rim.tcp - clos 1165/0 - 10/22 01:06:15
a net.rim.tunnel - Clos-MagicRudyAPN.rim - 10/22 01:06:15
S Java Exception - ConnectionClosedException - 10/22 01:06:15
| Stream closed
| net_rim_os-2(4ACBEBB6)
|  ClientProtocol
|  <private>
|  0x1B2C
| net_rim_os-2(4ACBEBB6)
|  ClientProtocol
|  readResponse
|  0x16DC
| net_rim_os-3(4ACBEBB6)
|  HttpProtocolBase
|  transitionToState
|  0x3368
| net_rim_os-3(4ACBEBB6)
|  HttpProtocolBase
|  getResponseHeaders
|  0x3430
| net_rim_os-3(4ACBEBB6)
|  HttpProtocolBase
|  getHeaderFieldKey
|  0x37F5
| net_rim_bb_browser_field2_api(4ACBE810)
|  BrowserFieldConnectionManagerImpl
|  <private>
|  0x17FB
| net_rim_bb_browser_field2_api(4ACBE810)
|  BrowserFieldConnectionManagerImpl
|  <private>
|  0x17AD
| net_rim_bb_browser_field2_api(4ACBE810)
|  BrowserFieldConnectionManagerImpl
|  makeRequest
|  0x1741
| net_rim_bb_browser_field2_api(4ACBE810)
|  TransportResourceHandler
|  handleResource
|  0x32C7
| net_rim_bb_browser_field2_api(4ACBE810)
|  BrowserFieldResourceHandler
|  handleNavigation
|  0x24D9
| net_rim_bb_browser_field2_api(4ACBE810)
|  ProtocolController
|  handleNavigationRequest
|  0x2C50
| net_rim_bb_browser_field2_api(4ACBE810)
|  RenderingApplicationImpl
|  <private>
|  0x30C4
| net_rim_bb_browser_field2_api(4ACBE810)
|  RenderingApplicationImpl
|  <private>
|  0x2FD4
| net_rim_bb_browser_field2_api(4ACBE810)
|  RenderingApplicationImpl
|  eventOccurred
|  0x2D97
| net_rim_bb_browser_rendering_lib-6(4ACBECB3)
|  RendererControl
|  renderBrowserContent
|  0x32D0
| net_rim_bb_browser_rendering_lib(4ACBECB3)
|  RenderingSessionImpl
|  getBrowserContent
|  0xA47E
| net_rim_bb_browser_rendering_lib(4ACBECB3)
|  RenderingSessionImpl
|  getBrowserContent
|  0xA460
| net_rim_bb_browser_field2_api(4ACBE810)
|  BrowserField$LoadContentRunnable
|  run
|  0x123D
| net_rim_cldc-2(4ACBE313)
|  Thread
|  run
|  0xAC10
a net.rim.tunnel - STac-MagicRudyAPN.rim - 10/22 01:06:15
a net.rim.tcp - disc   1 - 10/22 01:06:15
a net.rim.tunnel - Open-MagicRudyAPN.rim - 10/22 01:06:15
a net.rim.tcp - open tcpsocket://avatar.myapp.com:80;interface=wifi
- 10/22 01:06:15
a myapp - TM.getCachedTransport AUTO AvatarRequest-45||15|| - 10/22 01:06:15
a myapp - SC.getSettingsConnectionTransport AvatarRequest-45||15|| -
10/22 01:06:15
a myapp - supportsHTTPAvatarsDownload=true AvatarRequest-45||15|| -
10/22 01:06:15
a myapp - starting request processing for mcalbucci@myapp.com
AvatarRequest-45||15|| - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   1165 - 10/22 01:06:15
i net.rim.networkapi - Fats   6 - 10/22 01:06:15
d net.rim.tcp - OPEN - 10/22 01:06:15
a net.rim.tunnel - STac-MagicRudyAPN.rim - 10/22 01:06:15
a net.rim.tunnel - Open-MagicRudyAPN.rim - 10/22 01:06:15
a net.rim.tcp - open tcpsocket://m.facebook.com:443;interface=wifi -
10/22 01:06:15
d net.rim.networkapi - FcoC
http://m.facebook.com:443/connect/uiserver.php?app_id=102796083108857&method=permissions.request&dis...
- 10/22 01:06:15
i net.rim.networkapi - Fatt   6 - 10/22 01:06:15
a net.rim.tcp - clos 1305/1025 - 10/22 01:06:15
a net.rim.tunnel - Clos-MagicRudyAPN.rim - 10/22 01:06:15
a net.rim.tcp - disc   1 - 10/22 01:06:15
a net.rim.tcp - clos 2101/2556 - 10/22 01:06:15
a net.rim.tunnel - Clos-MagicRudyAPN.rim - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   22 - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   5 - 10/22 01:06:15
d net.rim.http - HCic - 10/22 01:06:15
a net.rim.tcp - clos 2023/15021 - 10/22 01:06:15
a net.rim.tunnel - Clos-MagicRudyAPN.rim - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   22 - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   5 - 10/22 01:06:15
d net.rim.http - HCic - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   1127 - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   5 - 10/22 01:06:15
i net.rim.networkapi - Fats   6 - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   32 - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   5 - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   1 - 10/22 01:06:15
d net.rim.tcp - TXss - 10/22 01:06:15
d net.rim.tcp - TXsb   5 - 10/22 01:06:14
d net.rim.tcp - TXss - 10/22 01:06:14
d net.rim.tcp - TXsb   125 - 10/22 01:06:14
d net.rim.tcp - TXss - 10/22 01:06:14
d net.rim.tcp - TXsb   5 - 10/22 01:06:14
d net.rim.tcp - OPEN - 10/22 01:06:14
a net.rim.tunnel - STac-MagicRudyAPN.rim - 10/22 01:06:14
a net.rim.tunnel - Open-MagicRudyAPN.rim - 10/22 01:06:14
a net.rim.tcp - open tcpsocket://graph.facebook.com:443;interface=wifi
- 10/22 01:06:14
d net.rim.networkapi - FcoC
https://graph.facebook.com/oauth/authorize?client_id=102796083108857&display=wap&redirect_uri=http:/...
- 10/22 01:06:14
i net.rim.networkapi - Fatt   6 - 10/22 01:06:14
a myapp - URL:https://graph.facebook.com/oauth/authorize?client_id=102796083108857&display=wap&redirect_uri=http:/...