-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open one folder within Cryptomator Vault in pCloud from Android #465
Comments
In attempting to diagnose the problem I have installed Cryptomator 1.7.5 on two additional phones:
As on the original Pixel 5a phone, both these phones also cannot open the Documents folder due to a supposed, "No network connection," but as before I can open any other folder and file within the vault. |
Can you please enable debug mode, reproduce the problem and send us the log file? https://community.cryptomator.org/t/how-do-i-enable-debug-mode-on-android/66 |
Thank you for the log file. Just created the following upstream issue regarding this topic pCloud/pcloud-sdk-java#40 It sounds quiet similar to #459. Hopefully someone at the pCloud team will have a look at it soon but I'm not very optimistic about that to be honest :/ |
Thank you for submitting this issue to pCloud. |
Hey check this out: From within Cryptomator on Android I moved the Documents folder to a different folder (i.e. long press Documents > Menu > Move) and now I can open the Documents folder and any subfolder or file within it! Any idea what is going on here? |
I couldn't figure out a way to move the Documents folder "back up" one level to its original "parent folder" in the vault on Android, so I used Windows Explorer on my desktop to do so and I am still able to access the Documents folder from Cryptomator on my Android phone as expected. So if this is a pCloud issue why did simply moving the folder from one location to another within the vault restore my access to it? |
Again, I'm not a pCloud developer, I can not explain to you what's going wrong on the server side and why moving changes something but let me explain the log file to you: In The server responds with Then we ask give us a link where we can download this file. In pCloud you can not download the file directly but ask the server to get a link where we can download the file from. We do the request in The server responds with Then we ask the server to give us the content of this file from the download link in The server responds in The And just for the sake of completeness we are using the official API from pCloud and have not programmed the individual requests ourselves, only the process, which is clearly documented. That's why I highly think it must be something in the server, because a file where we requested meta data, to which we got a download link, should still exist a few hundred milliseconds later. I can't say what's going wrong in the server, that can have a lot of causes. In the end, it could be something somewhere in our system too, which I would also like better, because we could fix that, but there's currently absolutely no evidence for it. |
Thanks Julian, your detailed explanation is much appreciated!
I sure hope pCloud gets this resolved. I would not have bought 10 TB of lifetime space if I knew it was going to be problematic with cryptomator.
Sent from Proton Mail mobile
…-------- Original Message --------
On Nov 9, 2022, 7:15 PM, Julian Raufelder - notifications at github.com wrote:
Again, I'm not a pCloud developer, I can not explain to you what's going wrong on the server side and why moving changes something but let me explain the log file to you:
In
20221107084947.001 OkHttp --> GET https://api.pcloud.com/stat?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r http/1.1 (unknown length)
we ask the server to give us some stats about this file.
The server responds with
20221107084947.118 OkHttp <-- 200 OK https://api.pcloud.com/stat?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r (116ms)
which means OK, I found this file, here are some stats like the size, etc.
Then we ask give us a link where we can download this file. In pCloud you can not download the file directly but ask the server to get a link where we can download the file from. We do the request in
20221107084947.120 OkHttp --> GET https://api.pcloud.com/getfilelink?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r http/1.1 (unknown length)
The server responds with
20221107084947.186 OkHttp <-- 200 OK https://api.pcloud.com/getfilelink?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r (66ms)
which means everything OK, here is the link.
Then we ask the server to give us the content of this file from the download link in
20221107084947.189 OkHttp --> GET https://vc535.pcloud.com/dpZoXb6PPZnM1QpUZKr3h7ZYZ32cWc7Z2ZZvKVZZ1YoRvsve5EXg91BXwsggLHsfT3W7/dir.c9r http/1.1 (unknown length)
The server responds in
20221107084947.543 OkHttp <-- 404 Not Found https://vc535.pcloud.com/dpZoXb6PPZnM1QpUZKr3h7ZYZ32cWc7Z2ZZvKVZZ1YoRvsve5EXg91BXwsggLHsfT3W7/dir.c9r (352ms)
with an error that the file can not be found on the server.
And just for the sake of completeness we are using the official API from pCloud and have not programmed the individual requests ourselves, only the process, which is clearly documented. That's why I highly think it must be something in the server, because a file where we requested meta data, to which we got a download link, should still exist a few hundred milliseconds later. I can't say what's going wrong in the server, that can have a lot of causes. In the end, it could be something somewhere in our system too, which I would also like better, because we could fix that, but there's currently absolutely no evidence for it.
—
Reply to this email directly, [view it on GitHub](#465 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AT53RWOU5LL73FBZDMQEX7DWHQ5ALANCNFSM6AAAAAARXXLJTU).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
After doing the convoluted workaround documented above it continued to work for a couple weeks, but now the same folder (Documents folder) in the same vault in the same drive (pCloud) does not open due to a so-called "No network connection." This happens on both Pixel phones I have Cryptomator installed on. This bug is getting tiresome. |
And unlike last time, this time moving the inaccessible folder to a new location does not fix the problem. The folder is inaccessible from any Android device regardless of what I do. Thankfully I can still access it from Windows. |
@SailReal Some details on the issue: The link to the file's content has expired or became otherwise invalid due to a network switch, signaled with a The IP-switching limitation can be hit quite easily on mobile devices with multiple sources of connectivity (cellular/wifi/...) where the system will follow a strategy that aims to use the fastest and cheapest (non-metered) network present at the moment. Please review the changes and tell me if they solve the issues. |
@SailReal , the "no network" message may be selected due to how fun Throwable.isNetworkError(): Boolean {
return this is SocketException ||
this is SocketTimeoutException ||
this is UnknownHostException ||
this is SSLException
} |
Wondering if any progress is being made on this issue? |
Hello Julian,
I see over a week ago Georgi Neykov from pCloud responded to your submissions on their Github pages and closed them both as completed. He also joined in the conversation on Cryptomator's Github page, but as yet no one from Cryptomator has responded: #465%20Georgi%20Neykov
…------- Original Message -------
On Wednesday, November 9th, 2022 at 10:05 PM, A Kautz ***@***.***> wrote:
Thanks Julian, your detailed explanation is much appreciated!
I sure hope pCloud gets this resolved. I would not have bought 10 TB of lifetime space if I knew it was going to be problematic with cryptomator.
Sent from Proton Mail mobile
-------- Original Message --------
On Nov 9, 2022, 7:15 PM, Julian Raufelder - notifications at github.com < ***@***.***> wrote:
> Again, I'm not a pCloud developer, I can not explain to you what's going wrong on the server side and why moving changes something but let me explain the log file to you:
>
> In
> 20221107084947.001 OkHttp --> GET https://api.pcloud.com/stat?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r http/1.1 (unknown length)
> we ask the server to give us some stats about this file.
>
> The server responds with
> 20221107084947.118 OkHttp <-- 200 OK https://api.pcloud.com/stat?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r (116ms)
> which means OK, I found this file, here are some stats like the size, etc.
>
> Then we ask give us a link where we can download this file. In pCloud you can not download the file directly but ask the server to get a link where we can download the file from. We do the request in
> 20221107084947.120 OkHttp --> GET https://api.pcloud.com/getfilelink?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r http/1.1 (unknown length)
>
> The server responds with
> 20221107084947.186 OkHttp <-- 200 OK https://api.pcloud.com/getfilelink?path=/Cryptomator%20pCloud%20FUSE/d/5I/UR4U7IDF2RZWFNVUFGHMN7IE2FTDZ4/kwFjq-_uNtDPN386UKwtD8j_QRE6yAPkBg%3D%3D.c9r/dir.c9r (66ms)
> which means everything OK, here is the link.
>
> Then we ask the server to give us the content of this file from the download link in
> 20221107084947.189 OkHttp --> GET https://vc535.pcloud.com/dpZoXb6PPZnM1QpUZKr3h7ZYZ32cWc7Z2ZZvKVZZ1YoRvsve5EXg91BXwsggLHsfT3W7/dir.c9r http/1.1 (unknown length)
>
> The server responds in
> 20221107084947.543 OkHttp <-- 404 Not Found https://vc535.pcloud.com/dpZoXb6PPZnM1QpUZKr3h7ZYZ32cWc7Z2ZZvKVZZ1YoRvsve5EXg91BXwsggLHsfT3W7/dir.c9r (352ms)
> with an error that the file can not be found on the server.
>
> And just for the sake of completeness we are using the official API from pCloud and have not programmed the individual requests ourselves, only the process, which is clearly documented. That's why I highly think it must be something in the server, because a file where we requested meta data, to which we got a download link, should still exist a few hundred milliseconds later. I can't say what's going wrong in the server, that can have a lot of causes. In the end, it could be something somewhere in our system too, which I would also like better, because we could fix that, but there's currently absolutely no evidence for it.
>
> —
> Reply to this email directly, [view it on GitHub](#465 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AT53RWOU5LL73FBZDMQEX7DWHQ5ALANCNFSM6AAAAAARXXLJTU).
> You are receiving this because you authored the thread.Message ID: ***@***.***>
|
You can see in #469 we or more precisely Georgi possibly fixed it 4 days ago. I Just build this version for you. If you have the license key version, it would be awesome if you could test if you can reproduce the problem with this patched version: presentation-apkstore-debug.zip After downloading, please rename |
Looks like you guys have been busy trying to get this resolved for which I'm grateful. Unfortunately it is still not working on my end. I downloaded the Cryptomator above (i.e. presentation-apkstore-debug) and installed it on a new Pixel 7, but when I go to open the folder I still get a "No network connection" error. :( |
Are you completely sure that you used the test version of Cryptomator with the yellow background in the icon to verify it works? If so, can you please enable debug mode, reproduce the problem and send us the log file? https://community.cryptomator.org/t/how-do-i-enable-debug-mode-on-android/66 |
I am using the Cryptomator with the yellow background. Log file sent. |
I'm sorry, can you please retest with this version? You can just install it without removing the old one. SHA256 is |
Fantastic, IT WORKS!!! Thanks to all the time and effort of you and Georgi, pCloud with Cryptomator is now usable for me once again! Any ETA when this will be integrated into the Cryptomator repository on F-Droid? |
Please agree to the following
Summary
Unable to open a vault folder on Android
System Setup
Cloud Type
pCloud
Steps to Reproduce
Expected Behavior
Documents folder will open.
Actual Behavior
A folder named Documents in my Cryptomator vault residing online in a pCloud drive refuses to open due to supposedly not having a network connection. However, the phone has network access as confirmed by being able to surf the Net and open any other folders within the vault (e.g. Downloads, Pictures, etc.). I have tried restarting the phone and tried on both an LTE and WiFi connections without success, although I can access the Documents folder online (it is NOT an offline folder) from my laptop without issue.
Reproducibility
Always
Relevant Log Output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: