I think your issue is the one that Cory reported on about the resource
being to big of a blob for the charm store to process. I think his resource
was at 90M while yours is 720M. See here:
https://github.com/CanonicalLtd/jujucharms.com/issues/332

According to the bug it doesn't seem like a trivial fix so it may take some
time but the right people are aware of it and will get it addressed.

On Sun, Feb 5, 2017 at 10:58 AM Merlijn Sebrechts <
merlijn.sebrec...@gmail.com> wrote:

> Update: Specified the specific revision in my push command and now it
> fails in a different way:
>
>
> $charm attach ~tengu-team/apache-nifi-1
> apache-nifi=./nifi-1.1.1-bin.tar.gz
> ERROR can't upload resource: cannot post resource: cannot unmarshal error
> response "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
> 2.0//EN\">\n<html><head>\n<title>502 Proxy
> Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server
> received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy
> server could not handle the request <em><a
> href=\"/charmstore/v5/~tengu-team/apache-nifi-1/resource/apache-nifi\">POST&nbsp;/charmstore/v5/~tengu-team/apache-nifi-1/resource/apache-nifi</a></em>.<p>\nReason:
> <strong>Error reading from remote
> server</strong></p></p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at
> api.jujucharms.com Port 443</address>\n</body></html>\n": invalid
> character '<' looking for beginning of value
>
>
>
> 2017-02-05 15:51 GMT+01:00 Adam Stokes <adam.sto...@canonical.com>:
>
> https://github.com/juju/charmstore-client/issues/96
>
> No one from that team has provided any additional input, even though I've
> been asking and this is obviously a huge problem for users in general.
>
> On Sun, Feb 5, 2017, 8:13 AM Merlijn Sebrechts <
> merlijn.sebrec...@gmail.com> wrote:
>
> Hi all
>
>
> Uploading resources to the Charm store still fails for me. It seems this
> is still the same error that I had back in Juli:
> https://bugs.launchpad.net/ubuntu/+source/charm/+bug/1592822.
>
> What I run:
>
> wget http://apache.belnet.be/nifi/1.1.1/nifi-1.1.1-bin.tar.gz
> charm attach ~tengu-team/apache-nifi apache-nifi=./nifi-1.1.1-bin.tar.gz
>
> What I get:
>
> ERROR can't upload resource: cannot post resource: cannot unmarshal error
> response "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
> 2.0//EN\">\n<html><head>\n<title>502 Bad
> Gateway</title>\n</head><body>\n<h1>Bad Gateway</h1>\n<p>The proxy server
> received an invalid\r\nresponse from an upstream server.<br
> />\r\n</p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at
> api.jujucharms.com Port 443</address>\n</body></html>\n": invalid
> character '<' looking for beginning of value
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to