denoland / denoland/deploy_feedback
[Bug]: Error: File system access error
- Dominant language
- No language data
- Stars
- 79
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
Website on Deno Deploy will occasionally fail to read files. The files are in a `/static/...` path, they are read through `Deno.readFile` API which the docs say Deno Deploy support: https://docs.deno.com/deploy/api/runtime-fs/#deno.readfile
Whenever I try to load the files, they load fine. But the error logs says that this is not the case all the time.
The error stack look like this when using `Deno.readFile`:
```
Error: File system access error (ddf77bfe-35b8-4e1a-9448-97a8b13ea488): open '/src/static/...image.png'\n at async Object.open (ext:deno_fs/30_fs.js:633:15)\n at async https://deno.land/x/fresh@1.7.3/src/server/context.ts:636:22\n at async handle (file:///src/routes/_middleware.ts...
```
Sometimes it is slightly different if using the `Deno.readTextFile` method:
```
Error: File system access error (98375883-8959-41ce-aa79-c32bc7665cb1): readfile '....someFile.md'\n at async Object.readTextFile (ext:deno_fs/30_fs.js:878:18)\n
```
### Steps to reproduce
It cannot be reproduced, it seems to be an occasional error. I can only assume that this is an error with Deno Deploy.
### Expected behavior
There should not be readfile errors
### Environment
- Deno Deploy
### Possible solution
_No response_
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.