Stream: IG creation
Topic: Template Loading Exceptions
Natasha Singh (Feb 12 2020 at 16:23):
Hi @Grahame Grieve or @Lloyd McKenzie ,
I keep getting the same FHIR exception org.hl7.fhir.exceptions.FHIRException: Error loading template
from the publisher no matter which template I use in the Sample IG. I tried all 3 of these templates so far:
fhir.base.template hl7.base.template hl7.fhir.template
I've attached the output from the publisher here: publisher.log
Thank you!
Natasha
Lloyd McKenzie (Feb 12 2020 at 16:36):
Hmm. I just re-ran Sample-IG on the CI-build server. It references fhir.base.template and on the CI-build, there's no cache. It ran successfully. Is there any possibility there might be a firewall or other security issue preventing you from receiving the packages? Have you tried manually cleaning your FHIR cache? (On Windows, it's C:\users\[user]\.fhir\packages)
Natasha Singh (Feb 12 2020 at 17:25):
Yea I just tried clearing my fhir package cache and I'm still getting the same exception. I can also access https://build.fhir.org/ig/HL7/ig-template-fhir in the browser so I don't think its a firewall issue :(
Natasha Singh (Feb 12 2020 at 17:28):
Hmm ok I take back what I said maybe it is a networking issue...I switched to a public network instead of our VPN and now it is working. I wonder why I am able to download the package from the browser but not in the publisher?
Lloyd McKenzie (Feb 12 2020 at 17:31):
I think the publisher actually tries to grab it from a package repository, not the build
Natasha Singh (Feb 12 2020 at 17:32):
Oh ok interesting
Grahame Grieve (Feb 12 2020 at 19:25):
it'll be based on security settings on your network detecting outgoing agent
Last updated: Apr 12 2022 at 19:14 UTC