Https : exception uncaught handler

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Https : exception uncaught handler

Postby Steph » Wed Nov 05, 2008 1:40 pm

hi everybody

I try to connect to server with https connection.

i have a exception uncaught handler : thread pool-1-thread-1 existing du to uncaught exception
I don't find a uncaught exception.

my source :
SSLUtilities.trustAllHostnames();
SSLUtilities.trustAllHttpsCertificates();
//default programm
//Create scheme registry
SchemeRegistry registry = new SchemeRegistry();
registry.register(new Scheme("https", SSLSocketFactory.getSocketFactory(), 443));
registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));


//Create a http client using a threadsave connection manager
ThreadSafeClientConnManager connectionManager = new ThreadSafeClientConnManager(parameters, registry);
httpClient = new DefaultHttpClient(connectionManager, parameters);

The SSLUtilities are there : http://en.wikibooks.org/wiki/Programmin ... ertificate

So i need to success my connection
So anybody know where is the problem??


regards,
Steph
Steph
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Mon Oct 20, 2008 1:48 pm
Location: France

Top

Postby Steph » Thu Nov 06, 2008 1:48 pm

If somebody has the same problem, i think that's come from Dalvik...
Steph
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Mon Oct 20, 2008 1:48 pm
Location: France

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 4 guests