These are chat archives for arenanet/api-cdi

17th
Feb 2016
smiley
@codemasher
Feb 17 2016 00:05
    ["response_headers":protected]=>
    object(stdClass)#8 (8) {
      ["httpversion"]=>
      string(3) "1.1"
      ["statuscode"]=>
      int(502)
      ["statustext"]=>
      string(11) "Bad Gateway"
darthmaim
@darthmaim
Feb 17 2016 00:05
works for me
smiley
@codemasher
Feb 17 2016 00:07
(may aswell try urlencoding the commas...)
oh noes, it was just an outage :o:
I think there was/is a hotfix?
smiley
@codemasher
Feb 17 2016 00:08
ah
Yeah, looks like some systems were still booting back up after a hotfix
At some point I need to make that process not suck
smiley
@codemasher
Feb 17 2016 00:09
ah ok
i just thought i had an error in my multy_curl script which i was testing right in that moment XD
heh, nah, you got a 502 back
502 is always an issue on my end :)
smiley
@codemasher
Feb 17 2016 00:10
well, you never know... :suspect:
windwarrior
@windwarrior
Feb 17 2016 00:15
there is also a patch
according to the forums
ah, yeah, a hotfix is just our internal term for an, uhh, unplanned patch?
not-planned-too-far-ahead patch
windwarrior
@windwarrior
Feb 17 2016 00:17
yeah, I know what a hotfix is :>
smiley
@codemasher
Feb 17 2016 00:47
perhaps not the best idea to push and test a build which heavily relys on the API https://travis-ci.org/codemasher/php-curl/jobs/109750211
...during an update
I should add /v2/safe_to_deploy
{ "text" : "no" }
smiley
@codemasher
Feb 17 2016 00:50
lol
also, the API seems to be pretty sluggish "Elapsed time 6 min 11 sec"
Pat Cavit
@tivac
Feb 17 2016 00:50
you should spin up a simple static http server locally
and stop depending on us
smiley
@codemasher
Feb 17 2016 00:51
this thing is made for hammering your API :P
@tivac how long does it usually take for all systems to run after a hotfix?
Pat Cavit
@tivac
Feb 17 2016 00:55
depends
the servers that have to load up all content can take a while
smiley
@codemasher
Feb 17 2016 00:56
so thats perhaps the reason for the hiccups?
if tha API tries to access content which has not yet been updated?
Pat Cavit
@tivac
Feb 17 2016 00:57
If the servers the API depends on aren't up that is a problem, yes
I can't force you to stop using us in your tests, but I'm not gonna expend a lot of effort to solve this problem for you
because your tests shouldn't depend on us
smiley
@codemasher
Feb 17 2016 00:58
no, i don't want you to solve it, like at all :D
i just noticed the outage and following hiccups
smiley
@codemasher
Feb 17 2016 00:59
i mean, the API is pretty stable most of the time
i have barely failed responses on those huge db scrapes
services seem to be back up: "Elapsed time 1 min 19 sec"
smiley
@codemasher
Feb 17 2016 01:13
$this->assertContains($response->errorcode, [200, 502]);
huehue
smiley
@codemasher
Feb 17 2016 02:03
i made a thing: have fun hammering the API, i'm going to bed now.
codemasher/php-curl@90f28f0