Connection refused error with FindingAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2023 02:33 PM - edited ‎07-03-2023 02:35 PM
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!
Connection refused error with FindingAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2023 04:15 PM
I don't see "https" in your endpoint.
Also, is your server SSL enabled and capable of using the https protocol?
Connection refused error with FindingAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2023 10:59 AM
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
eBay Developer Support
Connection refused error with FindingAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2023 04:51 PM - edited ‎07-05-2023 04:52 PM
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
Connection refused error with FindingAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2023 04:51 PM
This worked, thank you!
