You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by Samuel Marks <sa...@gmail.com> on 2017/02/11 05:27:05 UTC
[dev] SoftLayer broken in 2.0.0rc1, confirmed works with 1.5.0
Keep getting these errors:
2017-02-11 16:18:49,017 - connectionpool - DEBUG - Resetting dropped
connection: api.softlayer.com
2017-02-11 16:18:50,401 - connectionpool - DEBUG -
https://api.softlayer.com:443 "POST /xmlrpc/v3/SoftLayer_Virtual_Guest
HTTP/1.1" 200 None
Whereas in 1.5.0 it takes a long time [~5 minutes] but works just fine.
Probably a problem with the new requests library utilisation.
Happy to debug further if you don't have a SoftLayer account.
Samuel Marks
http://linkedin.com/in/samuelmarks
Re: [dev] SoftLayer broken in 2.0.0rc1, confirmed works with 1.5.0
Posted by anthony shaw <an...@gmail.com>.
Thanks Samuel, we still have outstanding issues in that release, I think. It just needs more integration testing to uncover all the weird edge cases
Anthony Shaw
On Sun, Feb 12, 2017 at 1:51 AM +1100, "Samuel Marks" <sa...@gmail.com> wrote:
Actually scratch that bug report; I was too impatient and the error was
ambiguous.
/close_issue
On Sat, 11 Feb 2017 at 7:07 pm, Tomaz Muraus wrote:
> Thanks for reporting this.
>
> It's probably related to the change in the underlying HTTP mechanism (we
> use requests in 2.0.0rc).
>
> So it looks like it's a POST request, what does it do? You said it takes 5
> minutes for it to finish, so it looks like it's some long running
> operation?
>
> In this case I wonder if it's related to some internal timeout or similar
> in requests... I do remember us having some code in previous versions to
> handle connections which were opened for a long time and to prevent load
> balancers from killing them if they sit idle for too long, etc.
>
> On Sat, Feb 11, 2017 at 6:27 AM, Samuel Marks
> wrote:
>
> > Keep getting these errors:
> >
> > 2017-02-11 16:18:49,017 - connectionpool - DEBUG - Resetting dropped
> > connection: api.softlayer.com
> > 2017-02-11 16:18:50,401 - connectionpool - DEBUG -
> > https://api.softlayer.com:443 "POST /xmlrpc/v3/SoftLayer_Virtual_Guest
> > HTTP/1.1" 200 None
> >
> > Whereas in 1.5.0 it takes a long time [~5 minutes] but works just fine.
> >
> > Probably a problem with the new requests library utilisation.
> >
> > Happy to debug further if you don't have a SoftLayer account.
> >
> > Samuel Marks
> > http://linkedin.com/in/samuelmarks
> >
>
--
Samuel Marks
http://linkedin.com/in/samuelmarks
Re: [dev] SoftLayer broken in 2.0.0rc1, confirmed works with 1.5.0
Posted by Samuel Marks <sa...@gmail.com>.
Actually scratch that bug report; I was too impatient and the error was
ambiguous.
/close_issue
On Sat, 11 Feb 2017 at 7:07 pm, Tomaz Muraus <to...@apache.org> wrote:
> Thanks for reporting this.
>
> It's probably related to the change in the underlying HTTP mechanism (we
> use requests in 2.0.0rc).
>
> So it looks like it's a POST request, what does it do? You said it takes 5
> minutes for it to finish, so it looks like it's some long running
> operation?
>
> In this case I wonder if it's related to some internal timeout or similar
> in requests... I do remember us having some code in previous versions to
> handle connections which were opened for a long time and to prevent load
> balancers from killing them if they sit idle for too long, etc.
>
> On Sat, Feb 11, 2017 at 6:27 AM, Samuel Marks <sa...@gmail.com>
> wrote:
>
> > Keep getting these errors:
> >
> > 2017-02-11 16:18:49,017 - connectionpool - DEBUG - Resetting dropped
> > connection: api.softlayer.com
> > 2017-02-11 16:18:50,401 - connectionpool - DEBUG -
> > https://api.softlayer.com:443 "POST /xmlrpc/v3/SoftLayer_Virtual_Guest
> > HTTP/1.1" 200 None
> >
> > Whereas in 1.5.0 it takes a long time [~5 minutes] but works just fine.
> >
> > Probably a problem with the new requests library utilisation.
> >
> > Happy to debug further if you don't have a SoftLayer account.
> >
> > Samuel Marks
> > http://linkedin.com/in/samuelmarks
> >
>
--
Samuel Marks
http://linkedin.com/in/samuelmarks
Re: [dev] SoftLayer broken in 2.0.0rc1, confirmed works with 1.5.0
Posted by Tomaz Muraus <to...@apache.org>.
Thanks for reporting this.
It's probably related to the change in the underlying HTTP mechanism (we
use requests in 2.0.0rc).
So it looks like it's a POST request, what does it do? You said it takes 5
minutes for it to finish, so it looks like it's some long running operation?
In this case I wonder if it's related to some internal timeout or similar
in requests... I do remember us having some code in previous versions to
handle connections which were opened for a long time and to prevent load
balancers from killing them if they sit idle for too long, etc.
On Sat, Feb 11, 2017 at 6:27 AM, Samuel Marks <sa...@gmail.com> wrote:
> Keep getting these errors:
>
> 2017-02-11 16:18:49,017 - connectionpool - DEBUG - Resetting dropped
> connection: api.softlayer.com
> 2017-02-11 16:18:50,401 - connectionpool - DEBUG -
> https://api.softlayer.com:443 "POST /xmlrpc/v3/SoftLayer_Virtual_Guest
> HTTP/1.1" 200 None
>
> Whereas in 1.5.0 it takes a long time [~5 minutes] but works just fine.
>
> Probably a problem with the new requests library utilisation.
>
> Happy to debug further if you don't have a SoftLayer account.
>
> Samuel Marks
> http://linkedin.com/in/samuelmarks
>