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

Setting Account Security and Notification Stop to work #3420

Open
aamarques opened this issue Nov 5, 2024 · 9 comments
Open

Setting Account Security and Notification Stop to work #3420

aamarques opened this issue Nov 5, 2024 · 9 comments

Comments

@aamarques
Copy link

aamarques commented Nov 5, 2024

Environment

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

Steps to Reproduce

Just navigate to Settings/General Settings/Security or Settings/General Settings/Notification

Expected Result

The UI working

Actual Result

I have the same problem on 24.8.0, 24.9.0 and 24.10.0 versions

This is the image of Security:
Image

This is the image for Notification (infinite loop)
Image

On the web container log, I have a lot of the following lines :

web-1  | 17:44:49 [WARNING] django.request: Unauthorized: /api/0/projects/ccmn/node-chat-proxy/artifact-lookup/ (status_code=401 request=<WSGIRequest: GET '/api/0/projects/ccmn/node-chat-proxy/artifact-lookup/?release=aee97488df4f95f97ac721f939df8e0eb49fa238&url=%2Fapp'>)
web-1  | 17:44:49 [ERROR] sentry.auth.system: Trying to use `SystemToken` from non-internal IP
web-1  | 17:44:49 [ERROR] sentry.auth.system: Trying to use `SystemToken` from non-internal IP
web-1  | 17:44:49 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.artifact_lookup.ProjectArtifactLookupEndpoint' response=401 user_id='None' is_app='None' token_type='None' is_frontend_request='False' organization_id='None' auth_id='None' path='/api/0/projects/ccmn/node-chat-proxy/artifact-lookup/' caller_ip='XXX.XXX.XXX.XXX' user_agent='symbolicator/24.10.0' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.03459882736206055 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None' token_last_characters='2c2b')
web-1  | 17:44:49 [WARNING] django.request: Unauthorized: /api/0/projects/ccmn/node-chat-proxy/artifact-lookup/ (status_code=401 request=<WSGIRequest: GET '/api/0/projects/ccmn/node-chat-proxy/artifact-lookup/?release=aee97488df4f95f97ac721f939df8e0eb49fa238&url=%2Fapp'>)

Product Area

Settings - General

Link

No response

DSN

No response

Version

24.10.0

@getsantry
Copy link

getsantry bot commented Nov 5, 2024

Assigning to @getsentry/support for routing ⏲️

@InterstellarStella InterstellarStella transferred this issue from getsentry/sentry Nov 8, 2024
@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 8, 2024
@aamarques
Copy link
Author

Any ideas ?

@bc-sentry
Copy link

We are unable to reproduce this issue. We suspect it may be related to firewall and/or network settings. Please examine your container configuration to see if you are restricting traffic. Thank you.

@aamarques
Copy link
Author

We are unable to reproduce this issue. We suspect it may be related to firewall and/or network settings. Please examine your container configuration to see if you are restricting traffic. Thank you.

Ok, but until I know, we haven't changed the configurations.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 11, 2024
@bc-sentry
Copy link

I see. If you find additional info, please re-open with additional logs.

@aamarques
Copy link
Author

Following #3353

@aamarques
Copy link
Author

There are a lot of users with the same issue, so this can't be a firewall issue.

@aldy505
Copy link
Collaborator

aldy505 commented Nov 22, 2024

I'm going to reopen this issue.

@aldy505 aldy505 reopened this Nov 22, 2024
@hubertdeng123
Copy link
Member

Here is the line of code that is throwing the error: https://github.com/getsentry/sentry/blob/master/src/sentry/auth/system.py#L51

I am wondering if your symbolicator service is not being recognized as an internal IP

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

No branches or pull requests

4 participants