TestOps localhost agent not started properly


#1

hello,
getting exception “Error: no auth mechanism defined” when tried to start agent

C:\Users\fitim\KatalonStudio\KatalonTestAgent>cli-win-x64 start-agent
[2019-11-02T13:42:09.527] [INFO] katalon - Agent started @ Sat Nov 02 2019 13:42:09 GMT+0200 (GMT+02:00)
[2019-11-02T13:42:09.588] [INFO] katalon - Loading agent configs @ C:\Users\fitim\KatalonStudio\KatalonTestAgent\agentconfig
[2019-11-02T13:43:09.626] [INFO] katalon - Requesting new access token…
[2019-11-02T13:43:11.035] [INFO] katalon - post https://analytics.katalon.com/oauth/token 400.
[2019-11-02T13:43:11.051] [ERROR] katalon - Error: no auth mechanism defined
at Auth.onRequest (C:\snapshot\katalon-cli_master\node_modules\request\lib\auth.js:132:32)
at Request.auth (C:\snapshot\katalon-cli_master\node_modules\request\request.js:1347:14)
at Request.init (C:\snapshot\katalon-cli_master\node_modules\request\request.js:378:10)
at new Request (C:\snapshot\katalon-cli_master\node_modules\request\request.js:127:8)
at request (C:\snapshot\katalon-cli_master\node_modules\request\index.js:53:10)
at module.exports.request.Promise (C:\snapshot\katalon-cli_master\src\http.js:0:0)
at new Promise ()
at Object.request (C:\snapshot\katalon-cli_master\src\http.js:0:0)
at Object.requestJob (C:\snapshot\katalon-cli_master\src\katalon-request.js:0:0)
at Timeout.agent.start.setInterval [as _onTimeout] (C:\snapshot\katalon-cli_master\src\agent.js:0:0)
[2019-11-02T13:43:11.057] [ERROR] katalon - Error: no auth mechanism defined
at Auth.onRequest (C:\snapshot\katalon-cli_master\node_modules\request\lib\auth.js:132:32)
at Request.auth (C:\snapshot\katalon-cli_master\node_modules\request\request.js:1347:14)
at Request.init (C:\snapshot\katalon-cli_master\node_modules\request\request.js:378:10)
at new Request (C:\snapshot\katalon-cli_master\node_modules\request\request.js:127:8)
at request (C:\snapshot\katalon-cli_master\node_modules\request\index.js:53:10)
at module.exports.request.Promise (C:\snapshot\katalon-cli_master\src\http.js:0:0)
at new Promise ()
at Object.request (C:\snapshot\katalon-cli_master\src\http.js:0:0)
at Object.requestJob (C:\snapshot\katalon-cli_master\src\katalon-request.js:0:0)
at Timeout.agent.start.setInterval [as _onTimeout] (C:\snapshot\katalon-cli_master\src\agent.js:0:0)


#2

Hi @Timo_Kuisma

Can you send us the full log when this happens ?


#3

Hi,

and I have started my cmd as admin

app.log (53.3 KB)
errors.log (48.1 KB)


#4

hello,

seems to be not resolved
getting
Error: no auth mechanism defined


#5

Hi @Timo_Kuisma1

Can you re-check your API key ?


#6

hello,

works now,

thanks