bug: webui not loading in firefox with cookies and localStorage disabled
Chưa có ai nhận issue này.
- #2192 của @whizzzkid — đã đóng, không merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Tái hiện lỗi trong chế độ riêng tư của Firefox khi cookies và localStorage bị vô hiệu hóa, sau đó kiểm tra các đường dẫn lưu trữ được hiển thị trong i18nextLocalStorageBackend.js và money-clip.m.js. Xác định cách cả hai lỗi lưu trữ ảnh hưởng đến quá trình khởi động và xác minh rằng Web UI tải thành công với các cài đặt được báo cáo mà không có các DOMExceptions đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
I try to open webui and browser show me nothing.
My browser Firefox in private mod. All cookies disabled in settings. It is block access to local storage.
In console i see errors:
First error:
17:08:30.946 Uncaught DOMException: The operation is insecure.
value i18nextLocalStorageBackend.js:50
e i18nextLocalStorageBackend.js:60
value i18nextChainedBackend.js:19
value i18nextChainedBackend.js:49
n i18next.js:1925
value i18next.js:2361
61455 i18n.js:19
Webpack 4
__webpack_require__
<anonymous>
<anonymous>
<anonymous>
main.20056d59.js:2
value i18nextLocalStorageBackend.js:50
e i18nextLocalStorageBackend.js:60
value i18nextChainedBackend.js:19
forEach self-hosted:203
value i18nextChainedBackend.js:49
n i18next.js:1925
value i18next.js:2361
61455 i18n.js:19
Webpack 4
__webpack_require__
<анонимный>
<анонимный>
<анонимный>
Error happen here in code (i18nextLocalStorageBackend.js:50):
function getDefaults() {
return {
prefix: 'i18next_res_',
expirationTime: 7 * 24 * 60 * 60 * 1000,
defaultVersion: undefined,
versions: {},
store: typeof window !== 'undefined' ? window.localStorage : null /* error on this line */
};
}
Second error:
17:08:30.988 Uncaught (in promise) DOMException: The operation is insecure.
n money-clip.m.js:32
2 main.20056d59.js:2
Error happen here in code (money-clip.m.js:32):
function createStore(dbName, storeName) {
const dbp = idbReady().then(() => {
const request = indexedDB.open(dbName); /* error on this line */
request.onupgradeneeded = () => request.result.createObjectStore(storeName);
return promisifyRequest(request);
});
return (txMode, callback) => dbp.then((db) => callback(db.transaction(storeName, txMode).objectStore(storeName)));
}
To Reproduce
Steps to reproduce the behavior:
- Disable all cookies in Firefox
- Open webui in private mod
Expected behavior
Web UI is shown
Desktop (please complete the following information):
- OS: Windows 7
- Browser Firefox
- Version 115.5.0esr (64-разрядный)
- Ngôn ngữ chính
- JavaScript
- Star
- 1.6k
- Fork
- 539
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ipfs/ipfs-webui
-
need/triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ipfs/ipfs-webui#2454 ·
-
Stories anonymous objectĐang mởneed/triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
ipfs/ipfs-webui#2391 · 3 bình luận ·
-
effort/days exp/intermediate help wanted P2 status/blocked
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ipfs/ipfs-webui#2380 · 6 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
ipfs/ipfs-webui#2359 · 3 bình luận · 1 reaction ·
-
feat: create shortcut component that can be used on any pageCó thể đã có người làm @george-hub331 đã nhận 588 ngày trước. Đang mởP3
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ipfs/ipfs-webui#2350 · 2 bình luận ·
Tất cả issue của ipfs/ipfs-webui
Issue tương tự
-
chore cloudflare-workers consistency d1 difficulty: easy documentation dx enhancement good first issue help wanted hygiene javascript maintenance priority: P3 seo
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Link Checker ReportĐang mởautomated issue report
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
MattiaPARRINELLO/backstage#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
untemps/svelte-palette#298 ·