crw
December 6, 2023, 2:28pm
1
Hello guys,
I have just setup a new iphone. Everything is up and running - except for cryptomator.
My vaults are in pcloud. So I hit “use existing vault” > pcloud > it takes me to the oauth login > I enter my credentials > then back in cryptomator it is loading and loading until i hit a timeout. I am presented with the following error: see screenshot.
I have tried everything what I can think of … restart the phone, uninstall and reinstall cryptomator, remove all vaults, re-add all vaults. to no avail. no i am completely stuck
Please have a look at this issue
crw
December 6, 2023, 3:17pm
2
I tried to investigate further and enabled logging.
org.cryptomator.ios.fileprovider 2023-12-06–14-06-43-023 says:
2023/12/06 14:09:26:395 enumerator(for: NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) failed as the extension is not initialized
org.cryptomator.ios 2023-12-06–14-06-42-779 says:
NSLocalizedDescription=Die Netzwerkverbindung wurde unterbrochen., NSErrorFailingURLStringKey=https://eapi71.pcloud.com/listfolder , NSErrorFailingURLKey=https://eapi71.pcloud.com/listfolder , _kCFStreamErrorDomainKey=1})
2023/12/06 14:17:47:548 Error: clientError(Error Domain=NSURLErrorDomain Code=-1005 “Die Netzwerkverbindung wurde unterbrochen.” UserInfo={_kCFStreamErrorCodeKey=53, NSUnderlyingError=0x2810c2e80 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 “(null)” UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, uses wifi, _kCFStreamErrorCodeKey=53, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <211B6BB6-1A67-427C-8142-888A30541524>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
“LocalDataTask <211B6BB6-1A67-427C-8142-888A30541524>.<1>”
), NSLocalizedDescription=Die Netzwerkverbindung wurde unterbrochen., NSErrorFailingURLStringKey=https://eapi71.pcloud.com/userinfo , NSErrorFailingURLKey=https://eapi71.pcloud.com/userinfo , _kCFStreamErrorDomainKey=1})
2023/12/06 14:17:47:548 Error: clientError(Error Domain=NSURLErrorDomain Code=-1001 “Zeitüberschreitung bei der Anforderung.” UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x2810c0f60 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 “(null)” UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
“LocalDataTask .<1>”
cipher
December 7, 2023, 4:34am
3
I am having the same issue. I have tried whatever I can and none of them work.
crw
December 7, 2023, 9:17am
4
I have also tried to remove oauth token from pCloud page - no success.
I cleared every cache I could think of - no success.
This is really bad for me … please have a look at this issue.
I use Cryptomator iOS version 2.4.9.
iOS 17.1.2
Zybot
December 7, 2023, 10:57am
5
Just tried it and it doesn’t work for me either. Also the native Files app connection doesn’t work. My guess is it is a bug in the iOS App of pCloud which manages the Auth process.
Have you tried to connect via WebDav to bypass the App?
crw
December 7, 2023, 11:51am
6
Nice suggestion.
I tried it using the following webdav config:
my pcloud username / email + password
https://ewebdav.pcloud.com
It tries to connect. Then I receive an error that the network connection was interrupted
(“Die Netzwerkverbindung wurde unterbrochen”)
This seems to be a problem with pCloud. It is happening with the iOS and Android app. We’ll be contacting pCloud, but it would be great if you could contact them as well so they’re aware of this.
We just created this ticket containing some information about it:
opened 01:39PM - 07 Dec 23 UTC
When executing `apiClient.userInfo.execute().email()` the request against https:… //eapi71.pcloud.com/userinfo times out:
```
D 20231207132053.429 OkHttp --> GET https://eapi71.pcloud.com/userinfo http/1.1 (unknown length)
D 20231207132053.429 OkHttp User-Agent: pCloud SDK Java unspecified
D 20231207132053.429 OkHttp --> END GET
D 20231207132057.611 OkHttp <-- HTTP FAILED: java.net.SocketTimeoutException: failed to connect to eapi71.pcloud.com/45.131.244.145 (port 443) from /192.168.178.168 (port 39604) after 60000ms: isConnected failed: ETIMEDOUT (Connection timed out)
D 20231207132057.649 ExceptionHandler Unexpected error
org.cryptomator.domain.exception.NetworkConnectionException: org.cryptomator.domain.exception.FatalBackendException: java.net.SocketTimeoutException: failed to connect to eapi71.pcloud.com/45.131.244.145 (port 443) from /192.168.178.168 (port 39604) after 60000ms: isConnected failed: ETIMEDOUT (Connection timed out)
at org.cryptomator.data.cloud.pcloud.PCloudContentRepository.throwConnectionErrorIfRequired(PCloudContentRepository.kt:33)
at org.cryptomator.data.cloud.pcloud.PCloudContentRepository.throwWrappedIfRequired(PCloudContentRepository.kt:26)
...
Caused by: org.cryptomator.domain.exception.FatalBackendException: java.net.SocketTimeoutException: failed to connect to eapi71.pcloud.com/45.131.244.145 (port 443) from /192.168.178.168 (port 39604) after 60000ms: isConnected failed: ETIMEDOUT (Connection timed out)
at org.cryptomator.data.cloud.pcloud.PCloudContentRepository$Intercepted.checkAuthenticationAndRetrieveCurrentAccount(PCloudContentRepository.kt:169)
at org.cryptomator.data.cloud.pcloud.PCloudContentRepository$Intercepted.checkAuthenticationAndRetrieveCurrentAccount(PCloudContentRepository.kt:48)
at org.cryptomator.data.cloud.InterceptingCloudContentRepository.checkAuthenticationAndRetrieveCurrentAccount(InterceptingCloudContentRepository.kt:194)
... 13 more
Caused by: java.net.SocketTimeoutException: failed to connect to eapi71.pcloud.com/45.131.244.145 (port 443) from /192.168.178.168 (port 39604) after 60000ms: isConnected failed: ETIMEDOUT (Connection timed out)
at libcore.io.IoBridge.isConnected(IoBridge.java:343)
at libcore.io.IoBridge.connectErrno(IoBridge.java:237)
at libcore.io.IoBridge.connect(IoBridge.java:179)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
at java.net.Socket.connect(Socket.java:646)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at org.cryptomator.data.cloud.okhttplogging.HttpLoggingInterceptor.getResponseLoggingExceptions(HttpLoggingInterceptor.kt:51)
at org.cryptomator.data.cloud.okhttplogging.HttpLoggingInterceptor.getAndLogResponse(HttpLoggingInterceptor.kt:42)
at org.cryptomator.data.cloud.okhttplogging.HttpLoggingInterceptor.proceedWithLogging(HttpLoggingInterceptor.kt:28)
at org.cryptomator.data.cloud.okhttplogging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:18)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.pcloud.sdk.internal.AccessTokenAuthenticator.intercept(AccessTokenAuthenticator.java:50)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.pcloud.sdk.internal.GlobalRequestInterceptor.intercept(GlobalRequestInterceptor.java:46)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at com.pcloud.sdk.internal.OkHttpCall.execute(OkHttpCall.java:42)
at org.cryptomator.data.cloud.pcloud.PCloudImpl.currentAccount(PCloudImpl.kt:365)
at org.cryptomator.data.cloud.pcloud.PCloudContentRepository$Intercepted.checkAuthenticationAndRetrieveCurrentAccount(PCloudContentRepository.kt:167)
... 15 more
Caused by: android.system.ErrnoException: isConnected failed: ETIMEDOUT (Connection timed out)
at libcore.io.IoBridge.isConnected(IoBridge.java:334)
... 52 more
ErrorCode: 817U:4GDO
```
The same applies for the iOS app.
Edit: We also sent them an email and a message on social media.
1 Like
A user just wrote the following:
The problem is solved . I had two-factor authentication enabled on pcloud.
I deactivated it for a short time.
Now the connection to pcloud works and I can use the vault.
But everyone has to know for themselves whether they want to test it
We are still waiting for a response from pCloud.
crw
December 7, 2023, 9:08pm
10
Hello,
I think that this does not affect our bug, because I have never had 2FA activated on my pcloud account.
I just tested it with my win pc and iphone: was able to sign in to pcloud without a second factor.
cipher
December 8, 2023, 12:43am
11
My 2FA was still on. I logged out and then logged back in, and it worked as expected. I assume pCloud resolved the issue. Thanks, everyone.
crw
December 8, 2023, 1:04am
12
As I have written, my 2FA was never on.
Nevertheless … it now works for me. Thank you everyone!