[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-30 Thread Mahdi Ziraki
heney wrote: > > Can any windows users reproduce this issue? > > On Friday, 30 December 2016 08:48:36 UTC+11, Mahdi Ziraki wrote: >> >> it's response with http/1.1 not just in chrome for windows, it has same >> issue with edge & firefox too! and it's beh

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
nothing found! On Friday, December 30, 2016 at 2:59:33 AM UTC+3:30, r...@skyportsystems.com wrote: > > is it possible your windows host is behind either an explicit proxy or a > transparent proxy (like bluecoat)? > > for the explicit case, > > reg query > "HKEY_CURRENT_USER\Software\Micro

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
can you suggest any solution about how can I fix this? On Friday, December 30, 2016 at 1:46:30 AM UTC+3:30, Dave Cheney wrote: > > Can any windows users reproduce this issue? > > On Friday, 30 December 2016 08:48:36 UTC+11, Mahdi Ziraki wrote: >> >> it's response wit

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
so far: firefox & chrome Ubuntu 16.0.4 works fine. firefox & chrome Android 7.1.1 works fine. edge, firefox & chrome Windows 10 returns http/1.1 (but it works fine with "github.com/davecheney/httpstat") On Friday, December 30, 2016 at 12:11:21 AM UTC+3:30, Mahdi Ziraki

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
it's response with http/1.1 not just in chrome for windows, it has same issue with edge & firefox too! and it's behaving like this just for golang code, it's ok for other sites (google, youtube & etc.) On Friday, December 30, 2016 at 1:09:02 AM UTC+3:30, Dave Cheney wrote: > > Right, so it's a b

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
I tested httpstat and got http/2, so how http2 in all windows browsers (edge, firefox, chrome) have same bug?! On Friday, December 30, 2016 at 1:01:38 AM UTC+3:30, Dave Cheney wrote: > > You could try > > GitHub.com/davecheney/httpstat > > Which is a simple curl replacement written in Go which

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
I tested this on 2 PCs and got same issue. then on android it was ok. at last on ubuntu it was ok too. On Friday, December 30, 2016 at 1:00:14 AM UTC+3:30, Dave Cheney wrote: > > Either this is a bug in chrome on windows, or it's something related to > your network setup. > > I don't think the b

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
I used this sample code: package main import ( "fmt" "log" "net/http" "strings" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) { w.Write([]byte(formatRequest(req))) }) log.Fatalln(http.ListenAndServeTLS(":443", "certificate.crt", "private.key", nil)) } func

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
yes, but I use same VPN that I use in my phone! but it's behaving like this only on Windows, and it's ok on Linux Ubuntu & Android! On Friday, December 30, 2016 at 12:50:20 AM UTC+3:30, Dave Cheney wrote: > > Do you have any av software on your computer that may be enforcing a proxy? > > Does you

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
it's fine in chrome for android but not in chrome for windows (or any other browsers for windows)! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+un

[go-nuts] https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread Mahdi Ziraki
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

[go-nuts] Re: NPN disabled in chrome

2016-12-29 Thread Mahdi Ziraki
I found out NPN is not the issue, because golang supports ALPN but I don't know what's the reason to this issue. I ran a test on a PC & Android and got this: https://github.com/golang/go/issues/18462#issuecomment-269681906 On Thursday, December 29, 2016 at 9:49:16 PM UTC+3:30