"An existing connection was forcibly closed by the remote host" when accessing Photobucket API

608 Views Asked by At

When using the Photobucket API, it says...

[SocketException (0x2746): An existing connection was forcibly closed by the remote host] System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) +139
System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +146

Any ideas what to do here?

2

There are 2 best solutions below

2
On BEST ANSWER

I asked by Photobucket and they said: photobucket api is disabled for external using.

0
On

I reached out to Photobucket and got this response:

Hello,

Thank you for reaching out to us. Unfortunately, at this time we are not allowing outside parties to access the Photobucket API.

I apologize for any inconvenience this may have caused you. Please let us know if you have any additional questions

Thank you.

So sounds like it's a policy change.