Monday, October 3, 2011

[android-developers] Re: IllegalStateException: Scheme 'https' not registered.

Anyone?

It's affecting about 0.1% of my users.
More in AUS, UK and Germany than in the states
Across all versions of Android from 1.6 to 2.3.3 (I don't support 1.5
and the numbers for 3.0+ are probably too low to have generated any
errors).

Surely someone else is seeing this for http addresses.

William


On Oct 3, 8:15 am, William Ferguson <william.ferguson...@gmail.com>
wrote:
> I've started getting occassional instances of
>   IllegalStateException:Scheme'https'notregistered.
> from some users when they are downloading some content using
> HttpClient, but I can't reproduce it.
>
> I understand what the message means, but the content is available from
> a http address,notahttpsone, so I don't understand why the message
> is being generated. While I could register thehttpsscheme, I don't
> have any credentials to provide since it isnota secure location so I
> don't know whether registering will work and since I can't reproduce
> it myself I feel a bit stuck.
>
> Anyone know why I would be getting this error and how to avoid it for
> a http address?
>
> Full stacktrace is:
>
> Caused by: java.lang.IllegalStateException:Scheme'https'notregistered.
> at
> org.apache.http.conn.scheme.SchemeRegistry.getScheme(SchemeRegistry.java:
> 80)
> at
> org.apache.http.impl.conn.DefaultHttpRoutePlanner.determineRoute(DefaultHttpRoutePlanner.java:
> 107)
> at
> org.apache.http.impl.client.DefaultRequestDirector.determineRoute(DefaultRequestDirector.java:
> 565)
> at
> org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:
> 907)
> at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:
> 457)
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> 555)
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> 653)
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> 627)
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> 616)
> at
> au.com.xandar.jumblee.metrics.VersionChecker.execute(VersionChecker.java:
> 145)

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment