I am running Windows 7 64bit mode, with Node version 8.12.0 installed.
I have followed the Get Started with TreeGateway API.
After installing with: npm install -g tree-gateway**
I Run it though the tree-gateway.yaml file is generated, I got an endless stack overflow error thus:
rootPath: . database: redis: standalone: host: localhost port: 6379
I am running Windows 7 64bit mode, with Node version 8.12.0 installed. I have followed the Get Started with TreeGateway API. After installing with: npm install -g tree-gateway** I Run it though the tree-gateway.yaml file is generated, I got an endless stack overflow error thus:
rootPath: . database: redis: standalone: host: localhost port: 6379
C:\Users\Luke>cd C:\Users\Luke\Documents\VSCode Projects\cilmis-gateway
C:\Users\Luke\Documents\VSCode Projects\cilmis-gateway>treeGateway No server configuration file was found. Creating a configuration file and saving it on 'C:\Users\Luke\Documents\VSCode Projects\cilmis-gateway\tree-gateway.yaml' ? Choose the redis topology: Standalone ? Redis host: localhost ? Redis port: 6379 ? Redis DB number (Optional): ? Redis Password (Optional): [hidden] [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
I created a test.yaml
name: Test version: 1.0.0 path: "/test" proxy: target: host: http://httpbin.org timeout: five seconds
I Run but I still got this unhandled event error.:
C:\Users\Luke\Documents\VSCode Projects\cilmis-gateway>treeGatewayConfig apis --add ./my-api.yaml [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)**