[19:22] <ryebot> Hey guys, I'm seeing 502 errors whenever I try to `charm attach` a resource. Is something wrong right now, or any idea what I might be doing wrong?
[19:31] <rick_h> uiteam ^ 
[19:32] <ryebot> rick_h: ah, sorry, didn't realize you were directing that at me earlier. lame question, but how can I reach them?
[19:33] <rick_h> ryebot: I'm poking them about it. 
[19:33] <ryebot> rick_h: oh, awesome, thank you
[19:38] <rogpeppe> ryebot: have you got the full comand output?
[19:38] <rogpeppe> ryebot: how big is the resource?
[19:38] <ryebot> 9.2MB, one sec I'll link you a gist
[19:38] <ryebot> https://gist.githubusercontent.com/wwwtyro/b8529784d99f7441f02c8b7935fdefdd/raw/282931bf827a4a6638e4b74b3e93ce58eb0ea4e6/gistfile1.txt
[19:42] <arosales> hmm did we lose rogpeppe ?
[19:42] <ryebot> arosales: seems like it
[19:43] <arosales> rick_h: any other folks aware of what may cause "ERROR can't upload resource: cannot post resource: cannot unmarshal error response"
[19:43] <arosales> blocking some of the k8 development atm :-/
[19:43] <rick_h> please have them jump in #juju-gui and complain there. 
[19:43] <arosales> rick_h: we are :-)
[19:43] <rick_h> arosales: ryebot's been hitting issues and roger is poking at it last I saw
[19:43] <arosales> that is ryebot 
[19:43] <ryebot> hello!
[19:44] <arosales> rick_h: indeed just looks like rog is no longer here
[19:44] <ryebot> :)
[19:44] <rick_h> arosales: doh, he's traveling on a train today so guessing he dropped 
[19:45] <arosales> We can also log a bug a Canonical Ltd, and hold tight there as well. Just wanted to check with folks here since it was holding up some of the k8 dev
[19:51] <arosales> ryebot: I wonder if you are hitting https://github.com/juju/charmstore-client/issues/96
[19:52] <ryebot> arosales: yeah, looks like the same 502
[19:54] <ryebot> arosales: My resource should be small enough (I've uploaded larger), and I am including the version. Hmm.
[19:55] <arosales> hmmm, indeed. Well I commented on https://github.com/juju/charmstore-client/issues/96
[19:56] <ryebot> fwiw, Cynerva was able to repro
[19:56] <arosales> if the uiteam has any sights on the failure, same problem as issue 96, of if we should open a new bug please give us a ping. 
[19:57] <rogpeppe> ryebot: sorry if you've responded to my questions - my connectivity is terrible currently. probably not worth trying to interact further.
[19:57] <rogpeppe> ryebot: (i'm in transit)
[19:57] <ryebot> rogpeppe: np, good luck!
[19:57] <arosales> rogpeppe: info @ https://github.com/juju/charmstore-client/issues/96
[19:57] <arosales> rogpeppe: and https://gist.githubusercontent.com/wwwtyro/b8529784d99f7441f02c8b7935fdefdd/raw/282931bf827a4a6638e4b74b3e93ce58eb0ea4e6/gistfile1.txt
[19:58] <rogpeppe> arosales: ta
[19:58] <arosales> rogpeppe: thanks for the help
[20:00] <rogpeppe> arosales: this does seem like the "large attachment" issue
[20:00] <rogpeppe> arosales: and to fix it we need to support multipart uploads, which is a big change
[20:00] <arosales> resource = 9.2MB
[20:00] <ryebot> rogpeppe even at 9.2MB?
[20:05] <rogpeppe> ryebot: hmm, hopefully not indeed
[20:05] <rogpeppe> ryebot: unless you've got a slow upload speed
[20:06] <ryebot> rogpeppe: 6Mbps, not stellar, but enough for larger uploads to work previously
[20:06] <rogpeppe> ryebot: yeah, should be fine. 30s is when things fall down.
[20:06] <ryebot> rogpeppe: ah cool good to know, I'm gonna time it
[20:07] <rogpeppe> ryebot: good idea
[20:07] <ryebot> rogpeppe: 17s
[20:47] <arosales> ryebot: could you also add that info to the issue?
[20:47] <ryebot> arosales: right away
[20:47] <arosales> upload speed and tine, specifically
[20:48] <ryebot> arosales: done
[20:49] <arosales> ryebot: thanks
[22:24] <ryebot> rogpeppe: arosales figured my problem out, user error
[22:29] <arosales> ryebot: a solution no less, what was the issue?
[22:29] <ryebot> arosales: I munged a metadata.yaml file incorrectly and ended up with stale resource definitions
[22:31] <arosales> ryebot: ah, glad you found the issue
[22:32] <ryebot> arosales: thanks :)
[22:41]  * arosales didn't do much but thanks to rick_h and rogpeppe for the replies here
[22:41] <arosales> ryebot: could you also reply in the issue with your results just for completeness?