i am new to fhir.
Fhir Validator is not working with Proxy Settings having with username and Password.
It only supports Proxy without username Password.
How do i execute fhir validater for a resouce with Proxy Settings.
I get following error when i use this command in Windows
java -jar org.hl7.fhir.validator.jar pat.xml -version 4.0.0 -Proxy=http://proxy:port
.. FHIR Version 4.0, definitions from hl7.fhir.r4.core#4.0.1
.. connect to tx server @ http://tx.fhir.org
Error connecting to build server - running without build (Connection refused: connect)
Exception in thread "main" org.hl7.fhir.exceptions.FHIRException: Unable to resolve package id hl7.fhir.r4.core#4.0.1
at org.hl7.fhir.utilities.cache.PackageCacheManager.fetchTheOldWay(PackageCacheManager.java:852)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadFromPackageServer(PackageCacheManager.java:397)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:681)
at org.hl7.fhir.validation.ValidationEngine.resolvePackage(ValidationEngine.java:649)
at org.hl7.fhir.validation.ValidationEngine.fetchByPackage(ValidationEngine.java:643)
at org.hl7.fhir.validation.ValidationEngine.loadIgSource(ValidationEngine.java:477)
at org.hl7.fhir.validation.ValidationEngine.loadCoreDefinitions(ValidationEngine.java:356)
at org.hl7.fhir.validation.ValidationEngine.<init>(ValidationEngine.java:337)
at org.hl7.fhir.validation.cli.services.ValidationService.getValidator(ValidationService.java:169)
at org.hl7.fhir.validation.Validator.main(Validator.java:175)
I tried using this as i have username and pwd with Proxy.
java -jar org.hl7.fhir.validator.jar pat.xml -version 4.0.0 -Proxy=http://usr:name@proxy:port
Getting the same error.
Any suggestions how to solve this.