question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Starting training run...(node:27904) UnhandledPromiseRejectionWarning: StatusCodeError: 500

See original GitHub issue

When I execute the train command I’m having the following issue,

Is this ok? (yes) yes

⠧ Starting training run...(node:27904) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - {"trace":"cd36dd6c4ebd4b1c02d3a00d1499eec6","errors":[{"code":"training_submit_error","message":"UNAVAILABLE: io exception","more_info":"http://watson-ml-api.mybluemix.net/"}]}
    at new StatusCodeError (C:\Users\...\AppData\Roaming\nvm\v10.15.3\node_modules\cloud-annotations\node_modules\request-promise-core\lib\errors.js:32:15)

    at Request.RP$callback [as _callback] (C:\Users\...\AppData\Roaming\nvm\v10.15.3\node_modules\cloud-annotations\node_modules\request-promise-core\lib\plumbing.js:46:31)
    at Request.self.callback (C:\Users\...\AppData\Roaming\nvm\v10.15.3\node_modules\cloud-annotations\node_modules\request\request.js:185:22)

    at Request.EventEmitter.emit (domain.js:441:20)
    at Request.<anonymous> (C:\Users\...\AppData\Roaming\nvm\v10.15.3\node_modules\cloud-annotations\node_modules\request\request.js:1161:10)

    at Request.EventEmitter.emit (domain.js:441:20)
    at IncomingMessage.<anonymous> (C:\Users\...\AppData\Roaming\nvm\v10.15.3\node_modules\cloud-annotations\node_modules\request\request.js:1083:12)
(node:27904) 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: 1)
(node:27904) [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.

also on my config.yaml I have only the following data

buckets:
  training: nikolin-realtime-detect
name: nikolin-realtime-detect

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NikolinNgjelacommented, May 21, 2019

@bourdakos1 , Yes thank you Nick, I was able to complete successfully the Training and download the model after I’ve changed the WML region in London.

Also able to complete the tutorial and get the output 😃) Thank you for sharing! 👍

1reaction
bourdakos1commented, May 20, 2019

Okay, the portion of WML that cacli uses is called DLaaS (Deep Learning as a Service) and it’s only available in the London and Dallas regions. I’ll update the documentation with this information

Read more comments on GitHub >

github_iconTop Results From Across the Web

UnhandledPromiseRejectionWar...
Worked fine the first time and failed afterwards due to unhandled promise. ➜ demux-js git:(develop) yarn example eos-transfers yarn run v1.
Read more >
Getting a UnhandledPromiseRejectionWarning when testing ...
isNotOk(error...) the test runs fine without any warning in the console. It stills 'fails' in the sense that it executes the catch. But...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found