Skip to content

Commit

Permalink
Fix "SEVERE: Unable to initialize BouncyCastleAlpnSslUtils." error
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Jul 18, 2023
1 parent d8b99ba commit 3d9ed9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ lazy val cli =
"--install-exit-handlers",
"--diagnostics-mode",
// "-H:+BuildReport", // only available on Oracle GraalVM
"-H:ExcludeResources=.*.jar,.*.properties"
"-H:ExcludeResources=.*.jar,.*.properties",
"-Djdk.http.auth.tunneling.disabledSchemes=",
"--initialize-at-run-time=io.netty.handler.ssl.BouncyCastleAlpnSslUtils",
)
},
nativeImageAgentMerge := true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
"name":"io.netty.util.ReferenceCountUtil",
"queryAllDeclaredMethods":true
},
{
"name":"io.netty.util.ResourceLeakDetector$DefaultResourceLeak",
"fields":[{"name":"droppedRecords"}, {"name":"head"}]
},
{
"name":"io.netty.util.concurrent.DefaultPromise",
"fields":[{"name":"result"}]
Expand Down

0 comments on commit 3d9ed9c

Please sign in to comment.