element-hq / element-hq/element-x-android

Disable SSL Verification

Open
#5,247 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

I have deplored Element Synapse - Matrix homeserver on my local network completely offline with self signed certificate but element-x-android can't connect to server
this is the error i get

`elementx: Failed to set homeserver to https://mat.local (Ask Gemini)
org.matrix.rustcomponents.sdk.ClientBuildException$ServerUnreachable: error sending request for URL (https://mat.local/.well-known/matrix/client)
at org.matrix.rustcomponents.sdk.FfiConverterTypeClientBuildError.read(matrix_sdk_ffi.kt:31886)
at org.matrix.rustcomponents.sdk.FfiConverterTypeClientBuildError.read(matrix_sdk_ffi.kt:31881)
at org.matrix.rustcomponents.sdk.FfiConverter$DefaultImpls.liftFromRustBuffer(matrix_sdk_ffi.kt:243)
at org.matrix.rustcomponents.sdk.FfiConverterRustBuffer$DefaultImpls.liftFromRustBuffer(matrix_sdk_ffi.kt:255)
at org.matrix.rustcomponents.sdk.FfiConverterTypeClientBuildError.liftFromRustBuffer(matrix_sdk_ffi.kt:31881)
at org.matrix.rustcomponents.sdk.FfiConverterTypeClientBuildError.liftFromRustBuffer(matrix_sdk_ffi.kt:31881)
at org.matrix.rustcomponents.sdk.FfiConverterRustBuffer$DefaultImpls.lift(matrix_sdk_ffi.kt:256)
at org.matrix.rustcomponents.sdk.FfiConverterTypeClientBuildError.lift(matrix_sdk_ffi.kt:31881)
at org.matrix.rustcomponents.sdk.FfiConverterTypeClientBuildError.lift(matrix_sdk_ffi.kt:31881)
at org.matrix.rustcomponents.sdk.ClientBuildException$ErrorHandler.lift(matrix_sdk_ffi.kt:31877)
at org.matrix.rustcomponents.sdk.ClientBuildException$ErrorHandler.lift(matrix_sdk_ffi.kt:31876)
at org.matrix.rustcomponents.sdk.Matrix_sdk_ffiKt.uniffiCheckCallStatus(matrix_sdk_ffi.kt:319)
at org.matrix.rustcomponents.sdk.Matrix_sdk_ffiKt.access$uniffiCheckCallStatus(matrix_sdk_ffi.kt:1)
at org.matrix.rustcomponents.sdk.Matrix_sdk_ffiKt.uniffiRustCallAsync(matrix_sdk_ffi.kt:48591)
at org.matrix.rustcomponents.sdk.Matrix_sdk_ffiKt$uniffiRustCallAsync$1.invokeSuspend(Unknown Source:19)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
| RustMatrixAuthenticationService.kt:140`

how can i make it ignore SSL verification ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.