Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i fix it? #2187

Open
Phrixus2023 opened this issue Dec 8, 2023 · 6 comments
Open

how can i fix it? #2187

Phrixus2023 opened this issue Dec 8, 2023 · 6 comments
Labels
kind/bug A bug in existing code (including security flaws) kind/discussion Topical discussion; usually not changes to codebase need/analysis Needs further analysis before proceeding need/author-input Needs input from the original author

Comments

@Phrixus2023
Copy link

微信截图_20231209032454

@Phrixus2023 Phrixus2023 added the need/triage Needs initial labeling and prioritization label Dec 8, 2023
Copy link

welcome bot commented Dec 8, 2023

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@whizzzkid
Copy link
Contributor

Oh, @Phrixus2023 this is weird looks like an issue with webui, can you please describe what you were trying to do when this happened? Can you please attach additional logs that can be found here?

Also, did you try reinstalling ipfs-desktop? did that help?

@whizzzkid whizzzkid added kind/discussion Topical discussion; usually not changes to codebase need/author-input Needs input from the original author and removed need/triage Needs initial labeling and prioritization labels Dec 14, 2023
@Phrixus2023
Copy link
Author

Oh, @Phrixus2023 this is weird looks like an issue with webui, can you please describe what you were trying to do when this happened? Can you please attach additional logs that can be found here?

Also, did you try reinstalling ipfs-desktop? did that help?

First of all I am using IPFS in China, I want to try to use IPFS for resource exchange in China, the frequency of this kind of problem is very high, usually after the program is run and open the node page to stay for a few minutes will inevitably show up this error page, after restarting the node page can be displayed normally, but after a few minutes it will show up the error page again.

@Phrixus2023
Copy link
Author

Sorry, I just realized I posted in the wrong section, I'm all about ipfs-desktop with these questions!

@Phrixus2023
Copy link
Author

error logs:
2023-12-07T20:57:27.841Z error: [i18n] language update failed
2023-12-07T20:59:36.989Z error: [i18n] init error
2023-12-07T20:59:36.989Z error: Error: ENOENT, assets\locales\zh.json not found in C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar
2023-12-08T20:59:58.277Z error: Error: Error: net::ERR_CONNECTION_TIMED_OUT
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-08T20:59:58.279Z error: [updater] Error: net::ERR_CONNECTION_TIMED_OUT
2023-12-09T17:24:10.891Z error: [i18n] init error
2023-12-09T17:24:10.891Z error: Error: ENOENT, assets\locales\zh.json not found in C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar
2023-12-09T17:24:32.178Z error: Error: Error: net::ERR_CONNECTION_TIMED_OUT
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-09T17:24:32.179Z error: [updater] Error: net::ERR_CONNECTION_TIMED_OUT
2023-12-10T17:24:32.252Z error: Error: Error: net::ERR_CONNECTION_TIMED_OUT
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-10T17:24:32.252Z error: [updater] Error: net::ERR_CONNECTION_TIMED_OUT
2023-12-11T08:27:24.355Z error: [i18n] init error
2023-12-11T08:27:24.355Z error: Error: ENOENT, assets\locales\zh.json not found in C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar
2023-12-11T08:27:45.545Z error: Error: Error: net::ERR_CONNECTION_TIMED_OUT
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-11T08:27:45.546Z error: [updater] Error: net::ERR_CONNECTION_TIMED_OUT
2023-12-12T07:27:25.170Z error: [i18n] init error
2023-12-12T07:27:25.171Z error: Error: ENOENT, assets\locales\zh.json not found in C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar
2023-12-12T07:27:35.314Z error: Error: Error: net::ERR_CONNECTION_RESET
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-12T07:27:35.314Z error: [updater] Error: net::ERR_CONNECTION_RESET
2023-12-13T11:55:56.084Z error: [i18n] init error
2023-12-13T11:55:56.084Z error: Error: ENOENT, assets\locales\zh.json not found in C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar
2023-12-13T11:56:17.633Z error: Error: Error: net::ERR_CONNECTION_TIMED_OUT
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-13T11:56:17.633Z error: [updater] Error: net::ERR_CONNECTION_TIMED_OUT
2023-12-14T23:56:16.985Z error: Error: Error: net::ERR_CONNECTION_TIMED_OUT
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7169)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-14T23:56:16.986Z error: [updater] Error: net::ERR_CONNECTION_TIMED_OUT
2023-12-15T00:22:11.343Z error: [ipfsd] start daemon FetchError: request to http://0.0.0.0:5001/api/v0/id failed, reason: net::ERR_ADDRESS_INVALID
at ClientRequest. (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\electron-fetch\lib\index.js:1391:14)
at ClientRequest.emit (node:events:526:28)
at ClientRequest._die (node:electron/js2c/browser_init:101:8492)
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:101:7229)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-12-15T00:38:39.361Z error: [web ui] render-process-gone: oom, code: -536870904
2023-12-15T06:48:31.532Z error: [ipfsd] start daemon HTTPError: Bad Gateway
at Object.errorHandler [as handleError] (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\ipfs-http-client\cjs\src\lib\core.js:84:15)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Client.fetch (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\ipfs-utils\src\http.js:161:9)
at async Object.id (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\ipfs-http-client\cjs\src\id.js:12:17)
at async Daemon.start (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\ipfsd-ctl\src\ipfsd-daemon.js:268:16)
at async startIpfsWithLogs (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:172:5)
at async startDaemon (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:216:27)
at async startIpfs (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:49:17)
at async restartIpfs (C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:103:5)
at async C:\Users\hatm1\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:36:5

@whizzzkid
Copy link
Contributor

Thanks for this @Phrixus2023 looks like the language translation is trying to load assets\locales\zh.json whereas that should not happen, because: https://github.com/ipfs/ipfs-desktop/blob/bf7ffed5900e7f3f5848bf55ed1d040facda8c7e/src/i18n.js#L22L28 should override this. zh.json does not exist: https://github.com/ipfs/ipfs-desktop/tree/bf7ffed5900e7f3f5848bf55ed1d040facda8c7e/assets/locales

This looks like a bug but I could not reproduce it, maybe @SgtPooki can investigate this.

@whizzzkid whizzzkid added kind/bug A bug in existing code (including security flaws) need/analysis Needs further analysis before proceeding labels Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) kind/discussion Topical discussion; usually not changes to codebase need/analysis Needs further analysis before proceeding need/author-input Needs input from the original author
Projects
No open projects
Status: Needs Grooming
Development

No branches or pull requests

2 participants