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

error connecting to rabbitmq dial tcp 172.19.0.2:5672: i/o timeout #123

Open
fengweiqiang opened this issue May 21, 2019 · 0 comments
Open

Comments

@fengweiqiang
Copy link

fengweiqiang commented May 21, 2019

[root@extract docker-compose]# docker-compose up -d rabbitmq strokewidthtransform openocr;sleep 60;docker-compose up -d openocrworker
Creating docker-compose_rabbitmq_1 ... done
Creating docker-compose_openocrworker_1 ... done
Creating docker-compose_strokewidthtransform_1 ... done
Creating docker-compose_openocr_1 ... done
docker-compose_rabbitmq_1 is up-to-date
Starting docker-compose_openocrworker_1 ... done
[root@extract docker-compose]# docker ps
\CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
04d5c614378a tleyden5iwx/open-ocr-2 "/opt/open-ocr/open-…" 2 minutes ago Up 2 minutes 0.0.0.0:9292->9292/tcp docker-compose_openocr_1
5cdfd39f84a7 tleyden5iwx/open-ocr-preprocessor "/opt/open-ocr/open-…" 2 minutes ago Up 2 minutes docker-compose_strokewidthtransform_1
35caacdd7f01 rabbitmq:3.6.5-management "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 4369/tcp, 5671/tcp, 0.0.0.0:5672->5672/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp docker-compose_rabbitmq_1
[root@extract docker-compose]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
04d5c614378a tleyden5iwx/open-ocr-2 "/opt/open-ocr/open-…" 2 minutes ago Up 2 minutes 0.0.0.0:9292->9292/tcp docker-compose_openocr_1
5cdfd39f84a7 tleyden5iwx/open-ocr-preprocessor "/opt/open-ocr/open-…" 2 minutes ago Up 2 minutes docker-compose_strokewidthtransform_1
029fc2f9119d tleyden5iwx/open-ocr-2 "/opt/open-ocr/open-…" 2 minutes ago Exited (2) 22 seconds ago docker-compose_openocrworker_1
35caacdd7f01 rabbitmq:3.6.5-management "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 4369/tcp, 5671/tcp, 0.0.0.0:5672->5672/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp docker-compose_rabbitmq_1
[root@extract docker-compose]# docker logs 02
10:24:40.128689 OCR_WORKER: Creating new OCR Worker
10:24:40.128741 OCR_WORKER: Run() called...
10:24:40.128772 OCR_WORKER: dialing "amqp://admin:Phaish9ohbaidei6oole@rabbitmq/"
10:25:10.129071 OCR_WORKER: error connecting to rabbitmq dial tcp 172.19.0.2:5672: i/o timeout
10:25:10.129135 PANIC: Error running worker: dial tcp 172.19.0.2:5672: i/o timeout -- main.main() at main.go:36
panic: Error running worker: dial tcp 172.19.0.2:5672: i/o timeout

goroutine 1 [running]:
github.com/couchbaselabs/logg.LogPanic(0x6f6d53, 0x18, 0xc420061e68, 0x1, 0x1)
/opt/go/src/github.com/couchbaselabs/logg/logg.go:136 +0x10c
main.main()
/opt/go/src/github.com/tleyden/open-ocr/cli-worker/main.go:36 +0x292
10:25:41.738465 OCR_WORKER: Creating new OCR Worker
10:25:41.738509 OCR_WORKER: Run() called...
10:25:41.738526 OCR_WORKER: dialing "amqp://admin:Phaish9ohbaidei6oole@rabbitmq/"
10:26:11.738874 OCR_WORKER: error connecting to rabbitmq dial tcp 172.19.0.2:5672: i/o timeout
10:26:11.738936 PANIC: Error running worker: dial tcp 172.19.0.2:5672: i/o timeout -- main.main() at main.go:36
panic: Error running worker: dial tcp 172.19.0.2:5672: i/o timeout

goroutine 1 [running]:
github.com/couchbaselabs/logg.LogPanic(0x6f6d53, 0x18, 0xc420061e68, 0x1, 0x1)
/opt/go/src/github.com/couchbaselabs/logg/logg.go:136 +0x10c
main.main()
/opt/go/src/github.com/tleyden/open-ocr/cli-worker/main.go:36 +0x292

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

No branches or pull requests

1 participant