Avatar
kuiperbelt
1d7792404ebfae1ce89cedf939ea2a2954ae58997bf084f96ed312f965359001
I'm a bitcoin maximalist and software developer.
Replying to Avatar kuiperbelt

#android #java #dev #asknostr

Still workin' on my project. I've been running into a series of issues trying to get nostr:npub1llfht66qadyxv44q9rkmequztav07r2ufgd6ytl8w3wjs3ffa5yqy398ja's nostr-java library to work with my app.

If anyone wants to help me, I'd really appreciate it. Currently, I'm trying to figure out how to set the "java.version" system property (https://howtodoinjava.com/java/basics/java-system-properties/#1-1-runtime-environment-properties), because it's required to be set for the jetty library to work properly: https://github.com/jetty/jetty.project/blob/ae6f98ed47ada09dd393102cea0bdf29bc7eb2ea/jetty-core/jetty-alpn/jetty-alpn-java-server/src/main/java/org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor.java#L37.

So far, nothing I've found online for setting this system property has resulted in any different behavior (the "java.version" property is always "0").

E.g., I tried this: https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_system_properties

If I try to set this value in the runtime code, I get this error message in logcat:

`System : Ignoring attempt to set property "java.version" to value "9.0.0".`

nostr:note1t2wltkcwpjvh90q5fv5vgl4qg978jnjch80d0uwd5thuwe2g34qqqy3gh5

To keep whoever's intetested posted, my nostr based waze-clone for Android is currently depending on the nostr-java library to be updated to support android and correct its implementation of some nostr features.

#roadscout #android

nostr:nevent1qqsyczwcxu532cgdjnq44hw9h9dyh5nmjyf07r4ued5dh8xz70pf4vqprdmhxue69uhhyetvv9ujumn0wd68ymmnd968jtnrdakj7q3qr4meyszwh7hpe6yuahunn6329922ukye00cgf7tw6vf0jef4jqqsxpqqqqqqzteyzxv

the link isnt working for me. What's simpleX, is that a replacement for X11?

my favorite microsoft teams gif

its a ticking time bomb for your health for sure

Do some nostr clients post "sensitive content warnings" when users block another user based on a particular post?

I think cryptic error messages in libraries probably add up to tremendous productivity loss.

Replying to Avatar kuiperbelt

I added the conscrypt client to my app's dependencies, and now this is the stack trace:

03-25 12:55:02.948 28205 28344 E nostr.client.Client: null

03-25 12:55:02.948 28205 28344 E nostr.client.Client: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No Client ALPNProcessors!

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.client.util.InputStreamResponseListener.get(InputStreamResponseListener.java:219)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.ws.Connection.getRelayInformation(Connection.java:122)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.ws.Connection.updateRelayMetadata(Connection.java:134)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.updateRelayInformation(Client.java:285)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.openRelay(Client.java:210)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.lambda$init$5(Client.java:265)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.$r8$lambda$TJeOxInLs9kBKY3hUg_Yv7ULkvU(Unknown Source:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client$$ExternalSyntheticLambda7.call(D8$$SyntheticClass:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.FutureTask.run(FutureTask.java:264)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Thread.run(Thread.java:1012)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Caused by: java.lang.IllegalStateException: No Client ALPNProcessors!

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.(ALPNClientConnectionFactory.java:49)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.client.dynamic.HttpClientTransportDynamic.newConnection(HttpClientTransportDynamic.java:202)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ssl.SslClientConnectionFactory.newConnection(SslClientConnectionFactory.java:125)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector$Configurator.newConnection(ClientConnector.java:646)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector.newConnection(ClientConnector.java:530)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector$ClientSelectorManager.newConnection(ClientConnector.java:562)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ManagedSelector.createEndPoint(ManagedSelector.java:384)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ManagedSelector$CreateEndPoint.run(ManagedSelector.java:1076)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:934)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1078)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 1 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni-linux-aarch_64.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.reflect.Method.invoke(Native Method)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader$1.run(NativeLibraryLoader.java:297)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader$1.run(NativeLibraryLoader.java:289)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.security.AccessController.doPrivileged(AccessController.java:46)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromHelperClassloader(NativeLibraryLoader.java:289)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:262)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.load(NativeLibraryLoader.java:162)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:106)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeCryptoJni.init(NativeCryptoJni.java:50)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeCrypto.(NativeCrypto.java:64)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:58)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:51)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:47)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.conscrypt.client.ConscryptClientALPNProcessor.init(ConscryptClientALPNProcessor.java:38)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.lambda$new$0$org-eclipse-jetty-alpn-client-ALPNClientConnectionFactory(ALPNClientConnectionFactory.java:69)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory$$ExternalSyntheticLambda0.accept(D8$$SyntheticClass:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.ServiceLoaderSpliterator.tryAdvance(ServiceLoaderSpliterator.java:46)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.Spliterator.forEachRemaining(Spliterator.java:332)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:792)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.(ALPNClientConnectionFactory.java:52)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 10 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni-linux-aarch_64.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 34 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 34 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

I added the conscrypt client to my app's dependencies, and now this is the stack trace:

03-25 12:55:02.948 28205 28344 E nostr.client.Client: null

03-25 12:55:02.948 28205 28344 E nostr.client.Client: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No Client ALPNProcessors!

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.client.util.InputStreamResponseListener.get(InputStreamResponseListener.java:219)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.ws.Connection.getRelayInformation(Connection.java:122)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.ws.Connection.updateRelayMetadata(Connection.java:134)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.updateRelayInformation(Client.java:285)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.openRelay(Client.java:210)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.lambda$init$5(Client.java:265)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.$r8$lambda$TJeOxInLs9kBKY3hUg_Yv7ULkvU(Unknown Source:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client$$ExternalSyntheticLambda7.call(D8$$SyntheticClass:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.FutureTask.run(FutureTask.java:264)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Thread.run(Thread.java:1012)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Caused by: java.lang.IllegalStateException: No Client ALPNProcessors!

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.(ALPNClientConnectionFactory.java:49)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.client.dynamic.HttpClientTransportDynamic.newConnection(HttpClientTransportDynamic.java:202)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ssl.SslClientConnectionFactory.newConnection(SslClientConnectionFactory.java:125)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector$Configurator.newConnection(ClientConnector.java:646)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector.newConnection(ClientConnector.java:530)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector$ClientSelectorManager.newConnection(ClientConnector.java:562)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ManagedSelector.createEndPoint(ManagedSelector.java:384)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ManagedSelector$CreateEndPoint.run(ManagedSelector.java:1076)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:934)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1078)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 1 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni-linux-aarch_64.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.reflect.Method.invoke(Native Method)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader$1.run(NativeLibraryLoader.java:297)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader$1.run(NativeLibraryLoader.java:289)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.security.AccessController.doPrivileged(AccessController.java:46)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromHelperClassloader(NativeLibraryLoader.java:289)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:262)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.load(NativeLibraryLoader.java:162)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:106)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeCryptoJni.init(NativeCryptoJni.java:50)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeCrypto.(NativeCrypto.java:64)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:58)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:51)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:47)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.conscrypt.client.ConscryptClientALPNProcessor.init(ConscryptClientALPNProcessor.java:38)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.lambda$new$0$org-eclipse-jetty-alpn-client-ALPNClientConnectionFactory(ALPNClientConnectionFactory.java:69)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory$$ExternalSyntheticLambda0.accept(D8$$SyntheticClass:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.ServiceLoaderSpliterator.tryAdvance(ServiceLoaderSpliterator.java:46)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.Spliterator.forEachRemaining(Spliterator.java:332)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:792)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.(ALPNClientConnectionFactory.java:52)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 10 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni-linux-aarch_64.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 34 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 34 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

I added the conscrypt client to my app's dependencies, and now this is the stack trace:

03-25 12:55:02.948 28205 28344 E nostr.client.Client: null

03-25 12:55:02.948 28205 28344 E nostr.client.Client: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No Client ALPNProcessors!

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.client.util.InputStreamResponseListener.get(InputStreamResponseListener.java:219)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.ws.Connection.getRelayInformation(Connection.java:122)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.ws.Connection.updateRelayMetadata(Connection.java:134)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.updateRelayInformation(Client.java:285)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.openRelay(Client.java:210)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.lambda$init$5(Client.java:265)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client.$r8$lambda$TJeOxInLs9kBKY3hUg_Yv7ULkvU(Unknown Source:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at nostr.client.Client$$ExternalSyntheticLambda7.call(D8$$SyntheticClass:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.FutureTask.run(FutureTask.java:264)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Thread.run(Thread.java:1012)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Caused by: java.lang.IllegalStateException: No Client ALPNProcessors!

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.(ALPNClientConnectionFactory.java:49)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.client.dynamic.HttpClientTransportDynamic.newConnection(HttpClientTransportDynamic.java:202)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ssl.SslClientConnectionFactory.newConnection(SslClientConnectionFactory.java:125)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector$Configurator.newConnection(ClientConnector.java:646)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector.newConnection(ClientConnector.java:530)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ClientConnector$ClientSelectorManager.newConnection(ClientConnector.java:562)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ManagedSelector.createEndPoint(ManagedSelector.java:384)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.io.ManagedSelector$CreateEndPoint.run(ManagedSelector.java:1076)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:934)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1078)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 1 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni-linux-aarch_64.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.reflect.Method.invoke(Native Method)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader$1.run(NativeLibraryLoader.java:297)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader$1.run(NativeLibraryLoader.java:289)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.security.AccessController.doPrivileged(AccessController.java:46)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromHelperClassloader(NativeLibraryLoader.java:289)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:262)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.load(NativeLibraryLoader.java:162)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:106)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeCryptoJni.init(NativeCryptoJni.java:50)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeCrypto.(NativeCrypto.java:64)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:58)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:51)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.OpenSSLProvider.(OpenSSLProvider.java:47)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.conscrypt.client.ConscryptClientALPNProcessor.init(ConscryptClientALPNProcessor.java:38)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.lambda$new$0$org-eclipse-jetty-alpn-client-ALPNClientConnectionFactory(ALPNClientConnectionFactory.java:69)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory$$ExternalSyntheticLambda0.accept(D8$$SyntheticClass:0)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.util.ServiceLoaderSpliterator.tryAdvance(ServiceLoaderSpliterator.java:46)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.Spliterator.forEachRemaining(Spliterator.java:332)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:792)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.eclipse.jetty.alpn.client.ALPNClientConnectionFactory.(ALPNClientConnectionFactory.java:52)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 10 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni-linux-aarch_64.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 34 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt_openjdk_jni.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 34 more

03-25 12:55:02.948 28205 28344 E nostr.client.Client: Suppressed: java.lang.UnsatisfiedLinkError: dlopen failed: library "libconscrypt.so" not found

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at java.lang.System.loadLibrary(System.java:1765)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:54)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibraryFromCurrentClassloader(NativeLibraryLoader.java:318)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: at org.conscrypt.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:273)

03-25 12:55:02.948 28205 28344 E nostr.client.Client: ... 24 more