Skip to content

ConnectTimeoutException while Uploading pages #102

@dgautier

Description

@dgautier

I'm getting timeout exception and can't find where it's coming from, it happens after a few pages update so maybe the server is hanging but with this stacktrace it's quite hard to defined :

io.ktor.client.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://confluence.fake/rest/api/content?spaceKey=TEX&title=Component+058+-+title&expand=metadata.labels%2Cmetadata.properties.contenthash%2Cmetadata.properties.editor%2Cmetadata.properties.t2ctenant%2Cversion%2Cchildren.attachment%2Cancestors%2Cbody.storage, connect_timeout=unknown ms]
at io.ktor.client.plugins.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:213)
at io.ktor.client.plugins.HttpTimeoutKt.ConnectTimeoutException$default(HttpTimeout.kt:210)
at io.ktor.client.engine.cio.Endpoint.getTimeoutException(Endpoint.kt:268)
at io.ktor.client.engine.cio.Endpoint.connect(Endpoint.kt:257)
at io.ktor.client.engine.cio.Endpoint.access$connect(Endpoint.kt:25)
at io.ktor.client.engine.cio.Endpoint$connect$1.invokeSuspend(Endpoint.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions