Skip to content
This repository

Blackberry Playbook HTTP Redirects Lead to 500 Status (OS 2.0) #3320

Closed
chris2fr opened this Issue May 26, 2012 · 6 comments

4 participants

Christopher Florian Staudacher Sean Tilley Michael K.
Christopher

What's Up

I connect to https://diasp.eu or https://diasp.org from my Blackberry Playbook and I get a Server Error issue (500).
I log into https://diasp.eu/users/sign_in and get the regular page.
When I confirm, I get the 500 again.
When I connect to https://diasp.eu.com, I click on connect, and get a String in French saying I should connect or register.

What Should Be

I should be able to use Diaspora from my Blackberry Playbook

Configuration

Blackberry Playbook OS 2.0
WiFi
Blackberry Navigator

Sean Tilley
Owner

Just checking up on this. Are you trying to render the mobile site, or are you using the desktop version on your tablet?

Christopher

Render regular site via BlackBerry Navigator (and variants)

Use-Case:

  1. Open Blackberry Navigator in Blackberry (or Dolphin etc, it is the same core it seems)
  2. Go to diasp.eu (or other Pods).

Thanks,

C2fr

Michael K.
40 commented May 31, 2012
In Response to Blog Post dated May 28, 2012

"Sean: This seems to be directly related to Blackberry’s implementation of Webkit, and how it handles mobile websites. If anyone with further knowledge of Blackberry’s system wants to take a crack at this, I can name quite a few users who would be eternally thankful."

With all due respect, as BlackBerry developer(vendor) I think that diaspora's implementation is causing the 500 error, not BlackBerry's implementation of WebKit as noted by mod.

BlackBerry Playbook browser is fully featured and does not cause redirect to mobile versions unless redirect rules are specifically create on your end to handle all requests from "BlackBerry" user-agent browsers to a mobile version.

Reference Links for Detecting the BlackBerry User Agent
  1. BlackBerry DevForums: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-detect-the-BlackBerry-Browser/ta-p/559862
  2. StackOverFlow: http://stackoverflow.com/questions/3839838/what-is-the-blackberry-playbooks-user-agent

Version number is based on the current OS which is at 2.0.1.358. 2.1 OS is beta now, and Version 10 OS will be coming later part of 2012.

The first part of the user-agent for Playbook Tablet OS is and will probably remain: Mozilla/5.0 (PlayBook; U; RIM Tablet OS

Thanks

Florian Staudacher
Collaborator

Test user agent:
Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.0.1; en-US) AppleWebKit/535.8+ (KHTML, like Gecko) Version/7.2.0.1 Safari/535.8+

Error message:

Template is missing
Missing template home/show, application/show with {:locale=>[:en], :formats=>[:tablet], :handlers=>[:erb, :builder, :markerb, :haml]}. 
Searched in: * "/home/florian/src/diaspora/app/views" * "/home/florian/.rvm/gems/ruby-1.9.3-p125@diaspora/gems/devise-1.5.3/app/views" 
Florian Staudacher
Collaborator

I just merged a fix for this issue. Please wait for the pods to update, then report back if this is still happening.

Florian Staudacher Raven24 closed this July 04, 2012
Florian Staudacher
Collaborator

I am closing this bug, since the fix was deployed, and no contrary feedback was received
(if this is still an issue, please reopen)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.