self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

When entering integration-details i get 502 after restart

Open Lucas-Gruber opened this issue 10 months ago • 8 comments

Self-Hosted Version

24.4.0

CPU Architecture

x86_64

Docker Version

26.0.1

Docker Compose Version

2.26.1

Steps to Reproduce

  1. Install Self-Hosted version
  2. Follow the steps to creating a github or discord application
  3. Paste all the data in the config.yml
  4. restart docker compose stack

Expected Result

It should normally start and the integration should be working

Actual Result

I cannot access the Sentry Instance because i get following error-page: CleanShot 2024-04-18 at 16 46 41

Event ID

No response

Lucas-Gruber avatar Apr 18 '24 14:04 Lucas-Gruber

Hi there, would you be able to answer these two questions so I can help find the root cause of your issue?

  1. Can you examine the logs in your web container to see if there are any errors that are being thrown?
  2. Does this issue occur periodically and resolve itself when refreshing the page?

hubertdeng123 avatar Apr 19 '24 16:04 hubertdeng123

  1. No this is permanently after restarting the Stack when i added a Implementation.

1: For any reasons i dont get in the web-container latest logs from docker command, but here are the last lines from yesterday:

2024-04-18T01:03:40.889591232Z 01:03:40 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events_stats.OrganizationEventsStatsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events-stats/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.38626623153686523 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:40.931863266Z 01:03:40 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.24679327011108398 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:40.962368146Z 01:03:40 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.3059682846069336 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:40.993794298Z 01:03:40 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events_stats.OrganizationEventsStatsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events-stats/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.36187243461608887 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:41.023618364Z 01:03:41 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events_stats.OrganizationEventsStatsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events-stats/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.42267346382141113 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:41.054419411Z 01:03:41 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.40926289558410645 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:41.152025811Z 01:03:41 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events_stats.OrganizationEventsStatsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events-stats/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.4335939884185791 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:41.188293409Z 01:03:41 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events_stats.OrganizationEventsStatsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events-stats/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.4396064281463623 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:41.831991689Z 01:03:41 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.1273965835571289 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:41.867253308Z 01:03:41 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.16826581954956055 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:41.895484295Z 01:03:41 [INFO] sentry.access.api: api.access (method='GET' view='sentry.api.endpoints.organization_events.OrganizationEventsEndpoint' response=200 user_id='1' is_app='False' token_type='None' is_frontend_request='True' organization_id='1' auth_id='None' path='/api/0/organizations/ariscorp/events/' caller_ip='2a01:c23:b906:2000:bcd2:425f:5ea0:f896' user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.18701410293579102 rate_limit_type='DNE' concurrent_limit='None' concurrent_requests='None' reset_time='None' group='None' limit='None' remaining='None')
2024-04-18T01:03:45.897012166Z 01:03:45 [INFO] sentry.relay.config.metric_extraction: on_demand_metrics.on_demand_metric_spec (project_id=1 widget.id=9 widget.field='count()' widget.query='event.type:transaction' spec_for='widget' spec_query_hash='2b10e1e2' spec={'category': 'transaction', 'mri': 'c:transactions/on_demand@none', 'field': None, 'tags': [{'key': 'query_hash', 'value': '2b10e1e2'}, {'key': 'transaction', 'field': 'event.transaction'}, {'key': 'environment', 'field': 'event.environment'}]} spec_version=SpecVersion(version=1, flags=set()) prefilling=True)
2024-04-18T01:03:45.897269359Z 01:03:45 [INFO] sentry.relay.config.metric_extraction: on_demand_metrics.on_demand_metric_spec (project_id=1 widget.id=9 widget.field='count()' widget.query='event.type:transaction' spec_for='widget' spec_query_hash='4ebd4eb0' spec={'category': 'transaction', 'mri': 'c:transactions/on_demand@none', 'field': None, 'tags': [{'key': 'query_hash', 'value': '4ebd4eb0'}, {'key': 'transaction', 'field': 'event.transaction'}, {'key': 'environment', 'field': 'event.environment'}]} spec_version=SpecVersion(version=2, flags={'include_environment_tag'}) prefilling=True)
error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for beginning of value

Lucas-Gruber avatar Apr 19 '24 17:04 Lucas-Gruber

Are you seeing anything in the nginx logs? A 502 often means nginx is improperly configured.

azaslavsky avatar Apr 22 '24 20:04 azaslavsky

I have a similar issue, for me it is giving this message in the end:

error from daemon in stream: Error grabbing logs: invalid character 'l' after object key:value pair

Sentry version: 24.4.2

lcsvcn avatar May 13 '24 12:05 lcsvcn

Screenshot 2024-05-16 at 09 41 04

lcsvcn avatar May 16 '24 12:05 lcsvcn

@lcsvcn which integration are you trying to install? Is it discord or github?

hubertdeng123 avatar May 17 '24 16:05 hubertdeng123

Slack

lcsvcn avatar May 17 '24 17:05 lcsvcn

I managed to install by remove ram restriction from redis container

lcsvcn avatar May 17 '24 17:05 lcsvcn