kian
02/20/2023, 2:52 PMkian
02/20/2023, 2:54 PMkian
02/20/2023, 2:56 PMkaichao
02/20/2023, 3:01 PMECONNRESET
when fetching cloudflare storage files with presigned URL with VPN (cloudflare is blocked, so VPN is necessary), the issue detail [here in github](https://github.com/perspect3vism/ad4m/issues/240). I have tried switch http client library in NodeJS, but still no lucky, anyone seeing similar issues or have any context?johtso
02/20/2023, 3:09 PMjohtso
02/20/2023, 3:09 PMSid | R2
02/20/2023, 3:11 PMkian
02/20/2023, 3:12 PMkian
02/20/2023, 3:12 PMSid | R2
02/20/2023, 3:12 PMkian
02/20/2023, 3:13 PMkian
02/20/2023, 3:13 PMitsmatteomanf
02/20/2023, 3:13 PMkian
02/20/2023, 3:17 PMkian
02/20/2023, 3:18 PMkian
02/20/2023, 3:18 PMSid | R2
02/20/2023, 3:18 PM<bucket>.<account>.r2.cloudflarestorage.com
. I just tried it and it seems to be workingjohtso
02/20/2023, 3:19 PMhttps
otherwise it would insist I was trying to add webdavSid | R2
02/20/2023, 3:19 PMjohtso
02/20/2023, 3:19 PMkian
02/20/2023, 3:19 PMkian
02/20/2023, 3:19 PMSid | R2
02/20/2023, 3:20 PMkian
02/20/2023, 3:20 PMjs
Contents: [
{
Key: 'folder/empty/',
LastModified: 2023-02-20T15:19:14.000Z,
ETag: '"d41d8cd98f00b204e9800998ecf8427e"',
ChecksumAlgorithm: undefined,
Size: 0,
StorageClass: 'STANDARD',
Owner: [Object]
}
],
Delimiter: '/',
IsTruncated: false,
Marker: '',
MaxKeys: 1000,
Name: 'sdk-example-kian',
Prefix: 'folder/empty/'
R2
js
Contents: [
{
Key: 'folder/empty/',
LastModified: 2023-02-20T15:17:45.119Z,
ETag: '"d41d8cd98f00b204e9800998ecf8427e"',
ChecksumAlgorithm: undefined,
Size: 0,
StorageClass: 'STANDARD',
Owner: [Object]
}
],
Delimiter: '/',
IsTruncated: false,
MaxKeys: 1000,
Name: 'sdk-example',
NextMarker: 'folder/empty/',
Prefix: 'folder/empty/'
kian
02/20/2023, 3:21 PMNextMarker
when IsTruncated
is false
johtso
02/20/2023, 3:21 PMkian
02/20/2023, 3:21 PMkian
02/20/2023, 3:21 PMkian
02/20/2023, 3:22 PMNextMarker
rather than checking IsTruncated
& now loops infinitely waiting for that to be null