FHIR Chat · Import SNOMED terminology into FHIR · implementers

Stream: implementers

Topic: Import SNOMED terminology into FHIR


view this post on Zulip David Cagigal (May 05 2020 at 19:50):

I have created a HAPI FHIR Server running in tomcat with a mySQL database. I am trying to import the SNOMED dataset into it.

While executing this command on the web server, it generates the following error:
java -jar hapi-fhir-cli.jar upload-terminology -d data/SnomedCT_USEditionRF2_PRODUCTION_20200301T120000Z.zip -v r4 -t http://localhost:8080/hapi-fhir-jpaserver/fhir/ -u http://snomed.info/sct -l

Error generated:
2020-05-05 20:04:43.610 [main] INFO c.u.f.c.UploadTerminologyCommand Beginning upload - This may take a while...
2020-05-05 20:05:04.989 [main] ERROR ca.uhn.fhir.cli.App Error during execution:
ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing POST to URL http://localhost:8080/hapi-fhir-jpaserver/fhir/CodeSystem/$upload-external-code-system - org.apache.http.NoHttpResponseException: localhost:8080 failed to respond
at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:396)
at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
at ca.uhn.fhir.rest.client.impl.GenericClient$OperationInternal.execute(GenericClient.java:1173)
at ca.uhn.fhir.cli.UploadTerminologyCommand.invokeOperation(UploadTerminologyCommand.java:204)
at ca.uhn.fhir.cli.UploadTerminologyCommand.run(UploadTerminologyCommand.java:113)
at ca.uhn.fhir.cli.BaseApp.run(BaseApp.java:251)
at ca.uhn.fhir.cli.App.main(App.java:43)
Caused by: org.apache.http.NoHttpResponseException: localhost:8080 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at ca.uhn.fhir.rest.client.apache.ApacheHttpRequest.execute(ApacheHttpRequest.java:64)
at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:304)
... 6 common frames omitted
2020-05-05 20:05:05.67 [Thread-0] INFO ca.uhn.fhir.cli.App HAPI FHIR is shutting down...

Thanks!

view this post on Zulip Grahame Grieve (May 05 2020 at 21:53):

this sounds like a question for #hapi or the HAPI support group on google

view this post on Zulip David Cagigal (May 05 2020 at 21:55):

Thanks Grahame! I wasn't sure the right group and thanks for the tip!


Last updated: Apr 12 2022 at 19:14 UTC