HTTPS Exception - MIRTH 4.4.1 #5961
Replies: 2 comments 5 replies
-
Using java.net.URL is not wrong but using Apache HTTP Commons will work more reliably and without messing with JVM options. See an example here: #5157 |
Beta Was this translation helpful? Give feedback.
4 replies
-
Try |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Sorry to be back. But this time I have an issue with HTTPS.
There is a download of information from an API REST. Below is the code.
I get the following exception.
ERROR (js-connector:138): Process Invoicing web service Processing: Error: JavaException: java.lang.IllegalAccessException: class org.mozilla.javascript.MemberBox cannot access class sun.net.www.http.PosterOutputStream (in module java.base) because module java.base does not export sun.net.www.http to unnamed module @1eba372c
I have launched MIRTH with the following command.
docker run -e VMOPTIONS=--add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED,--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED -p 8445:8443 nextgenhealthcare/connect
Am I doing something wrong ? I guess it is the case 😄
Beta Was this translation helpful? Give feedback.
All reactions