Open z3r0byt3s opened 2 years ago
./docker-compose-Linux-x86_64 run cli /go/bin/torrentprev magnet "magnet:?xt=urn:btih:c92f656155d0d8e87d21471d7ea43e3ad0d42723" panic: cannot connect to AMQP: dial tcp 127.0.0.1:5672: connect: connection refused
goroutine 1 [running]: prevtorrent/internal/platform/container.rabbit.commandPublisher(0x116554b, 0xc, 0x116d135, 0x14, 0x100, 0x115ea0b, 0x5, 0x14, 0x0, 0x1162529, ...) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/events.go:106 +0x129 prevtorrent/internal/platform/container.(container).commandPublisher(...) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/container.go:238 prevtorrent/internal/platform/container.(container).cqrs(0xc0000dd1e0, 0x0) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/container.go:210 +0x522 prevtorrent/internal/platform/container.(*container).CommandBus(...) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/container.go:162 main.main() /go/src/github.com/jan-carreras/torrentpreviewer/cmd/cli/torrentprev/torrentprev.go:16 +0x98
ps aux|grep rabb systemd+ 12519 0.0 0.0 1616 1104 ? Ss 20:02 0:00 /bin/sh /opt/rabbitmq/sbin/rabbitmq-server systemd+ 12712 8.0 6.8 1255280 138992 ? Sl 20:02 0:13 /usr/local/lib/erlang/erts-12.1.1/bin/beam.smp -W w -MBas ageffcbf -MHas ageffcbf -MBlmbcs 512 -MHlmbcs 512 -MMmcs 30 -P 1048576 -t 5000000 -stbt db -zdbbl 128000 -sbwt none -sbwtdcpu none -sbwtdio none -B i -- -root /usr/local/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa -noshell -noinput -s rabbit boot -boot start_sasl -syslog logger [] -syslog syslog_error_logger false
netstat -tulpen Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:5672 0.0.0.0: LISTEN 0 59622 12388/docker-proxy tcp 0 0 0.0.0.0:8080 0.0.0.0: LISTEN 0 58576 12348/docker-proxy tcp 0 0 0.0.0.0:15672 0.0.0.0: LISTEN 0 59582 12368/docker-proxy tcp 0 0 127.0.0.1:44665 0.0.0.0: LISTEN 0 27957 1934/containerd tcp6 0 0 :::5672 ::: LISTEN 0 59626 12394/docker-proxy tcp6 0 0 :::8080 ::: LISTEN 0 59565 12355/docker-proxy tcp6 0 0 :::15672 :::* LISTEN 0 59586 12375/docker-proxy
./docker-compose-Linux-x86_64 run cli /go/bin/torrentprev magnet "magnet:?xt=urn:btih:c92f656155d0d8e87d21471d7ea43e3ad0d42723" panic: cannot connect to AMQP: dial tcp 127.0.0.1:5672: connect: connection refused
goroutine 1 [running]: prevtorrent/internal/platform/container.rabbit.commandPublisher(0x116554b, 0xc, 0x116d135, 0x14, 0x100, 0x115ea0b, 0x5, 0x14, 0x0, 0x1162529, ...) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/events.go:106 +0x129 prevtorrent/internal/platform/container.(container).commandPublisher(...) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/container.go:238 prevtorrent/internal/platform/container.(container).cqrs(0xc0000dd1e0, 0x0) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/container.go:210 +0x522 prevtorrent/internal/platform/container.(*container).CommandBus(...) /go/src/github.com/jan-carreras/torrentpreviewer/internal/platform/container/container.go:162 main.main() /go/src/github.com/jan-carreras/torrentpreviewer/cmd/cli/torrentprev/torrentprev.go:16 +0x98
ps aux|grep rabb systemd+ 12519 0.0 0.0 1616 1104 ? Ss 20:02 0:00 /bin/sh /opt/rabbitmq/sbin/rabbitmq-server systemd+ 12712 8.0 6.8 1255280 138992 ? Sl 20:02 0:13 /usr/local/lib/erlang/erts-12.1.1/bin/beam.smp -W w -MBas ageffcbf -MHas ageffcbf -MBlmbcs 512 -MHlmbcs 512 -MMmcs 30 -P 1048576 -t 5000000 -stbt db -zdbbl 128000 -sbwt none -sbwtdcpu none -sbwtdio none -B i -- -root /usr/local/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa -noshell -noinput -s rabbit boot -boot start_sasl -syslog logger [] -syslog syslog_error_logger false
netstat -tulpen Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:5672 0.0.0.0: LISTEN 0 59622 12388/docker-proxy tcp 0 0 0.0.0.0:8080 0.0.0.0: LISTEN 0 58576 12348/docker-proxy tcp 0 0 0.0.0.0:15672 0.0.0.0: LISTEN 0 59582 12368/docker-proxy tcp 0 0 127.0.0.1:44665 0.0.0.0: LISTEN 0 27957 1934/containerd tcp6 0 0 :::5672 ::: LISTEN 0 59626 12394/docker-proxy tcp6 0 0 :::8080 ::: LISTEN 0 59565 12355/docker-proxy tcp6 0 0 :::15672 :::* LISTEN 0 59586 12375/docker-proxy