question

au.m993 avatar image
2 Likes"
au.m993 asked

ConnectionResetError when trying to use python ebaysdk.finding

![alt text][1] The code attached that previously worked using the python ebay sdk now return this error: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) I have tested this code on three separate devices with different IP addresses and the exact same error is present. From what I have read I believe this is related to the introduction of the new HTTPS requirement, however the library has not been updated to support this. When will this be updated ? [1]: /storage/temp/2603-pic.png
finding-apipythonebaydsk
pic.png (9.9 KiB)
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

tabasco-road-postcards avatar image
0 Likes"
tabasco-road-postcards answered
Thank you @ywa_7089! I just found another way. You can put https = True, as in the following API call and that does the trick, as well. I hope others find this as helpful as your answer. api = Finding(appid="YOUR_APPID", config_file=None) - Change this to: api = Finding(https=True,appid="YOUR_APPID", config_file=None) It seems that https defaults to False. I suppose they should change this default value so everyone does not have to go into their code and add it.
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

tabasco-road-postcards avatar image
0 Likes"
tabasco-road-postcards answered
I am also having trouble with the Finding API. In my case, most of the time, it returns: ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) On the other hand, the Shopping API is working fine.
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ywa_7089 avatar image
0 Likes"
ywa_7089 answered
@tabasco-road-postcards Yeah, Its the whole HTTPS move. However, you can just use a YAML config file to specify https request like this # Finding API - https://www.x.com/developers/ebay/products/finding-api svcs.ebay.com: appid: ENTER YOUR ID https: 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

au.m993 avatar image
0 Likes"
au.m993 answered
Thanks @tabasco-road-postcards that is the correct answer :)
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

db.ventures avatar image
0 Likes"
db.ventures answered
I really appreciate your response. I was having a hard time figuring this out, and from my online research deemed it to be a server side issue; so I checked here and it seems I just needed to be more specific in my request. Thank you!
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.