thodges-gh / CL-EA-NodeJS-Template

61 stars 70 forks source link

Issue requesting external adaptor from on-cahin smart contract #7

Open happyeric77 opened 3 years ago

happyeric77 commented 3 years ago

Hi Team, I am new to external adaptor. I appoligise if I am asking a dumb question. I created an external adaptor (by the nodejs template) --> created bridge on chianlink node --> created a new job to query the oracle which correspond with my chainlink node. But the error msg shows on job run tab saying "error making http request: Post "http://localhost:8080": dial tcp 127.0.0.1:8080: connect: connection refused". I appricate if somebody can give me a hint which part should I do the debug (there are too many elements are involved)? I also attached the related screenshot below. My adaptor is listening on localhost:8080 port in the same server as my chainlink node.

Screen Shot 2021-10-30 at 20 09 56

I query the external adaptor locally and it successfully returns the result. like the attached screenshot. But it failed with the above error when I call it through the oracle contract. Hope somebody could give me a hint

Screen Shot 2021-10-30 at 22 21 44
acupic commented 2 years ago

Hey there, I have the same issue. Did you find a solution?