Skip to content

UnhandledPromiseRejectionWarning: Error: Logout timed out #172

@MarcGodard

Description

@MarcGodard

Not sure when this started for me, I think it was after an npm upgrade.

The error doesn't seem to be preventing anything, but it is filling up logs.

admin@marcgodard:~/web/txbasewebsite.com/tx-base-website$ NODE_ENV=production PORT=8880 npm run start

> [email protected] start /home/admin/web/txbasewebsite.com/tx-base-website
> done-serve --port $PORT

Warning: done-serve is intended for development use only.
done-serve starting on http://localhost:8880
(node:28500) UnhandledPromiseRejectionWarning: Error: Logout timed out
    at Timeout.<anonymous> (file:/home/admin/web/txbasewebsite.com/tx-base-website/dist/bundles/tx/index.js:1:608293)
    at Timeout.<anonymous> (/home/admin/web/txbasewebsite.com/tx-base-website/node_modules/can-zone/lib/tasks.js:86:14)
    at Task.run (/home/admin/web/txbasewebsite.com/tx-base-website/node_modules/can-zone/lib/zone.js:38:17)
    at Zone.runTask (/home/admin/web/txbasewebsite.com/tx-base-website/node_modules/can-zone/lib/zone.js:180:14)
    at Timeout._onTimeout (/home/admin/web/txbasewebsite.com/tx-base-website/node_modules/can-zone/lib/zone.js:281:15)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
(node:28500) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). (rejection id: 4)
(node:28500) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

node version: 8.11.2
can-zone: ^0.6.20

Any idea what might be causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions