system
(system)
April 1, 2021, 10:29pm
1
This topic was automatically generated from Slack. You can find the original thread here .
ABI Web Developer : Hi, Having a bit of trouble with this workflow trying to retrieve data from the Woocommerce REST API (https://pipedream.com/@ABI-Web-Dev/get-au-woo-products-p_ezCAAPb/edit?e=1l8DS1xbGPAXal3lI8MnVzYxpPd )
Keep getting a connection refused error
> { [ at TCPConnectWrap.afterConnect (net.js:1107:14)
> ]
> errno: ‘ECONNREFUSED’,
> code: ‘ECONNREFUSED’,
> syscall: ‘connect’,
> address: ‘127.0.0.1’,
> port: 80,
> . . .
system
(system)
April 1, 2021, 10:29pm
2
ABI Web Developer : Any help much appreciated, thanks.
system
(system)
April 1, 2021, 10:29pm
3
Dylan Sather (Pipedream) : can you edit the woocommerce
step and add this at the top?
console.log(auths.woocommerce.url)
system
(system)
April 1, 2021, 10:29pm
4
Dylan Sather (Pipedream) : can you see if that logs anything in the logs below the step? The error suggests the step is trying to connect to 127.0.0.1
- the local machine that the workflow runs on - instead of the actual URL configured in your WooCommerce linked auth. And this usually means the URL is missing / blank
system
(system)
April 1, 2021, 10:29pm
5
Dylan Sather (Pipedream) : you can try connecting a new WooCommerce linked account, and adding the URL again, to see if that works
system
(system)
April 1, 2021, 10:29pm
6
ABI Web Developer : Thanks , will give that a go and get back to you.
system
(system)
April 1, 2021, 10:29pm
7
ABI Web Developer : Ok thanks Was the URL I had in there, did not contain the https:// part.
Appreciate the help