Closed FeiBa0125 closed 3 years ago
Have you tried running docker-compose restart relay
?
I tried to run this command several times and the result was the same.
git pull
./install.sh
docker-compose up
I'm not sure I need any other configuration before I run it?
That's not the command I shared in my previous comment.
Have you tried restarting relay?
这不是我在之前的评论中分享的命令。
您是否尝试过重新启动中继?
yes,i did. This is the latest relay log
relay_1 | 2021-06-15T09:50:56Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 33ms in state CONNECT)
relay_1 | 2021-06-15T09:50:56Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 33ms in state CONNECT)
relay_1 | 2021-06-15T09:50:56Z [rdkafka::client] ERROR: librdkafka: Global error: AllBrokersDown (Local: All broker connections are down): 1/1 brokers are down
relay_1 | 2021-06-15T09:50:56Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
relay_1 | 2021-06-15T09:50:56Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
relay_1 | 2021-06-15T09:50:56Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-06-15T09:50:56Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-06-15T09:50:56Z [rdkafka::client] ERROR: librdkafka: Global error: AllBrokersDown (Local: All broker connections are down): 1/1 brokers are down
relay_1 | 2021-06-15T09:50:56Z [actix::actors::resolver] WARN: Can not create system dns resolver: io error
relay_1 | 2021-06-15T09:50:57Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 5ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-06-15T09:50:57Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 5ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-06-15T09:50:57Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-06-15T09:50:57Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.26.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-06-15T09:50:59Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: tcp connect error: Connection refused (os error 111)
relay_1 | 2021-06-15T09:51:00Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: tcp connect error: Connection refused (os error 111)
relay_1 | 2021-06-15T09:51:03Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: tcp connect error: Connection refused (os error 111)
relay_1 | 2021-06-15T09:51:06Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 0ns
relay_1 | 2021-06-15T09:51:06Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: tcp connect error: Connection refused (os error 111)
relay_1 | 2021-06-15T09:51:06Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 1s
relay_1 | 2021-06-15T09:51:07Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 1.5s
relay_1 | 2021-06-15T09:51:08Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 2.25s
relay_1 | 2021-06-15T09:51:11Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 3.375s
relay_1 | 2021-06-15T09:51:11Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): error trying to connect: tcp connect error: Connection refused (os error 111)
relay_1 | 2021-06-15T09:51:14Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 5.0625s
relay_1 | 2021-06-15T09:51:24Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: could not send request using reqwest
relay_1 | caused by: error sending request for url (http://web:9000/api/0/relays/register/challenge/): operation timed out
relay_1 | 2021-06-15T09:51:24Z [relay_server::actors::upstream] WARN: Network outage, scheduling another check in 7.59375s
Seems like you have a networking issue there as Relay can neither connect to Sentry web
nor to kafka
. This may also be related to getsentry/relay#997 so you may wanna check some suggestions from that thread.
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 🥀
Version Information
Version: Sentry 21.6.0.dev0 Ubuntu 20.04.2 LTS Ram:8G Core:4
Steps to Reproduce
Expected Result
going on smoothly
Actual Result
relay is fault
Logs
ls -1 sentry_install_log-*.txt | tail -1 | xargs cat
docker-compose logs
output