Skip to content

Unable to send pyroscope profiles to Grafana Cloud endpoint directly from MacOS #235

@venu-shapley

Description

@venu-shapley

Describe the bug

We have a python fast api application which has pyroscope profiling enabled. When I am trying to start up the application on my macOS laptop, I am seeing the following issue

2025-09-10T23:16:20.007Z INFO Pyroscope::Session > Creating Session
2025-09-10T23:16:20.007Z INFO Pyroscope::Session > Sending Session: 1757546170 - 1757546180
2025-09-10T23:16:20.099Z ERROR Pyroscope::Session > Sending Session failed 422
But I can see the profiles being uploaded to Grafana Cloud from our production machines which run on Linux.
I am using the "pyroscope-io" package with "0.8.11" version.
I am publishing the profiles from the application to the grafana cloud url directly without any collector in the middle. Do you think the difference is because of the OS type?

Wondering if you happen to know what could be the issue.

To Reproduce

Steps to reproduce the behavior:

  1. Start Pyroscope (SHA or version)
  2. Perform Operations(Read/Write/Others)

Expected behavior

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

Environment

  • Infrastructure: laptop
  • Deployment tool: [e.g., helm, jsonnet]

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions