-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Danger! Re-sends RPC call on failure #44
Comments
there is no code for make double requests, can you post your source? |
I suspect it had to do with queuing and the message stack... with a failure it would post the same message again, which is dangerous if you're sending bitcoins to a customer. I've since rewritten and finished the project with a much simpler Guzzle-free library. Sorry I can't provide a code sample, free free to close this issue. |
Sorry for long wait, was not been able to spend any time on this project lately. Glad that you've been able to sort the problem with different library. I'll take a look into this, try to replicate the issue and report it upstream to guzzle project. I don't really want to drop guzzle because of it's support for async requests and because I mostly use this library together with laravel framework which pulls guzzle anyway. |
Has this issue been fixed? Was it really an issue or a user error? |
I almost deployed with this library and did a final test and found a problem. Guzzle returned this error (for no discernible reason, but thats not the point of this report): Recv failure: Connection was reset (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
The problem is that this library for some reason re-sent the transaction a second later during the same function call, so it double-sent the coins AND threw an error to top it all off.
You can reproduce this yourself I've wasted too much time already... Just force that error to occur when sending coins and see what happens.
The text was updated successfully, but these errors were encountered: