SolidOS / SolidOS/solid-panes

Sharing pane: Failed to construct 'URL'

Open
#67 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
106
Forks
52
Avg merge
13h 35m
Merged PRs (30d)
10

Description

I am getting the following error message (in html page) when opening the Sharing pane of a newly created folder:

Error reading ACL. status Can't get headers to find ACL for https://: Failed to load https:// Fetcher: fetch failed: TypeError: Failed to construct 'URL': Invalid URL status: 999: ( No ACL pointer https:// Can't get headers to find ACL for https://: Failed to load https:// Fetcher: fetch failed: TypeError: Failed to construct 'URL': Invalid URL status: 999)undefined

The Browser console says:

Failed to load resource: the server responded with a status of 404 ()
fetcher.js:1018 @@ Recording GET failure for <https://angelo.veltens.org/public/test/.acl>: 404
fetcher.js:952 Failed to load  <https://angelo.veltens.org/public/test/.acl> Fetcher: <https://angelo.veltens.org/public/test/.acl> 

This should be fine so far, since I do not have a dedicated .acl file in that folder. But then:

fetcher.js:871 Fetcher: <https://> Non-HTTP fetch error: TypeError: Failed to construct 'URL': Invalid URL
fetcher.js:1018 @@ Recording GET failure for <https://>: 999
fetcher.js:952 Failed to load  <https://> Fetcher: fetch failed: TypeError: Failed to construct 'URL': Invalid URL

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in fetcher.js around lines 871, 952, and 1018, then reproduce the Sharing pane request sequence for a newly created folder without a .acl file. Trace how the 404 response is handled before the invalid URL is fetched; done means the pane no longer attempts a request with an empty or invalid URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.