{"record":{"id":"ab4193db18d71668","repo":"qishibo/AnotherRedisDesktopManager","slug":"this-t-message-update-error-error","errorCode":null,"errorMessage":"${this.$t('message.update_error')}: ${error}","messagePattern":"\\$\\{this\\.\\$t\\('message\\.update_error'\\)\\}: \\$\\{error\\}","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"src/components/UpdateCheck.vue","lineNumber":94,"sourceCode":"      ipcRenderer.on('update-error', (event, arg) => {\n        this.resetDownloadProcess();\n\n        let message = '';\n        const error = (arg.code ? arg.code : arg.message).toLowerCase();\n\n        // auto update check at app init\n        if (!this.manual || !error) {\n          return;\n        }\n\n        // mac not support auto update\n        if (error.includes('zip') && error.includes('file')) {\n          message = this.$t('message.mac_not_support_auto_update');\n        }\n\n        // err_internet_disconnected err_name_not_resolved err_connection_refused\n        else {\n          message = `${this.$t('message.update_error')}: ${error}`;\n        }\n\n        this.$notify.error({\n          message,\n          duration: 0,\n          dangerouslyUseHTMLString: true,\n        });\n      });\n\n      ipcRenderer.on('download-progress', (event, arg) => {\n        if (!this.downloadProcessShow) {\n          const h = this.$createElement;\n\n          this.$notify({\n            message: h('el-progress', {\n              props: {\n                percentage: 0,\n              },","sourceCodeStart":76,"sourceCodeEnd":112,"githubUrl":"https://github.com/qishibo/AnotherRedisDesktopManager/blob/c149855106628babcdfb7675a8e7ba9434d2492a/src/components/UpdateCheck.vue#L76-L112","documentation":"A generic electron-updater failure toast: the update check could not reach the update provider. The matched strings are Chromium network error codes — err_internet_disconnected, err_name_not_resolved (DNS), err_connection_refused — surfaced by the autoUpdater when GitHub Releases (or the configured generic provider) is unreachable.","triggerScenarios":"Manual update check while offline; DNS failure resolving the update host; corporate firewall/proxy blocking api.github.com or the download host; self-hosted update feed server down.","commonSituations":"Air-gapped or proxied corporate networks, VPN routes blocking GitHub, transient ISP DNS outages, release artifacts not yet propagated on CDN.","solutions":["Restore connectivity and retry the update check","Allow the update hosts (api.github.com / github.com / your provider) through firewall and proxy","Configure electron-updater proxy settings if the network requires one","If you self-host updates, verify the feed URL serves latest.yml"],"exampleFix":null,"handlingStrategy":"retry","validationCode":"// cheap pre-check before invoking the updater\nif (!navigator.onLine) {\n  this.$message.info(this.$t('message.offline_retry_later'));\n  return;\n}","typeGuard":null,"tryCatchPattern":"try {\n  await autoUpdater.checkForUpdates();\n} catch (e) {\n  const transient = /err_internet_disconnected|err_name_not_resolved|err_connection_refused|ETIMEDOUT/i.test(String(e));\n  if (transient) setTimeout(() => autoUpdater.checkForUpdates().catch(() => {}), 30000);\n}","preventionTips":["Check navigator.onLine before manual update checks","Allow-list update hosts in firewalls and proxies","Ship a proxy configuration for enterprise users","Rate-limit the check button to avoid toast spam"],"tags":["electron-updater","network","dns","offline","proxy"],"backgroundTag":"electron-updater-network-error","analyzedSha":"c149855106628babcdfb7675a8e7ba9434d2492a","analyzedAt":"2026-08-22T09:06:28.613Z","schemaVersion":2},"datasetVersion":"2026-08-22T09:17:25.309Z"}