Failed to retrieve the server metadata statement...

554 views
Skip to first unread message

hejazi...@gmail.com

unread,
Jan 28, 2019, 3:53:42 AM1/28/19
to HAPI FHIR

Hi 

 I am trying to send my bundle in to a fhir server by creating RESTful client, which is described in Hapi-fhir.

some time ago (April 2018) I have used this address to send my bundle in sandbox server:  https://sb-fhir-stu3.smarthealthit.org/smartstu3/open/   
and it works good. I could manage my bundle in sandbox server and also I could launch some smart on fhir apps and test them with my bundle.
I figure out that this addr is not working more and it is old.
now I am using the new server : https://r3.smarthealthit.org/
 and also testing the other server address listed bellow:     
                
                Bundle resp = client.transaction().withBundle(bundle).execute();
// Log the response
System.out.println(ctx11.newJsonParser().setPrettyPrint(true).encodeResourceToString(resp)); 
  • but I get an error Failed to retrieve the server for all of these servers....  here is a Screenshot of the error:

2019-01-28_09h44_04.png


The bundle printed correctly and Valid. But I couldn't send it to any FHIR or SMART on FHIR server. Is anything has changed in this time? where could be the problem come?

I will be very thankful.
best regards
Adrina


James Agnew

unread,
Jan 28, 2019, 10:14:37 PM1/28/19
to hejazi...@gmail.com, HAPI FHIR
The ConnectionRefused exception means that no network connection can be established. This is definitely a networking issue on the machine this application is running on- Try accessing one of these URLs from a browser on the same machine to confirm.

Cheers,
James

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/66a36a8d-c64f-4eb1-a441-c09c861b1c0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages