Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot talk to public satellite with token from a private project? #44

Open
TejasQ opened this issue Jun 11, 2021 · 0 comments
Open

Cannot talk to public satellite with token from a private project? #44

TejasQ opened this issue Jun 11, 2021 · 0 comments

Comments

@TejasQ
Copy link

TejasQ commented Jun 11, 2021

Describe the bug
A clear and concise description of what the bug is.

So I'm trying to follow the README and everything seems to work, except when I run my project, I get this error:

{
   "stack":"CollectorExporterError: Bad Request\n    at IncomingMessage.<anonymous> (/Users/tejask/Sites/software-catalog/node_modules/lightstep-opentelemetry-launcher-node/node_modules/@opentelemetry/exporter-collector/build/src/platform/node/util.js:52:31)\n    at IncomingMessage.emit (events.js:327:22)\n    at IncomingMessage.EventEmitter.emit (domain.js:467:12)\n    at endReadableNT (internal/streams/readable.js:1327:12)\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)",
   "message":"Bad Request",
   "name":"CollectorExporterError",
   "data":"{\"code\":3,\"message\":\"access token corresponds to a private project, which cannot report spans to public satellites (access_token:iOsGpETC)\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.DebugInfo\",\"stackEntries\":[\"\\tat errorWithToken (/go/src/github.com/lightstep/collector/app/collector/controllers/configuration_service.go:611)\\n\"]}]}",
   "code":"400"
}

To Reproduce
Steps to reproduce the behavior. Include code samples here when possible.

Try to follow the README but use a token from a private project.

Expected behavior
A clear and concise description of what you expected to happen.

I expect it to "just work"™, or to allow a private: true or similar when calling lightstep.configureOpenTelemetry.

@TejasQ TejasQ changed the title Cannot talk to private project? Cannot talk to public satellite with token from a private project? Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant