You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a Deta Space app, a public crate is not reachable on its public URL.
π To Reproduce
I'm using this app on deta.space. After creating a crate and adding a link to it, I clicked "Make public" and tried browsing to the link that was generated. This has (so far) returned two different error messages. This is one:
Error Type:
Runtime.ExitError
Error Message:
RequestId: df914776-af77-4b6e-b114-c315a4f838f6 Error: Runtime exited with error: exit status 1
Logs:
time="2023-08-30T20:04:14Z" level=info msg="serving logs listener on sandbox.localdomain:1234" agent=logsApiAgent
TELEMETRY Name: telemetry-extension State: Already subscribed Types: [Function]
Listening on port 8080
I have also seen another error, which seems like a config issue:
Error Type:
&alloc::boxed::Box
Error Message:
error sending request for url (http://127.0.0.1:8080/crate/public/<crate-id>): connection closed before message completed
Logs:
<empty>
π‘ Expected behavior
Some sort of app view that allowed me to see the links in the crate.
π Additional context
No response
The text was updated successfully, but these errors were encountered:
I have just found the app logs functionality in Deta. I am seeing this error on a number of occasions:
[WebCrate] βΊ -> request 2023-08-30 19:50:18 GET /crate/public/<crate-id>
file:///var/task/build/middleware/index.js:43
const file = await fs.promises.readFile(path.join(__dirname, '../../dist/200.html'));
^
ReferenceError: __dirname is not defined
at renderMetaTags (file:///var/task/build/middleware/index.js:43:59)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I have also seen on several occasions that the service seems to be restarting several times, most poignantly here:
[app] at 2023-08-31T07:37:41.629Z
Listening on port 8080
[app] at 2023-08-31T07:37:41.255Z
Listening on port 8080
[app] at 2023-08-31T07:37:41.016Z
Listening on port 8080
These timestamps roughly correspond to the times when I tried refreshing my browser with the public link, but I'm not sure if the timestamps align fully.
π·οΈ WebCrate Version
v1.5.5
βοΈ Environment
Firefox, Chrome
π Describe the bug
Using a Deta Space app, a public crate is not reachable on its public URL.
π To Reproduce
I'm using this app on deta.space. After creating a crate and adding a link to it, I clicked "Make public" and tried browsing to the link that was generated. This has (so far) returned two different error messages. This is one:
I have also seen another error, which seems like a config issue:
π‘ Expected behavior
Some sort of app view that allowed me to see the links in the crate.
π Additional context
No response
The text was updated successfully, but these errors were encountered: