Alpha-test nouveau systeme de DNS

Bonsoir,
je viens de tester. c’est OK cela fonctionne

Stéphane

Dns la mesure du possible, pouvoir utiliser un port custom serait parfait

C’est le cas actuellement mais ça pose soucis avec Docker…

Bon. Alors un fixe , pas le choix

Je pense aussi sinon un paramètre en plus mais dans un second temps alors car sinon ça va être incompréhensible…

1 « J'aime »

Oui je suis parfaitement d’accord !

Ca sera fixé a 80 dans les prochaines version de jeedom core

1 « J'aime »

Salut Loïc . J’ai réinstallé Jeedom sur une autre machine dédiée à ça finalement.

Par contre le nouveau dns ne fonctionne pas; c’est comme ça depuis hier . L’ancien fonctionne.

Je ne crois pas avoir quelque chose dans mon log. Mais si tu en as besoin je vais regarder plus tard sur mon pc.

Oui la sans le log tunnel je peux rien faire…

Je ne vois pas de log tunnel ce coup-ci

sinon le log openvpn_DNS_Jeedom donne ça :

[2020-03-28 16:15:58][INFO] : Lancement openvpn : sudo openvpn --config /tmp/jeedom/openvpn/openvpn_27.ovpn >> /var/www/html/core/class/../../log/openvpn_DNS_Jeedom  2>&1 &
Sat Mar 28 16:15:58 2020 WARNING: file '/tmp/jeedom/openvpn/openvpn_auth_xxxxxxxxxxxxxxxxxxxxx.conf' is group or others accessible
Sat Mar 28 16:15:58 2020 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Sat Mar 28 16:15:58 2020 library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
Sat Mar 28 16:15:58 2020 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sat Mar 28 16:15:58 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]149.202.171.141:1197
Sat Mar 28 16:15:58 2020 UDP link local: (not bound)
Sat Mar 28 16:15:58 2020 UDP link remote: [AF_INET]149.202.171.141:1197
Sat Mar 28 16:15:58 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sat Mar 28 16:15:58 2020 VERIFY OK: depth=1, C=FR, ST=IDF, L=Paris, O=jeedom.com, OU=jeedom.com, CN=jeedom.com CA, name=jeedom, emailAddress=postmaster@jeedom.com
Sat Mar 28 16:15:58 2020 VERIFY OK: depth=0, C=FR, ST=IDF, L=Paris, O=jeedom.com, OU=jeedom.com, CN=server, name=jeedom, emailAddress=postmaster@jeedom.com
Sat Mar 28 16:15:58 2020 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 1024 bit RSA
Sat Mar 28 16:15:58 2020 [server] Peer Connection Initiated with [AF_INET]149.202.171.141:1197
Sat Mar 28 16:15:59 2020 Data Channel: using negotiated cipher 'AES-256-GCM'
Sat Mar 28 16:15:59 2020 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sat Mar 28 16:15:59 2020 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sat Mar 28 16:15:59 2020 TUN/TAP device tun0 opened
Sat Mar 28 16:15:59 2020 /sbin/ip link set dev tun0 up mtu 1500
Sat Mar 28 16:15:59 2020 /sbin/ip addr add dev tun0 local 10.12.6.166 peer 10.12.6.165
Sat Mar 28 16:15:59 2020 Initialization Sequence Completed

Tout est bon maintenant !

[2020-03-28 17:00:02][DEBUG] : Test access to backend1.eu.jeedom.link on port 30443
[2020-03-28 17:00:02][DEBUG] : Access is open, used it
2020/03/28 17:00:14 config server_addr: backend1.eu.jeedom.link:30443
tls_crt: client.crt
tls_key: client.key
root_ca: ""
backoff:
  interval: 500ms
  multiplier: 1.5
  max_interval: 1m0s
  max_time: 4m0s
tunnels:
  web:
    proto: http
    addr: http://localhost:80
    host: xxxxxxxxxxxx.eu.jeedom.link

2020/03/28 17:00:14 level 1 action start
2020/03/28 17:00:14 level 1 action dial network tcp addr backend1.eu.jeedom.link:30443
2020/03/28 17:00:15 level 1 action handshake addr 51.178.59.68:30443

Tu as fait quoi ?

Je ne savais pas si c’était moi ou vous de votre côté.

De mon côté j’ai redémarré mon routeur.

J,ai esseyé sous docker avec port 80, par curiosité. Ça fonctionne, mais je ne peux pas cliquer sur tout les onglet sous jeedom ( ex je ne peux pas voir les logs). Et au redémarage ca me remet l’erreur ‹ ‹ client not subscribed › › . à partir de là si je fait redémarer le dns ^ca va marcher au bout de 5 minuts environs.

Je ne peux pas tester plus je suis retourner sur mon install sous odroid xu4

A… La je pourrais pas te dire sans plus de details malheureusement, c’est dommage que tu puisses plus tester j’aurais bien aimer trouver.

Salut ,

Je peux retester sur une Jeedom vierge en ssh. Mais je ne sais pas trop quoi faire. Est-ce que tu veux que j’ouvre un ticket support?

Ben quand tu reproduis oui après j’ai corrigé des soucis aujourd’hui donc peut-être que tu reproduira pas

J,ai p-e un truc d’intéressant dans les logs. La connection à de la difficulté a survivre un redémarage du system.

[2020-03-30 16:20:02][DEBUG] : Test access to backend1.eu.jeedom.link on port 30443
[2020-03-30 16:20:02][DEBUG] : Access is open, used it
[2020-03-30 16:20:02][DEBUG] : Client id is : TUIFDA6-QQXWADS-AGUVHDA-OLSWMRZ-U7VZELM-K7RRQGQ-PH7N5BB-7HXPBAO
2020/03/30 16:20:02 config server_addr: backend1.eu.jeedom.link:30443
tls_crt: client.crt
tls_key: client.key
root_ca: ""
backoff:
interval: 500ms
multiplier: 1.5
max_interval: 1m0s
max_time: 4m0s
tunnels:
web:
proto: http
addr: http://localhost:80
host: xxxxxxxxxxxxxx.eu.jeedom.link
2020/03/30 16:20:02 level 1 action start
2020/03/30 16:20:02 level 1 action dial network tcp addr backend1.eu.jeedom.link:30443
2020/03/30 16:20:03 level 1 action handshake addr 51.178.56.15:30443
runtime: mlock of signal stack failed: 12
runtime: increase the mlock limit (ulimit -l) or
runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+
fatal error: mlock failed
runtime stack:
runtime.throw(0x7ad130, 0xc)
/usr/local/go/src/runtime/panic.go:1112 +0x72
runtime.mlockGsignal(0xc0004f2300)
/usr/local/go/src/runtime/os_linux_x86.go:72 +0x107
runtime.mpreinit(0xc000080e00)
/usr/local/go/src/runtime/os_linux.go:341 +0x78
runtime.mcommoninit(0xc000080e00)
/usr/local/go/src/runtime/proc.go:630 +0x108
runtime.allocm(0xc000038000, 0x7c7c58, 0x0)
/usr/local/go/src/runtime/proc.go:1390 +0x14e
runtime.newm(0x7c7c58, 0xc000038000)
/usr/local/go/src/runtime/proc.go:1704 +0x39
runtime.startm(0x0, 0xc0004a5501)
/usr/local/go/src/runtime/proc.go:1869 +0x12a
runtime.wakep(...)
/usr/local/go/src/runtime/proc.go:1953
runtime.resetspinning()
/usr/local/go/src/runtime/proc.go:2415 +0x93
runtime.schedule()
/usr/local/go/src/runtime/proc.go:2527 +0x2de
runtime.mstart1()
/usr/local/go/src/runtime/proc.go:1104 +0x8e
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1062 +0x6e
goroutine 1 [select]:
golang.org/x/net/http2.(*serverConn).serve(0xc000082300)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:812 +0x58a
golang.org/x/net/http2.(*Server).ServeConn(0xc000070680, 0x82f080, 0xc000080380, 0xc0001c5c78)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:434 +0x6f6
github.com/jeedom/gotunnel.(*Client).Start(0xc0000129c0, 0xc0000129c0, 0x0)
/usr/gotunnel/client.go:105 +0x1a2
main.main()
/usr/gotunnel/cmd/tunnel/tunnel.go:109 +0x7f0
goroutine 34 [IO wait]:
internal/poll.runtime_pollWait(0x7f10acbd1e38, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc0000a8298, 0x72, 0x1300, 0x1316, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0000a8280, 0xc0003f4000, 0x1316, 0x1316, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc0000a8280, 0xc0003f4000, 0x1316, 0x1316, 0x203000, 0x5f31a0, 0xc0000804b8)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00009c020, 0xc0003f4000, 0x1316, 0x1316, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
crypto/tls.(*atLeastReader).Read(0xc000205140, 0xc0003f4000, 0x1316, 0x1316, 0x2da, 0x1311, 0xc000055aa0)
/usr/local/go/src/crypto/tls/conn.go:760 +0x60
bytes.(*Buffer).ReadFrom(0xc0000805d8, 0x8269a0, 0xc000205140, 0x40b605, 0x74f040, 0x797100)
/usr/local/go/src/bytes/buffer.go:204 +0xb1
crypto/tls.(*Conn).readFromUntil(0xc000080380, 0x826c40, 0xc00009c020, 0x5, 0xc00009c020, 0x2c9)
/usr/local/go/src/crypto/tls/conn.go:782 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc000080380, 0x0, 0x0, 0xc000055d08)
/usr/local/go/src/crypto/tls/conn.go:589 +0x115
crypto/tls.(*Conn).readRecord(...)
/usr/local/go/src/crypto/tls/conn.go:557
crypto/tls.(*Conn).Read(0xc000080380, 0xc0000e22d8, 0x9, 0x9, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1233 +0x15b
io.ReadAtLeast(0x7f10adc13140, 0xc000080380, 0xc0000e22d8, 0x9, 0x9, 0x9, 0x100c0001422c8, 0x0, 0x1)
/usr/local/go/src/io/io.go:310 +0x87
io.ReadFull(...)
/usr/local/go/src/io/io.go:329
golang.org/x/net/http2.readFrameHeader(0xc0000e22d8, 0x9, 0x9, 0x7f10adc13140, 0xc000080380, 0x0, 0xc000000000, 0xc000055f28, 0xc0000aa3c0)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/frame.go:237 +0x87
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0000e22a0, 0xc000055ee0, 0x2, 0x0, 0x1)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/frame.go:492 +0xa1
golang.org/x/net/http2.(*serverConn).readFrames(0xc000082300)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:699 +0xa4
created by golang.org/x/net/http2.(*serverConn).serve
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:804 +0x349
goroutine 631 [select]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc0001ba460, 0xc0003066b0, 0x82d1c0, 0xc0003088c0)
/usr/local/go/src/net/http/httputil/reverseproxy.go:198 +0xb7
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/usr/local/go/src/net/http/httputil/reverseproxy.go:197 +0x1578
goroutine 811 [select]:
net/http.(*persistConn).writeLoop(0xc00013c900)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b
goroutine 810 [IO wait]:
internal/poll.runtime_pollWait(0x7f10adc17f80, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc000018b98, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000018b80, 0xc00009e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc000018b80, 0xc00009e000, 0x1000, 0x1000, 0x5f2e00, 0x5f3d47, 0xc000080548)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000532058, 0xc00009e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc00013c900, 0xc00009e000, 0x1000, 0x1000, 0x40665d, 0x60, 0x0)
/usr/local/go/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc000687f80)
/usr/local/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc000687f80, 0x1, 0xc0000aba40, 0xc000049cc8, 0x40b8f3, 0x757300, 0x5eee84)
/usr/local/go/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc00013c900)
/usr/local/go/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 770 [select]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc000520460, 0xc00039c650, 0x82d1c0, 0xc0000d6880)
/usr/local/go/src/net/http/httputil/reverseproxy.go:198 +0xb7
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/usr/local/go/src/net/http/httputil/reverseproxy.go:197 +0x1578
goroutine 692 [select]:
net/http.(*persistConn).writeLoop(0xc00013c5a0)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b
goroutine 194 [IO wait]:
internal/poll.runtime_pollWait(0x7f10acbd19d8, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc0004a0c18, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0004a0c00, 0xc0004e4000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc0004a0c00, 0xc0004e4000, 0x1000, 0x1000, 0x4369cc, 0xc000372b70, 0x45fe00)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0004a2028, 0xc0004e4000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc000342240, 0xc0004e4000, 0x1000, 0x1000, 0xc00049c7e0, 0xc000372c70, 0x406725)
/usr/local/go/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc000480a80)
/usr/local/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc000480a80, 0x1, 0x0, 0x0, 0x1, 0xc00049c700, 0x0)
/usr/local/go/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc000342240)
/usr/local/go/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 195 [select]:
net/http.(*persistConn).writeLoop(0xc000342240)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b
goroutine 794 [runnable]:
golang.org/x/net/http2.(*serverConn).writeHeaders(0xc000082300, 0xc0006b0dc0, 0xc0002e4000, 0x7, 0xa9af60)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2099 +0x16d
golang.org/x/net/http2.(*responseWriterState).writeChunk(0xc00050c480, 0xc0003fa000, 0x1a, 0x1000, 0xc000054de0, 0x737401, 0xc0000d6100)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2339 +0x33b
golang.org/x/net/http2.chunkWriter.Write(0xc00050c480, 0xc0003fa000, 0x1a, 0x1000, 0xc0000907b0, 0x828ba0, 0xc000483680)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2278 +0x49
bufio.(*Writer).Flush(0xc000482480, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:591 +0x75
golang.org/x/net/http2.(*responseWriter).Flush(0xc00031e098)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2449 +0x42
golang.org/x/net/http2.(*responseWriter).handlerDone(0xc00031e098)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2566 +0x46
golang.org/x/net/http2.(*serverConn).runHandler.func1(0xc00031e098, 0xc000054f8e, 0xc000082300)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2063 +0x2bf
golang.org/x/net/http2.(*serverConn).runHandler(0xc000082300, 0xc00031e098, 0xc0001ac500, 0xc000685300)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2067 +0xb7
created by golang.org/x/net/http2.(*serverConn).processHeaders
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1799 +0x468
goroutine 753 [chan receive]:
golang.org/x/net/http2.closeWaiter.Wait(...)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/http2.go:250
golang.org/x/net/http2.(*responseWriter).CloseNotify.func1(0xc00023a840, 0xc000520460)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2474 +0x34
created by golang.org/x/net/http2.(*responseWriter).CloseNotify
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2473 +0xf8
goroutine 765 [chan receive]:
golang.org/x/net/http2.closeWaiter.Wait(...)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/http2.go:250
golang.org/x/net/http2.(*responseWriter).CloseNotify.func1(0xc0006ae9c0, 0xc00020c850)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2474 +0x34
created by golang.org/x/net/http2.(*responseWriter).CloseNotify
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2473 +0xf8
goroutine 734 [select]:
net/http.(*persistConn).roundTrip(0xc0004e06c0, 0xc000680240, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:2498 +0x756
net/http.(*Transport).roundTrip(0xa685a0, 0xc000523000, 0x7ab692, 0x7, 0xa9af60)
/usr/local/go/src/net/http/transport.go:565 +0xad9
net/http.(*Transport).RoundTrip(0xa685a0, 0xc000523000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/roundtrip.go:17 +0x35
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc00011fb20, 0x82c840, 0xc00021c060, 0xc0003c3f00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:257 +0x2c2
github.com/jeedom/gotunnel.(*HTTPProxy).Proxy(0xc00011fb20, 0x7f10acb91040, 0xc00021c060, 0x8297e0, 0xc0004ff080, 0xc0006a4e00)
/usr/gotunnel/httpproxy.go:106 +0x2e9
github.com/jeedom/gotunnel.Proxy.func1(0x7f10acb91040, 0xc00021c060, 0x8297e0, 0xc0004ff080, 0xc0006a4e00)
/usr/gotunnel/proxy.go:40 +0x82
github.com/jeedom/gotunnel.(*Client).serveHTTP(0xc0000129c0, 0x82c840, 0xc00021c060, 0xc0003c3e00)
/usr/gotunnel/client.go:260 +0x4e5
net/http.HandlerFunc.ServeHTTP(0xc000098480, 0x82c840, 0xc00021c060, 0xc0003c3e00)
/usr/local/go/src/net/http/server.go:2012 +0x44
golang.org/x/net/http2.(*serverConn).runHandler(0xc000082300, 0xc00021c060, 0xc0003c3e00, 0xc00048cdc0)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2065 +0x8b
created by golang.org/x/net/http2.(*serverConn).processHeaders
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1799 +0x468
goroutine 630 [chan receive]:
golang.org/x/net/http2.closeWaiter.Wait(...)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/http2.go:250
golang.org/x/net/http2.(*responseWriter).CloseNotify.func1(0xc000528ae0, 0xc0001ba460)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2474 +0x34
created by golang.org/x/net/http2.(*responseWriter).CloseNotify
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2473 +0xf8
goroutine 766 [select]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc00020c850, 0xc000219360, 0x82d1c0, 0xc0001a9180)
/usr/local/go/src/net/http/httputil/reverseproxy.go:198 +0xb7
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/usr/local/go/src/net/http/httputil/reverseproxy.go:197 +0x1578
goroutine 851 [runnable]:
golang.org/x/net/http2.(*serverConn).writeFrameAsync(0xc000082300, 0x82a3e0, 0xa99d48, 0x0, 0x0)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:726
created by golang.org/x/net/http2.(*serverConn).startFrameWrite
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1105 +0x271
goroutine 775 [select]:
net/http.(*persistConn).writeLoop(0xc0004e06c0)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b
goroutine 776 [select]:
net/http.(*persistConn).roundTrip(0xc00013c900, 0xc000229b60, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:2498 +0x756
net/http.(*Transport).roundTrip(0xa685a0, 0xc00031bc00, 0x7ab692, 0x7, 0xa9af60)
/usr/local/go/src/net/http/transport.go:565 +0xad9
net/http.(*Transport).RoundTrip(0xa685a0, 0xc00031bc00, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/roundtrip.go:17 +0x35
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc00011fb20, 0x82c840, 0xc0006c0038, 0xc0000c3c00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:257 +0x2c2
github.com/jeedom/gotunnel.(*HTTPProxy).Proxy(0xc00011fb20, 0x7f10acb91040, 0xc0006c0038, 0x8297e0, 0xc000680540, 0xc000308f00)
/usr/gotunnel/httpproxy.go:106 +0x2e9
github.com/jeedom/gotunnel.Proxy.func1(0x7f10acb91040, 0xc0006c0038, 0x8297e0, 0xc000680540, 0xc000308f00)
/usr/gotunnel/proxy.go:40 +0x82
github.com/jeedom/gotunnel.(*Client).serveHTTP(0xc0000129c0, 0x82c840, 0xc0006c0038, 0xc000523300)
/usr/gotunnel/client.go:260 +0x4e5
net/http.HandlerFunc.ServeHTTP(0xc000098480, 0x82c840, 0xc0006c0038, 0xc000523300)
/usr/local/go/src/net/http/server.go:2012 +0x44
golang.org/x/net/http2.(*serverConn).runHandler(0xc000082300, 0xc0006c0038, 0xc000523300, 0xc000184be0)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2065 +0x8b
created by golang.org/x/net/http2.(*serverConn).processHeaders
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1799 +0x468
goroutine 629 [select]:
net/http.(*persistConn).roundTrip(0xc000342240, 0xc000486bd0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:2498 +0x756
net/http.(*Transport).roundTrip(0xa685a0, 0xc0000c2e00, 0x7ab692, 0x7, 0xa9af60)
/usr/local/go/src/net/http/transport.go:565 +0xad9
net/http.(*Transport).RoundTrip(0xa685a0, 0xc0000c2e00, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/roundtrip.go:17 +0x35
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc00011fb20, 0x82c840, 0xc000532008, 0xc0000c2d00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:257 +0x2c2
github.com/jeedom/gotunnel.(*HTTPProxy).Proxy(0xc00011fb20, 0x7f10acb91040, 0xc000532008, 0x8297e0, 0xc000486ae0, 0xc0003087c0)
/usr/gotunnel/httpproxy.go:106 +0x2e9
github.com/jeedom/gotunnel.Proxy.func1(0x7f10acb91040, 0xc000532008, 0x8297e0, 0xc000486ae0, 0xc0003087c0)
/usr/gotunnel/proxy.go:40 +0x82
github.com/jeedom/gotunnel.(*Client).serveHTTP(0xc0000129c0, 0x82c840, 0xc000532008, 0xc0000c2c00)
/usr/gotunnel/client.go:260 +0x4e5
net/http.HandlerFunc.ServeHTTP(0xc000098480, 0x82c840, 0xc000532008, 0xc0000c2c00)
/usr/local/go/src/net/http/server.go:2012 +0x44
golang.org/x/net/http2.(*serverConn).runHandler(0xc000082300, 0xc000532008, 0xc0000c2c00, 0xc0005066e0)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2065 +0x8b
created by golang.org/x/net/http2.(*serverConn).processHeaders
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1799 +0x468
goroutine 805 [chan receive]:
golang.org/x/net/http2.closeWaiter.Wait(...)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/http2.go:250
golang.org/x/net/http2.(*responseWriter).CloseNotify.func1(0xc00049d7a0, 0xc0001ba770)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2474 +0x34
created by golang.org/x/net/http2.(*responseWriter).CloseNotify
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2473 +0xf8
goroutine 774 [IO wait]:
internal/poll.runtime_pollWait(0x7f10acbd1b98, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc0000a9218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0000a9200, 0xc0002e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc0000a9200, 0xc0002e2000, 0x1000, 0x1000, 0x5f2e00, 0x5f3d47, 0xc000080548)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0006c0030, 0xc0002e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc0004e06c0, 0xc0002e2000, 0x1000, 0x1000, 0x40665d, 0x60, 0x0)
/usr/local/go/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc000380ea0)
/usr/local/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc000380ea0, 0x1, 0xc0006ae960, 0x40a50b, 0xc00028c000, 0xc00004a700, 0x7f10d60a6080)
/usr/local/go/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc0004e06c0)
/usr/local/go/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 691 [IO wait]:
internal/poll.runtime_pollWait(0x7f10acbd1ab8, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc000240198, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000240180, 0xc00043f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc000240180, 0xc00043f000, 0x1000, 0x1000, 0x4369cc, 0xc00053ab70, 0x45fe00)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000010080, 0xc00043f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc00013c5a0, 0xc00043f000, 0x1000, 0x1000, 0xc0000ab020, 0xc00053ac70, 0x406725)
/usr/local/go/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc0002c3080)
/usr/local/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc0002c3080, 0x1, 0x0, 0x0, 0x1, 0xc0000ab600, 0x0)
/usr/local/go/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc00013c5a0)
/usr/local/go/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 828 [IO wait]:
internal/poll.runtime_pollWait(0x7f10adc17ce0, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc0000d8e98, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0000d8e80, 0xc0000ee000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc0000d8e80, 0xc0000ee000, 0x1000, 0x1000, 0x4369cc, 0xc000057b70, 0x45fe00)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00031e0c0, 0xc0000ee000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc00052c5a0, 0xc0000ee000, 0x1000, 0x1000, 0xc000314120, 0xc000057c70, 0x406725)
/usr/local/go/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc0000f1e00)
/usr/local/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc0000f1e00, 0x1, 0x0, 0x0, 0x1, 0xc000314000, 0x0)
/usr/local/go/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc00052c5a0)
/usr/local/go/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 829 [select]:
net/http.(*persistConn).writeLoop(0xc00052c5a0)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b

encore une fois, quand j’essaiwe d’accèder en externe :

[2020-03-30 16:25:01][DEBUG] : Test access to backend1.eu.jeedom.link on port 30443
[2020-03-30 16:25:01][DEBUG] : Access is open, used it
[2020-03-30 16:25:01][DEBUG] : Client id is : TUIFDA6-QQXWADS-AGUVHDA-OLSWMRZ-U7VZELM-K7RRQGQ-PH7N5BB-7HXPBAO
2020/03/30 16:25:03 config server_addr: backend1.eu.jeedom.link:30443
tls_crt: client.crt
tls_key: client.key
root_ca: «  »
backoff:
interval: 500ms
multiplier: 1.5
max_interval: 1m0s
max_time: 4m0s
tunnels:
web:
proto: http
addr: http://localhost:80
host: xxxxxxxx.eu.jeedom.link
2020/03/30 16:25:03 level 1 action start
2020/03/30 16:25:03 level 1 action dial network tcp addr backend1.eu.jeedom.link:30443
2020/03/30 16:25:03 level 1 action handshake addr 51.178.56.15:30443
runtime: mlock of signal stack failed: 12
runtime: increase the mlock limit (ulimit -l) or
runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+
fatal error: mlock failed
runtime stack:
runtime.throw(0x7ad130, 0xc)
/usr/local/go/src/runtime/panic.go:1112 +0x72
runtime.mlockGsignal(0xc000426300)
/usr/local/go/src/runtime/os_linux_x86.go:72 +0x107
runtime.mpreinit(0xc000600700)
/usr/local/go/src/runtime/os_linux.go:341 +0x78
runtime.mcommoninit(0xc000600700)
/usr/local/go/src/runtime/proc.go:630 +0x108
runtime.allocm(0xc00003a800, 0x7c7c58, 0x0)
/usr/local/go/src/runtime/proc.go:1390 +0x14e
runtime.newm(0x7c7c58, 0xc00003a800)
/usr/local/go/src/runtime/proc.go:1704 +0x39
runtime.startm(0x0, 0xc000269201)
/usr/local/go/src/runtime/proc.go:1869 +0x12a
runtime.wakep(…)
/usr/local/go/src/runtime/proc.go:1953
runtime.resetspinning()
/usr/local/go/src/runtime/proc.go:2415 +0x93
runtime.schedule()
/usr/local/go/src/runtime/proc.go:2527 +0x2de
runtime.park_m(0xc00030f980)
/usr/local/go/src/runtime/proc.go:2690 +0x9d
runtime.mcall(0x800000)
/usr/local/go/src/runtime/asm_amd64.s:318 +0x5b
goroutine 1 [select]:
The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:812 +0x58a
The Go Programming Language(0xc0000706c0, 0x82f080, 0xc00021c000, 0xc0001c5c78)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:434 +0x6f6
github.com/jeedom/gotunnel.(*Client).Start(0xc0000129c0, 0xc0000129c0, 0x0)
/usr/gotunnel/client.go:105 +0x1a2
main.main()
/usr/gotunnel/cmd/tunnel/tunnel.go:109 +0x7f0
goroutine 10 [IO wait]:
internal/poll.runtime_pollWait(0x7f288c13ff18, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc000018798, 0x72, 0x1300, 0x1352, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(…)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000018780, 0xc0002ca000, 0x1352, 0x1352, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc000018780, 0xc0002ca000, 0x1352, 0x1352, 0x203000, 0x5f31a0, 0xc00021c138)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000216000, 0xc0002ca000, 0x1352, 0x1352, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
crypto/tls.(*atLeastReader).Read(0xc000224980, 0xc0002ca000, 0x1352, 0x1352, 0x381, 0x134d, 0xc000054aa0)
/usr/local/go/src/crypto/tls/conn.go:760 +0x60
bytes.(*Buffer).ReadFrom(0xc00021c258, 0x8269a0, 0xc000224980, 0x40b605, 0x74f040, 0x797100)
/usr/local/go/src/bytes/buffer.go:204 +0xb1
crypto/tls.(*Conn).readFromUntil(0xc00021c000, 0x826c40, 0xc000216000, 0x5, 0xc000216000, 0x370)
/usr/local/go/src/crypto/tls/conn.go:782 +0xec
crypto/tls.(*Conn).readRecordOrCCS(0xc00021c000, 0x0, 0x0, 0x444f6c)
/usr/local/go/src/crypto/tls/conn.go:589 +0x115
crypto/tls.(*Conn).readRecord(…)
/usr/local/go/src/crypto/tls/conn.go:557
crypto/tls.(*Conn).Read(0xc00021c000, 0xc0002542d8, 0x9, 0x9, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1233 +0x15b
io.ReadAtLeast(0x7f288c0ff140, 0xc00021c000, 0xc0002542d8, 0x9, 0x9, 0x9, 0xc000142320, 0x0, 0x1)
/usr/local/go/src/io/io.go:310 +0x87
io.ReadFull(…)
/usr/local/go/src/io/io.go:329
The Go Programming Language(0xc0002542d8, 0x9, 0x9, 0x7f288c0ff140, 0xc00021c000, 0x0, 0xc000000000, 0x0, 0xc000226240)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/frame.go:237 +0x87
The Go Programming Language(0xc0002542a0, 0xc000054ee0, 0x2, 0x0, 0x1)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/frame.go:492 +0xa1
The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:699 +0xa4
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:804 +0x349
goroutine 595 [select]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc0000d8690, 0xc000098c40, 0x82d1c0, 0xc000070d80)
/usr/local/go/src/net/http/httputil/reverseproxy.go:198 +0xb7
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/usr/local/go/src/net/http/httputil/reverseproxy.go:197 +0x1578
goroutine 670 [select]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc0000d8930, 0xc0000992b0, 0x82d1c0, 0xc000071640)
/usr/local/go/src/net/http/httputil/reverseproxy.go:198 +0xb7
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/usr/local/go/src/net/http/httputil/reverseproxy.go:197 +0x1578
goroutine 712 [select]:
net/http.(*persistConn).roundTrip(0xc0000ca7e0, 0xc000492f90, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:2498 +0x756
net/http.(*Transport).roundTrip(0xa685a0, 0xc00048ff00, 0x7ab692, 0x7, 0xa9af60)
/usr/local/go/src/net/http/transport.go:565 +0xad9
net/http.(*Transport).RoundTrip(0xa685a0, 0xc00048ff00, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/roundtrip.go:17 +0x35
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc00011fb20, 0x82c840, 0xc000010070, 0xc0005aeb00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:257 +0x2c2
github.com/jeedom/gotunnel.(*HTTPProxy).Proxy(0xc00011fb20, 0x7f288d181008, 0xc000010070, 0x8297e0, 0xc000492e40, 0xc000249540)
/usr/gotunnel/httpproxy.go:106 +0x2e9
github.com/jeedom/gotunnel.Proxy.func1(0x7f288d181008, 0xc000010070, 0x8297e0, 0xc000492e40, 0xc000249540)
/usr/gotunnel/proxy.go:40 +0x82
github.com/jeedom/gotunnel.(*Client).serveHTTP(0xc0000129c0, 0x82c840, 0xc000010070, 0xc00048fe00)
/usr/gotunnel/client.go:260 +0x4e5
net/http.HandlerFunc.ServeHTTP(0xc000246400, 0x82c840, 0xc000010070, 0xc00048fe00)
/usr/local/go/src/net/http/server.go:2012 +0x44
The Go Programming Language(0xc000268000, 0xc000010070, 0xc00048fe00, 0xc000224900)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2065 +0x8b
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1799 +0x468
goroutine 668 [select]:
The Go Programming Language(0xc000268000, 0xc00032cf20, 0xc0006be5b0, 0x7, 0xa9af60)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2099 +0x16d
The Go Programming Language(0xc000314180, 0xc00031f000, 0x1000, 0x1000, 0xc000502878, 0x4075ab, 0xc000480060)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2339 +0x33b
The Go Programming Language(0xc000314180, 0xc00031f000, 0x1000, 0x1000, 0xc000480060, 0x686a7f, 0xc000083380)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2278 +0x49
bufio.(*Writer).Flush(0xc000312100, 0xc0006b6000, 0x11a)
/usr/local/go/src/bufio/bufio.go:591 +0x75
bufio.(*Writer).Write(0xc000312100, 0xc0006b6000, 0x10ad, 0x8000, 0x0, 0xc000502970, 0x694fc1)
/usr/local/go/src/bufio/bufio.go:627 +0xfa
The Go Programming Language(0xc00009c078, 0x10ad, 0xc0006b6000, 0x10ad, 0x8000, 0x0, 0x0, 0xc0002495d0, 0xc0002495d0, 0x7c7da8)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2556 +0xeb
The Go Programming Language(0xc00009c078, 0xc0006b6000, 0x10ad, 0x8000, 0x10ad, 0x826a60, 0xc00005c060)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2530 +0x56
net/http/httputil.(*ReverseProxy).copyBuffer(0xc00011fb20, 0x7f288d181008, 0xc00009c078, 0x826d20, 0xc0002495c0, 0xc0006b6000, 0x8000, 0x8000, 0xc0000e6000, 0x74f040, …)
/usr/local/go/src/net/http/httputil/reverseproxy.go:421 +0x1c4
net/http/httputil.(*ReverseProxy).copyResponse(0xc00011fb20, 0x7f288d181008, 0xc00009c078, 0x826d20, 0xc0002495c0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/httputil/reverseproxy.go:404 +0xe2
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc00011fb20, 0x82c840, 0xc00009c078, 0xc00048fc00)
/usr/local/go/src/net/http/httputil/reverseproxy.go:297 +0x812
github.com/jeedom/gotunnel.(*HTTPProxy).Proxy(0xc00011fb20, 0x7f288d181008, 0xc00009c078, 0x8297e0, 0xc0001e3a10, 0xc00008eb40)
/usr/gotunnel/httpproxy.go:106 +0x2e9
github.com/jeedom/gotunnel.Proxy.func1(0x7f288d181008, 0xc00009c078, 0x8297e0, 0xc0001e3a10, 0xc00008eb40)
/usr/gotunnel/proxy.go:40 +0x82
github.com/jeedom/gotunnel.(*Client).serveHTTP(0xc0000129c0, 0x82c840, 0xc00009c078, 0xc000150500)
/usr/gotunnel/client.go:260 +0x4e5
net/http.HandlerFunc.ServeHTTP(0xc000246400, 0x82c840, 0xc00009c078, 0xc000150500)
/usr/local/go/src/net/http/server.go:2012 +0x44
The Go Programming Language(0xc000268000, 0xc00009c078, 0xc000150500, 0xc00064af60)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2065 +0x8b
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1799 +0x468
goroutine 714 [select]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc00064c8c0, 0xc0001f5190, 0x82d1c0, 0xc00008ec40)
/usr/local/go/src/net/http/httputil/reverseproxy.go:198 +0xb7
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/usr/local/go/src/net/http/httputil/reverseproxy.go:197 +0x1578
goroutine 463 [select]:
net/http.(*persistConn).roundTrip(0xc0004c2360, 0xc0001e2cf0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:2498 +0x756
net/http.(*Transport).roundTrip(0xa685a0, 0xc0003d7600, 0x7ab692, 0x7, 0xa9af60)
/usr/local/go/src/net/http/transport.go:565 +0xad9
net/http.(*Transport).RoundTrip(0xa685a0, 0xc0003d7600, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/roundtrip.go:17 +0x35
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc00011fb20, 0x82c840, 0xc000010030, 0xc0003d7500)
/usr/local/go/src/net/http/httputil/reverseproxy.go:257 +0x2c2
github.com/jeedom/gotunnel.(*HTTPProxy).Proxy(0xc00011fb20, 0x7f288d181008, 0xc000010030, 0x8297e0, 0xc000492420, 0xc000070d00)
/usr/gotunnel/httpproxy.go:106 +0x2e9
github.com/jeedom/gotunnel.Proxy.func1(0x7f288d181008, 0xc000010030, 0x8297e0, 0xc000492420, 0xc000070d00)
/usr/gotunnel/proxy.go:40 +0x82
github.com/jeedom/gotunnel.(*Client).serveHTTP(0xc0000129c0, 0x82c840, 0xc000010030, 0xc00048ea00)
/usr/gotunnel/client.go:260 +0x4e5
net/http.HandlerFunc.ServeHTTP(0xc000246400, 0x82c840, 0xc000010030, 0xc00048ea00)
/usr/local/go/src/net/http/server.go:2012 +0x44
The Go Programming Language(0xc000268000, 0xc000010030, 0xc00048ea00, 0xc0002244c0)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2065 +0x8b
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1799 +0x468
goroutine 669 [chan receive]:
The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/http2.go:250
The Go Programming Language(0xc0003bef00, 0xc0000d8930)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2474 +0x34
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2473 +0xf8
goroutine 607 [select]:
net/http.(*persistConn).writeLoop(0xc000362240)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b
goroutine 713 [chan receive]:
The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/http2.go:250
The Go Programming Language(0xc00049afc0, 0xc00064c8c0)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2474 +0x34
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2473 +0xf8
goroutine 183 [runnable]:
net/textproto.(*Reader).ReadMIMEHeader(0xc000621ba8, 0x8, 0x1, 0x1)
/usr/local/go/src/net/textproto/reader.go:497 +0x95
net/http.ReadResponse(0xc000610b40, 0xc00048ff00, 0x0, 0x4, 0xc00007e390)
/usr/local/go/src/net/http/response.go:191 +0x429
net/http.(*persistConn).readResponse(0xc0000ca7e0, 0xc00048ff00, 0xc00049b140, 0x0, 0x0, 0xc00049b0e0, 0x0, 0xc000648f30, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:2172 +0x85
net/http.(*persistConn).readLoop(0xc0000ca7e0)
/usr/local/go/src/net/http/transport.go:1993 +0x116d
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 184 [select]:
net/http.(*persistConn).writeLoop(0xc0000ca7e0)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b
goroutine 386 [IO wait]:
internal/poll.runtime_pollWait(0x7f288c13f2d8, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc00049d898, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(…)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00049d880, 0xc0003f9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc00049d880, 0xc0003f9000, 0x1000, 0x1000, 0x4369cc, 0xc000270b70, 0x45fe00)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc000596070, 0xc0003f9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc0004c2360, 0xc0003f9000, 0x1000, 0x1000, 0xc000591020, 0xc000270c70, 0x406725)
/usr/local/go/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc0002136e0)
/usr/local/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc0002136e0, 0x1, 0x0, 0x0, 0x1, 0xc0000aa800, 0x0)
/usr/local/go/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc0004c2360)
/usr/local/go/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 387 [select]:
net/http.(*persistConn).writeLoop(0xc0004c2360)
/usr/local/go/src/net/http/transport.go:2277 +0x11c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1648 +0xc7b
goroutine 594 [chan receive]:
The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/http2.go:250
The Go Programming Language(0xc00049a420, 0xc0000d8690)
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2474 +0x34
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:2473 +0xf8
goroutine 606 [IO wait]:
internal/poll.runtime_pollWait(0x7f288c13fab8, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc0002b0998, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(…)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0002b0980, 0xc0003f5000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc0002b0980, 0xc0003f5000, 0x1000, 0x1000, 0x4369cc, 0xc000420b70, 0x45fe00)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00009c068, 0xc0003f5000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:184 +0x8e
net/http.(*persistConn).Read(0xc000362240, 0xc0003f5000, 0x1000, 0x1000, 0xc0003bede0, 0xc000420c70, 0x406725)
/usr/local/go/src/net/http/transport.go:1825 +0x75
bufio.(*Reader).fill(0xc0002675c0)
/usr/local/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).Peek(0xc0002675c0, 0x1, 0x0, 0x0, 0x1, 0xc0003bf000, 0x0)
/usr/local/go/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc000362240)
/usr/local/go/src/net/http/transport.go:1978 +0x1a8
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1647 +0xc56
goroutine 715 [running]:
goroutine running on other thread; stack unavailable
created by The Go Programming Language
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20171123081856-c7086645de24/http2/server.go:1105 +0x271