cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connection refused error with FindingAPI

I'm currently working on a side project as a student using eBay's FindingAPI to get listing data.

 

When I make the call findItemsByKeywords with my App credentials 

I get a FetchError: request to (http://svcs.ebay.com/services/search/FindingService/v1?.........)

type: 'system',
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
erroredSysCall: 'connect'

 

I know my code is not making calls past the rate limit so I'm thinking my IP could potentially be blacklisted or something. Any help would be greatly appreciated!

 

Message 1 of 5
latest reply
4 REPLIES 4

Connection refused error with FindingAPI

I don't see "https" in your endpoint.

Also, is your server SSL enabled and capable of using the https protocol?

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 5
latest reply

Connection refused error with FindingAPI

Hi @sweetwater-792 

 

For the production environment, correct Gateway URI (endpoint) is "https://svcs.ebay.com/services/search/FindingService/v1" while you are using "http://svcs.ebay.com/services/search/FindingService/v1"

 

Please change "http" to "https" for executing the Finding API calls.

For more details, please see "Making a Call": https://developer.ebay.com/api-docs/user-guides/static/finding-user-guide/finding-making-a-call.html

Best Regards,
eBay Developer Support
Message 3 of 5
latest reply

Connection refused error with FindingAPI

Thanks! It works after using "https" in my endpoint. I'm using express for my server, wasn't sure how to check if SSL is enabled

Message 4 of 5
latest reply

Connection refused error with FindingAPI

This worked, thank you!

Message 5 of 5
latest reply