2016. július 14., csütörtök 18:57:27 UTC+2 időpontban Gergely Imreh a 
következőt írta:
>
> Hi,
>
> I'm trying out camlistore, using the tip of the master branch, and run 
> into an issue with http/2, not letting me to connect to the server on the 
> command line, while the browser UI connection works fine.
>
> I'm packaging up camlistore as a Docker container to run on the resin.io 
> platform, basically being easily deployed to single board computer devices 
> (such as Raspberry Pi, Beaglebone, Intel Edison, etc...) The repo of the 
> container source is here: 
> https://github.com/resin-io-playground/camlistore-server
>
> On resin, the devices can be accessed over the net through a public device 
> URL. The address "https://<UUID>.resindevice.io" is proxied over VPN to 
> the device, to port 80. Thus I've set listen:":80" and 
> baseURL:"https://<UUID>.resindevice.io" in server-config.json. Over the 
> web UI I can connect, upload, change settings, everything.
>
> When using command line tools, on the other hand, I run into this error, 
> for example in the case of "camput file SOMEFILENAME":
> Error putting file: Get https://<UUID>.resindevice.io: http2: unexpected 
> ALPN protocol ""; want "h2"
>
> That https proxy indeed does not have http/2 / ALPN enabled, does that 
> mean the command line tools cannot connect anymore?
>
> Looks like using the 0.8 release command line tools can work with the same 
> server just fine (server compiled either from 0.8 or master branch). Also, 
> using the master branch, can successfully use localhost dev server fine.
>
> Any ideas how to deal with this?
>
> Cheers,
>    Greg
>

Any difference by compiling with go1.7rc1 either 0.8 or master ?
I think this has to be a proxy error. 
To locate it, can you check the camlistored whether it gets the connection 
at all when you try the cli tool? If yes, then that's strange :)
If not, then maybe you have to degrade the protocol to HTTPS 1.1 somehow at 
the proxy level, or by adding another proxy...

-- 
You received this message because you are subscribed to the Google Groups 
"Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to