watson-developer-cloud / speech-to-text-nodejs

:microphone: Sample Node.js Application for the IBM Watson Speech to Text Service
https://speech-to-text-demo.ng.bluemix.net
Apache License 2.0
1.11k stars 706 forks source link

speech-to-text (IAM) does not work in US East. #212

Closed takahashi-jiec closed 6 years ago

takahashi-jiec commented 6 years ago

Describe the bug Speech recognition does not work

To Reproduce Steps to reproduce the behavior:

  1. Change .env
  2. Start node.js
  3. Access URL

The procedure is as follows https://github.com/watson-developer-cloud/speech-to-text-nodejs

[root@localhost speech-to-text-nodejs]# npm start

> @ibm-watson/speech-to-text-nodejs@2.2.0 start /root/STT/speech-to-text-nodejs
> node server.js

listening at: 3000
Error: Unauthorized: Access is denied due to invalid credentials.
    at Request._callback (/root/STT/speech-to-text-nodejs/node_modules/watson-developer-cloud/lib/requestwrapper.ts:106:15)
    at Request.self.callback (/root/STT/speech-to-text-nodejs/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/root/STT/speech-to-text-nodejs/node_modules/request/request.js:1157:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/root/STT/speech-to-text-nodejs/node_modules/request/request.js:1079:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)

Expected behavior Authentication does not pass

Screenshots

2018-10-26 14 14 48 2018-10-26 14 15 04

Desktop (please complete the following information):

takahashi-jiec commented 6 years ago

I'm sorry I moved.