KlemenDanfoss commented on issue #6477:
URL: 
https://github.com/apache/incubator-devlake/issues/6477#issuecomment-1823912872

   Hi @klesh and @d4x1 
   
   `2023-11-23T07:22:41.462212710Z time="2023-11-23 07:22:41" level=info 
msg="DEBUG: Starting new HTTPS connection (1): dev.azure.com:443"
   2023-11-23T07:22:41.499991849Z time="2023-11-23 07:22:41" level=info 
msg="DEBUG: https://dev.azure.com:443 \"GET 
/6k0HcPP7LskzUitU6GJx+g==/_apis/projects?api-version=7.0 HTTP/1.1\" 404 0"
   2023-11-23T07:22:41.501282867Z time="2023-11-23 07:22:41" level=error 
msg="Traceback (most recent call last):"
   2023-11-23T07:22:41.501413669Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/plugins/azuredevops/azuredevops/main.py\", line 156, in 
<module>"
   2023-11-23T07:22:41.501533671Z time="2023-11-23 07:22:41" level=error msg="  
  AzureDevOpsPlugin.start()"
   2023-11-23T07:22:41.501649373Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/plugin.py\", line 253, in start"
   2023-11-23T07:22:41.501744274Z time="2023-11-23 07:22:41" level=error msg="  
  fire.Fire(PluginCommands(plugin))"
   2023-11-23T07:22:41.501862076Z time="2023-11-23 07:22:41" level=error msg="  
File 
\"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\",
 line 141, in Fire"
   2023-11-23T07:22:41.501958977Z time="2023-11-23 07:22:41" level=error msg="  
  component_trace = _Fire(component, args, parsed_flag_args, context, name)"
   2023-11-23T07:22:41.502057478Z time="2023-11-23 07:22:41" level=error msg="  
File 
\"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\",
 line 466, in _Fire"
   2023-11-23T07:22:41.502157080Z time="2023-11-23 07:22:41" level=error msg="  
  component, remaining_args = _CallAndUpdateTrace("
   2023-11-23T07:22:41.502266081Z time="2023-11-23 07:22:41" level=error msg="  
File 
\"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\",
 line 681, in _CallAndUpdateTrace"
   2023-11-23T07:22:41.502362283Z time="2023-11-23 07:22:41" level=error msg="  
  component = fn(*varargs, **kwargs)"
   2023-11-23T07:22:41.502465784Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/ipc.py\", line 58, in wrapper"
   2023-11-23T07:22:41.502581886Z time="2023-11-23 07:22:41" level=error msg="  
  for each in ret:"
   2023-11-23T07:22:41.502695687Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/ipc.py\", line 109, in remote_scopes"
   2023-11-23T07:22:41.502790689Z time="2023-11-23 07:22:41" level=error msg="  
  yield from self._plugin.make_remote_scopes(c, group_id)"
   2023-11-23T07:22:41.502894790Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/plugin.py\", line 128, in 
make_remote_scopes"
   2023-11-23T07:22:41.502990792Z time="2023-11-23 07:22:41" level=error msg="  
  yield from self.remote_scope_groups(connection)"
   2023-11-23T07:22:41.503097393Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/plugins/azuredevops/azuredevops/main.py\", line 72, in 
remote_scope_groups"
   2023-11-23T07:22:41.503192695Z time="2023-11-23 07:22:41" level=error msg="  
  for proj in api.projects(org):"
   2023-11-23T07:22:41.503299996Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/plugins/azuredevops/azuredevops/api.py\", line 63, in 
projects"
   2023-11-23T07:22:41.503415798Z time="2023-11-23 07:22:41" level=error msg="  
  return self.get(org, '_apis/projects')"
   2023-11-23T07:22:41.503521099Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/api.py\", line 145, in get"
   2023-11-23T07:22:41.503634001Z time="2023-11-23 07:22:41" level=error msg="  
  return self.send(req)"
   2023-11-23T07:22:41.503750303Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/api.py\", line 127, in send"
   2023-11-23T07:22:41.503843904Z time="2023-11-23 07:22:41" level=error msg="  
  response = self._apply_hooks(response, self.response_hooks())"
   2023-11-23T07:22:41.503944505Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/api.py\", line 133, in _apply_hooks"
   2023-11-23T07:22:41.504034307Z time="2023-11-23 07:22:41" level=error msg="  
  result = hook.apply(target, self)"
   2023-11-23T07:22:41.504143008Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/api.py\", line 191, in apply"
   2023-11-23T07:22:41.504230309Z time="2023-11-23 07:22:41" level=error msg="  
  return self.fn(api, response)"
   2023-11-23T07:22:41.504558314Z time="2023-11-23 07:22:41" level=error msg="  
File \"/app/python/pydevlake/pydevlake/api.py\", line 330, in handle_error"
   2023-11-23T07:22:41.504714716Z time="2023-11-23 07:22:41" level=error msg="  
  raise APIException(response)"
   2023-11-23T07:22:41.504852518Z time="2023-11-23 07:22:41" level=error 
msg="pydevlake.api.APIException: APIException: 
https://dev.azure.com/6k0HcPP7LskzUitU6GJx+g==/_apis/projects?api-version=7.0: 
404 body: no body"
   2023-11-23T07:22:41.519665630Z [GIN] 2023/11/23 - 07:22:41 | 200 |         
1.1µs |      10.0.0.120 | GET      "/ping"
   2023-11-23T07:22:41.597865246Z time="2023-11-23 07:22:41" level=error 
msg="HTTP 500 error\n\tcaused by: remote error response:\n\t  | Traceback (most 
recent call last):\n\t  |   File 
\"/app/python/plugins/azuredevops/azuredevops/main.py\", line 156, in 
<module>\n\t  |     AzureDevOpsPlugin.start()\n\t  |   File 
\"/app/python/pydevlake/pydevlake/plugin.py\", line 253, in start\n\t  |     
fire.Fire(PluginCommands(plugin))\n\t  |   File 
\"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\",
 line 141, in Fire\n\t  |     component_trace = _Fire(component, args, 
parsed_flag_args, context, name)\n\t  |   File 
\"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\",
 line 466, in _Fire\n\t  |     component, remaining_args = 
_CallAndUpdateTrace(\n\t  |   File 
\"/app/.cache/pypoetry/virtualenvs/azuredevops-ANnMAkq9-py3.9/lib/python3.9/site-packages/fire/core.py\",
 line 681, in _CallAndUpdateTr
 ace\n\t  |     component = fn(*varargs, **kwargs)\n\t  |   File 
\"/app/python/pydevlake/pydevlake/ipc.py\", line 58, in wrapper\n\t  |     for 
each in ret:\n\t  |   File \"/app/python/pydevlake/pydevlake/ipc.py\", line 
109, in remote_scopes\n\t  |     yield from self._plugin.make_remote_scopes(c, 
group_id)\n\t  |   File \"/app/python/pydevlake/pydevlake/plugin.py\", line 
128, in make_remote_scopes\n\t  |     yield from 
self.remote_scope_groups(connection)\n\t  |   File 
\"/app/python/plugins/azuredevops/azuredevops/main.py\", line 72, in 
remote_scope_groups\n\t  |     for proj in api.projects(org):\n\t  |   File 
\"/app/python/plugins/azuredevops/azuredevops/api.py\", line 63, in 
projects\n\t  |     return self.get(org, '_apis/projects')\n\t  |   File 
\"/app/python/pydevlake/pydevlake/api.py\", line 145, in get\n\t  |     return 
self.send(req)\n\t  |   File \"/app/python/pydevlake/pydevlake/api.py\", line 
127, in send\n\t  |     response = self._apply_hooks(response, self.response_hoo
 ks())\n\t  |   File \"/app/python/pydevlake/pydevlake/api.py\", line 133, in 
_apply_hooks\n\t  |     result = hook.apply(target, self)\n\t  |   File 
\"/app/python/pydevlake/pydevlake/api.py\", line 191, in apply\n\t  |     
return self.fn(api, response)\n\t  |   File 
\"/app/python/pydevlake/pydevlake/api.py\", line 330, in handle_error\n\t  |    
 raise APIException(response)\n\t  | pydevlake.api.APIException: APIException: 
https://dev.azure.com/6k0HcPP7LskzUitU6GJx+g==/_apis/projects?api-version=7.0: 
404 body: no body\n\tWraps: (2) exit status 1\n\tWraps: (3) exit status 
1\n\tError types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) 
*exec.ExitError"
   2023-11-23T07:22:41.597964248Z [GIN] 2023/11/23 - 07:22:41 | 500 |  
2.621811035s |      10.0.172.3 | GET      
"/plugins/azuredevops/connections/1/remote-scopes"
   `
   
   
![image](https://github.com/apache/incubator-devlake/assets/93664973/05ba8961-01f6-4524-a49b-ee913d447944)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to