Closed radhikaporla closed 1 year ago
Can you post relay logs? Wondering if you're having trouble hitting that service
relay/config.yml (file) upstream: "http://web:9000" host: 0.0.0.0 port: 3000 logging: level: INFO processing: enabled: true kafka_config:
not sure if the logs help, thank you for the help.
when i try DSN>http://bb6e7b67a0694b8fb22c67307e0a1cb5@name:9000/2<DSN from projects i see below line in nginx logs
But when i try DSN>https://bb6e7b67a0694b8fb22c67307e0a1cb5@name:9001/2<DSN do not see any post messaged getting logged on nginx conatiner.
Please let me know if you need any additional information.
Thank you.
Hmmm, I suspect that traffic isn't going into relay at all. Perhaps there is some part of your config is not directing traffic properly there. Is your servername
set to https://sentry.swmed.edu
?
server name in which file?
(system.url-prefix: 'https://sentry.swmed.edu') sentry/config.yml server_name sentry.swmed.edu; in nginx/ nginx.conf
Can you help me with any documentation on how to enable SSL using nginx container provided from sentry
@radhikaporla See e.g. https://stackoverflow.com/a/51428308. Two important things to note: you can use a docker-compose.override.yml
to override the nginx container config in docker-compose.yml
, and you will need to re-run the installer to re-build the docker images, the nginx config lives under the nginx
folder.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog
or Status: In Progress
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
still working on this don't close
Hi, i am seeing below errors in relay logs, do you know why i am facing this error relay_1 | 2023-01-26T02:47:20Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 1s relay_1 | 2023-01-26T02:47:21Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 1.5s relay_1 | 2023-01-26T02:47:22Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 2.25s relay_1 | 2023-01-26T02:47:24Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 3.375s relay_1 | 2023-01-26T02:47:27Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: dns error: no record found for name: web.swmed.net. type: AAAA class: IN relay_1 | 2023-01-26T02:47:28Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 5.0625s relay_1 | 2023-01-26T02:47:32Z [r2d2] ERROR: failed to lookup address information: Name or service not known relay_1 | 2023-01-26T02:47:32Z [r2d2] ERROR: failed to lookup address information: Name or service not known relay_1 | 2023-01-26T02:47:32Z [r2d2] ERROR: failed to lookup address information: Name or service not
Thanks
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog
or Status: In Progress
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Self-Hosted Version
self-hosted-22.9.0
CPU Architecture
x86_64
Docker Version
Docker version 20.10.21
Docker Compose Version
docker-compose version 1.28.0
Steps to Reproduce
selfhosted senty is up with https and can login to sentry web, but when we try testing events from project using https DSN nothing gets logged in nginx, with http DSN it works. Please helps us if i am missing any other changes
Below are the changes made:
sentry.config.py uncommented SSL section config.yml added system.url-prefix: https://name:9001
nginx.config file
user nginx; worker_processes auto;
error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid;
events { worker_connections 1024; }
http { default_type application/octet-stream;
}
docker-compose.yml
nginx: <<: *restart_policy ports:
Expected Result
Https post events should work
Actual Result
when project send error events using https DSN nothing happens
Event ID
No response