Unknown host exception in sample application

Dec 22, 2010 at 6:48 AM


I have setup healthvault java SDk.
In sample weight application, i am able to connect to healthvault login page and i am recieving authtocken in response.
After recieving response, Sdk code tries to retrieve person info from health vault with that auth tocken.
While doing this, i am getting unknown host exception in class
URLConnectionTransport.java at line OutputStream out = conn.getOutputStream ();
my healthvault.url=https://platform.healthvault-ppe.com/platform/wildcat.ashx
in connection object also, the url and protocol is correct.

I am able to connect to this url through browser, so i dont think that its a network related issue.

I also tried connection through proxy in code, but got the same problem.
Can anyone please guide me here.

hv properties:

app.id=bafb1313-d4e0-421c-b3b5-4e3a55639c19

shell.url=https://account.healthvault-ppe.com
healthvault.url=https://platform.healthvault-ppe.com/platform/wildcat.ashx

transport.timeout.connect=0
transport.timeout.read=0

keystore.filename=/keystore
keystore.keyname=java-wildcat
keystore.password=password

target.auth.redirect=/auth
target.auth.actionqs=/

Coordinator
Jan 5, 2011 at 9:01 AM

You are probably behind a firewall and need to configure a proxy. 

http://download.oracle.com/javase/1.5.0/docs/guide/net/properties.html

http://download.oracle.com/javase/1.4.2/docs/guide/security/jsse/JSSERefGuide.html

--Rob