First, the one with the error:
D 20210223120132.107 PrepareUnlockUseCase started 4fd58a86
...
D 20210223120132.124 GoogleDriveClient -------------- REQUEST --------------
GET https://www.googleapis.com/drive/v3/files?fields=files(id,mimeType,name,size)&q=name%20contains%20'Vaults'%20and%20'root'%20in%20parents%20and%20trashed%20%3D%20false%20or%20sharedWithMe&supportsAllDrives=true
Accept-Encoding: gzip
Authorization: <Not Logged>
User-Agent: Cryptomator-Android/1.5.12 Google-API-Java-Client/1.31.2 Google-HTTP-Java-Client/1.38.1 (gzip)
x-goog-api-client: gl-java/0.0.0 gdcl/1.31.2 linux/4.9.186
---
D 20210223120201.178 GoogleDriveClient -------------- RESPONSE --------------
500 Internal Server Error
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private, max-age=0
Content-Encoding: gzip
Content-Security-Policy: frame-ancestors 'self'
Content-Type: application/json; charset=UTF-8
Date: Tue, 23 Feb 2021 17:02:02 GMT
Expires: Tue, 23 Feb 2021 17:02:02 GMT
Server: GSE
Transfer-Encoding: chunked
Vary: Origin
Vary: X-Origin
X-Android-Received-Millis: 1614099721174
X-Android-Response-Source: NETWORK 500
X-Android-Selected-Protocol: http/1.1
X-Android-Sent-Millis: 1614099692125
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
D 20210223120201.194 PrepareUnlockUseCase failed 4fd58a86
D 20210223120201.196 ExceptionHandler Unexpected error
org.cryptomator.domain.exception.FatalBackendException: com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
GET https://www.googleapis.com/drive/v3/files?fields=files(id,mimeType,name,size)&q=name%20contains%20'Vaults'%20and%20'root'%20in%20parents%20and%20trashed%20%3D%20false%20or%20sharedWithMe&supportsAllDrives=true
{
"code": 500,
"errors": [
{
"domain": "global",
"message": "Internal Error",
"reason": "internalError"
}
],
"message": "Internal Error"
}
Later we get to the same request a valid response:
D 20210223121424.312 PrepareUnlockUseCase started 4fdd750c
D 20210223121424.391 GoogleDriveClient -------------- REQUEST --------------
GET https://www.googleapis.com/drive/v3/files?fields=files(id,mimeType,name,size)&q=name%20contains%20'Vaults'%20and%20'root'%20in%20parents%20and%20trashed%20%3D%20false%20or%20sharedWithMe&supportsAllDrives=true
Accept-Encoding: gzip
Authorization: <Not Logged>
User-Agent: Cryptomator-Android/1.5.12 Google-API-Java-Client/1.31.2 Google-HTTP-Java-Client/1.38.1 (gzip)
x-goog-api-client: gl-java/0.0.0 gdcl/1.31.2 linux/4.9.186
V 20210223121431.740 Progress UNKNOWN_MIMETYPE -1%
D 20210223121447.339 GoogleDriveClient -------------- RESPONSE --------------
200 OK
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Encoding: gzip
Content-Security-Policy: frame-ancestors 'self'
Content-Type: application/json; charset=UTF-8
Date: Tue, 23 Feb 2021 17:14:48 GMT
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Server: GSE
Transfer-Encoding: chunked
Vary: Origin
Vary: X-Origin
X-Android-Received-Millis: 1614100487336
X-Android-Response-Source: NETWORK 200
X-Android-Selected-Protocol: http/1.1
X-Android-Sent-Millis: 1614100464392
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
...
HTTP status code 500 is really bad, that means the server has encountered a situation it doesn’t know how to handle. I’ll re check our requests that they 1:1 fit with the documentation but even when they would be wrong or something else is bad on the client side, the server in this case Google must not get into the situation of not knowing what is going on. Furthermore, I have not seen such 500 status codes at google drive yet, that’s really strange.
Regarding the moved vault:
If I’m not wrong you tried to unlock a vault with the name Vault
in the root of your google drive? Can you please open your browser, open https://drive.google.com/drive/my-drive, open a folder with the name Vault
and verify that there is a file inside with the name masterkey.cryptomator
?