“502: Bad Gateway” from UnhandledPromiseRejection

This page summarizes the projects mentioned and recommended in the original post on /r/nodered

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • node-telegram-bot-api

    Telegram Bot API for NodeJS

  • Flow-based programming for the Internet of Things ----------------------------------------------------------- Add-on version: 12.0.2 You are running the latest version of this add-on. System: Debian GNU/Linux 11 (bullseye) (amd64 / qemux86-64) Home Assistant Core: 2022.7.0 Home Assistant Supervisor: 2022.07.0 ----------------------------------------------------------- Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat. ----------------------------------------------------------- cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/01-log-level.sh cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0 cont-init: info: running /etc/cont-init.d/customizations.sh cont-init: info: /etc/cont-init.d/customizations.sh exited 0 cont-init: info: running /etc/cont-init.d/nginx.sh cont-init: info: /etc/cont-init.d/nginx.sh exited 0 cont-init: info: running /etc/cont-init.d/node-red.sh patching file nodes/ui_base.html Hunk #1 succeeded at 1164 (offset 633 lines). up to date, audited 678 packages in 18s 36 packages are looking for funding run `npm fund` for details 47 vulnerabilities (2 low, 16 moderate, 21 high, 8 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. cont-init: info: /etc/cont-init.d/node-red.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun nginx (no readiness notification) services-up: info: copying legacy longrun nodered (no readiness notification) s6-rc: info: service legacy-services successfully started [15:47:34] INFO: Setting safe mode startup [15:47:34] INFO: Starting Node-RED... > start > node $NODE_OPTIONS node_modules/node-red/red.js "--safe" "--settings" "/etc/node-red/config.js" 7 Jul 15:47:35 - [info] Welcome to Node-RED =================== 7 Jul 15:47:35 - [info] Node-RED version: v2.2.2 7 Jul 15:47:35 - [info] Node.js version: v16.15.0 7 Jul 15:47:35 - [info] Linux 5.14.0-0.bpo.2-amd64 x64 LE 7 Jul 15:47:36 - [info] Loading palette nodes Thu, 07 Jul 2022 14:47:41 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated. In the future, you will have to enable it yourself. See https://github.com/yagop/node-telegram-bot-api/issues/319. at node:internal/modules/cjs/loader:1105:14 7 Jul 15:47:41 - [info] Dashboard version 3.0.4 started at /endpoint/ui 7 Jul 15:47:42 - [warn] ------------------------------------------------------ 7 Jul 15:47:42 - [warn] [node-red-contrib-deduplicate-adv/deduplicate] 'deduplicate' already registered by module node-red-contrib-deduplicate 7 Jul 15:47:42 - [warn] ------------------------------------------------------ 7 Jul 15:47:42 - [info] Settings file : /etc/node-red/config.js 7 Jul 15:47:42 - [info] Context store : 'default' [module=memory] 7 Jul 15:47:42 - [info] User directory : /config/node-red/ 7 Jul 15:47:42 - [warn] Projects disabled : editorTheme.projects.enabled=false 7 Jul 15:47:42 - [info] Flows file : /config/node-red/flows.json 7 Jul 15:47:42 - [info] Server now running at http://127.0.0.1:46836/ 7 Jul 15:47:42 - [info] ***************************************************************** 7 Jul 15:47:42 - [info] Flows stopped in safe mode. Deploy to start. 7 Jul 15:47:42 - [info] ***************************************************************** [15:47:42] INFO: Starting NGinx... 7 Jul 16:39:07 - [info] Stopping flows 7 Jul 16:39:07 - [info] Stopped flows 7 Jul 16:39:07 - [info] Starting flows 7 Jul 16:39:07 - [info] Started flows 7 Jul 16:39:08 - [info] [mqtt-broker:HA-MQTT] Connected to broker: mqtt://192.168.1.109:1883 7 Jul 16:39:08 - [info] [mqtt-broker:omv] Connected to broker: mqtt://192.168.1.109:1883 7 Jul 16:39:08 - [red] Uncaught Exception: 7 Jul 16:39:08 - [error] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "{"error":403,"msg":"Sign:oauthClient enable invalid"}". [16:39:08] WARNING: Node-RED crashed, halting add-on s6-rc: info: service legacy-services: stopping [16:39:08] INFO: Node-RED stoped, restarting... [16:39:08] INFO: Node-RED stoped, restarting... s6-svwait: fatal: supervisor died s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts