KWServer authentication issue
Opened this issue · 0 comments
dgenin commented
Running kw_samples1.py
with debug=True
reports an HTTP Error 400.
user@kw-server:~/PyKW$ ./kw_sample1.py
http://127.0.0.1:8080/review/api
json_hook = <bound method KWServer._project_from_json of <klocwork.KWServer object at 0x7fa775c9d2e0>>
{
"action": "projects",
"ltoken": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"user": "user"
}
HTTP Error 400:
Traceback (most recent call last):
File "./kw_sample1.py", line 51, in <module>
main(s)
File "./kw_sample1.py", line 30, in main
results = loop.run_until_complete(coro)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/lib/python3.8/asyncio/tasks.py", line 413, in wait
raise ValueError('Set of coroutines/Futures is empty.')
ValueError: Set of coroutines/Futures is empty.
Probably the API changed [sigh].