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

Services are not starting #557

Open
prasadrao82 opened this issue Dec 20, 2021 · 0 comments
Open

Services are not starting #557

prasadrao82 opened this issue Dec 20, 2021 · 0 comments

Comments

@prasadrao82
Copy link

What is your question?

I have installed flogo using yarn install after downloading code from git. Server and client has started with yarn start server and yarn start client respectively , Created a sample flow , while executing the flow, received following error .

"error: [16:58:13.251] connect ECONNREFUSED 127.0.0.1:9090 {"stack":"RequestError: connect ECONNREFUSED 127.0.0.1:9090\n at ClientRequest. (C:\nsn\IoT\EdgeComputing\flogo-web\node_modules\got\source\request-as-event-emitter.js:178:14)\n at Object.onceWrapper (events.js:291:20)\n at ClientRequest.emit (events.js:208:15)\n at ClientRequest.origin.emit (C:\nsn\IoT\EdgeComputing\flogo-web\node_modules\@szmarczak\http-timer\source\index.js:37:11)\n at Socket.socketErrorListener (_http_client.js:399:9)\n at Socket.emit (events.js:203:13)\n at emitErrorNT (internal/streams/destroy.js:91:8)\n at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)\n at processTicksAndRejections (internal/process/task_queues.js:77:11)","name":"RequestError","code":"ECONNREFUSED","hostname":"localhost","method":"POST","path":"/v1/flows","protocol":"http:","url":"http://localhost:9090/v1/flows","gotOptions":{"path":"/v1/flows","protocol":"http:","hostname":"localhost","hash":"","search":"","pathname":"/v1/flows","href":"http://localhost:9090/v1/flows","port":9090,"retry":{"methods":{},"statusCodes":{},"errorCodes":{}},"headers":{"user-agent":"got/9.6.0 (https://github.com/sindresorhus/got)","accept":"application/json","accept-encoding":"gzip, deflate","content-type":"application/json","content-length":559},"hooks":{"beforeError":[],"init":[],"beforeRequest":[],"beforeRedirect":[],"beforeRetry":[],"afterResponse":[]},"decompress":true,"throwHttpErrors":true,"followRedirect":true,"stream":false,"form":false,"json":true,"cache":false,"useElectronNet":false,"baseUrl":"http://localhost:9090/v1/","body":"{\"name\":\"Test12\",\"description\":\"\",\"metadata\":{\"input\":[],\"output\":[]},\"tasks\":[{\"id\":\"rest_2\",\"name\":\"REST Invoke","description":"Invokes a REST Service","activity":{"ref":"github.com/project-flogo/contrib/activity/rest","settings":{"uri":"https://gorest.co.in/public/v1/posts\"}}},{\"id\":\"log_3\",\"name\":\"Log\",\"description\":\"Logs a message","activity":{"ref":"github.com/project-flogo/contrib/activity/log","input":{"message":"Data received from x ssystem $activity[rest_2].data","addDetails":false,"usePrint":false}}}],"links":[{"from":"rest_2","to":"log_3"}]}","method":"POST","forceRefresh":true}}
"

Please tell us about your environment (Operating system, docker version, browser & web ui version, etc):
windows 10
Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X
Latest

Could you please guide me how to handle and where did i miss.

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