microsoft / onefuzz

A self-hosted Fuzzing-As-A-Service platform
MIT License
2.82k stars 199 forks source link

`onefuzz debug logs query` stopped working (authentication not valid for resource) #3287

Open DrChat opened 1 year ago

DrChat commented 1 year ago

Information

Provide detailed reproduction steps (if any)

> onefuzz debug logs query "traces | where severityLevel > 1 | where customDimensions.task_id == '****'" > log.log
ERROR:cli:command failed: (InvalidTokenError) The provided authentication is not valid for this resource
> onefuzz logout
> onefuzz login
Login succeeded
"succeeded"
> onefuzz debug logs query "traces | where severityLevel > 1 | where customDimensions.task_id == '****'" > log.log
ERROR:cli:command failed: (InvalidTokenError) The provided authentication is not valid for this resource

This stopped working at some point. It isn't clear how to resolve this error - I reflexively tried logging out and back in and that did not have any effect.

AB#160711

stishkin commented 1 year ago

Can you download logs using command:

onefuzz-cli.exe debug logs get ...

you should be able to get all needed info for you nodes

DrChat commented 1 year ago

I can, but those logs do not contain the same logs that are present in appinsights in some notable cases.

DrChat commented 1 year ago

@stishkin Just another ping - seems that this is still an issue.