Skip to content

/api/client-config/ endpoint spam of requests after update #4474

Description

@oleksiimedvedkov-code

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

What are you trying to accomplish?

Hello.
After an update from 26.5.0 to 26.7.2 we find out an issue where a lot of requests are send to sentry to /api/client-config/ endpoint and all of them are 404. This issue started happening right after an update as our logs from Nginx proxy behind sentry confirms this.
Here is how Nginx configuration looks like

        location / {
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
                proxy_pass http://sentry;
                proxy_set_header X-Forwarded-For $remote_addr;
                proxy_set_header X-Forwarded-Host $host;
                proxy_set_header X-Forwarded-Proto $scheme;
        }
        

        location ~ ^/api/[0-9]+/(envelope|minidump|security)/ {
            proxy_http_version 1.1; 
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            limit_req zone=req_limit_default burst=20 nodelay;
            proxy_pass http://sentry;
            proxy_set_header X-Forwarded-For $remote_addr;
            proxy_set_header X-Forwarded-Host $host;
            proxy_set_header X-Forwarded-Proto $scheme;
        }

It doesn't matter which page you are accessing in Sentry UI - in all of them during the page load a lot GET requests are send from my browser to /api/client-config/

Let me know in case more information is needed.

How are you getting stuck?

It creates a lot of noise to our Nginx which is behind sentry

Where in the product are you?

Other

Link

No response

DSN

No response

Version

26.7.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions