BotSharp icon indicating copy to clipboard operation
BotSharp copied to clipboard

Redis issue

Open andrew1stein opened this issue 6 years ago • 0 comments

Following this guide:

https://botsharp.readthedocs.io/en/latest/installation.html

I get an API failure.

PS C:\users\andre\BotSharp\BotSharp> docker-compose -f dockerfiles/docker-compose-articulateui.yml up Starting dockerfiles_botsharp_1 ... done Starting dockerfiles_ui_1 ... done Starting 7f05049e74f0_dockerfiles_api_1 ... done Attaching to dockerfiles_botsharp_1, 7f05049e74f0_dockerfiles_api_1, dockerfiles_ui_1 botsharp_1 | Read settings from /app/Settings ui_1 | yarn run v1.9.4 ui_1 | $ cross-env NODE_ENV=development node server botsharp_1 | Hosting environment: Production botsharp_1 | Content root path: /app botsharp_1 | Now listening on: http://0.0.0.0:5000 botsharp_1 | Application started. Press Ctrl+C to shut down. ui_1 | Server started ! ✓ ui_1 | ui_1 | Access URLs: ui_1 | ----------------------------------- ui_1 | Localhost: http://localhost:3000 ui_1 | LAN: http://172.18.0.4:3000 ui_1 | ----------------------------------- ui_1 | Press CTRL-C to stop ui_1 | 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 1 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 2 of 10 ui_1 | webpack built 4a395fdab870ca8881ec in 28925ms 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 3 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 4 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 5 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 6 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 7 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 8 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 9 of 10 7f05049e74f0_dockerfiles_api_1 | Connection failed. Attempt 10 of 10 7f05049e74f0_dockerfiles_api_1 | Failure during Redis connection 7f05049e74f0_dockerfiles_api_1 | { Error: Redis connection to redis:6379 failed - connect ECONNREFUSED 23.217.138.110:6379 7f05049e74f0_dockerfiles_api_1 | at Object.exports._errnoException (util.js:1023:11) 7f05049e74f0_dockerfiles_api_1 | at exports._exceptionWithHostPort (util.js:1046:20) 7f05049e74f0_dockerfiles_api_1 | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14) 7f05049e74f0_dockerfiles_api_1 | code: 'ECONNREFUSED', 7f05049e74f0_dockerfiles_api_1 | errno: 'ECONNREFUSED', 7f05049e74f0_dockerfiles_api_1 | syscall: 'connect', 7f05049e74f0_dockerfiles_api_1 | address: '23.217.138.110', 7f05049e74f0_dockerfiles_api_1 | port: 6379 } 7f05049e74f0_dockerfiles_api_1 exited with code 1

andrew1stein avatar Jan 12 '20 22:01 andrew1stein