[GH-ISSUE #43] Certificate problem #21

Closed
opened 2026-05-05 10:57:12 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @Green7 on GitHub (Nov 8, 2017).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/43

Hello
I can't connect to tunneld. I have error:
"msg certificate error err ptls: expecting 1 peer certificate, got 0"
Both client and server are on Windows. Both have certs files and files looks ok (I also tried files from tunnel\testdata directory).
Any idea what can cause the problem?

Originally created by @Green7 on GitHub (Nov 8, 2017). Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/43 Hello I can't connect to tunneld. I have error: "msg certificate error err ptls: expecting 1 peer certificate, got 0" Both client and server are on Windows. Both have certs files and files looks ok (I also tried files from tunnel\testdata directory). Any idea what can cause the problem?
Author
Owner

@mmatczuk commented on GitHub (Nov 9, 2017):

@Green7 you encountered this 262f210796/id/ptls.go (L28) my guess is that it's windows :) can you try recompiling on windows?

<!-- gh-comment-id:343084458 --> @mmatczuk commented on GitHub (Nov 9, 2017): @Green7 you encountered this https://github.com/mmatczuk/go-http-tunnel/blob/262f210796333627816787df6883acd4af461e7c/id/ptls.go#L28 my guess is that it's windows :) can you try recompiling on windows?
Author
Owner

@mmatczuk commented on GitHub (Nov 17, 2017):

Did you figure out what the problem was.

<!-- gh-comment-id:345238135 --> @mmatczuk commented on GitHub (Nov 17, 2017): Did you figure out what the problem was.
Author
Owner

@mmatczuk commented on GitHub (Nov 24, 2017):

This is probably fixed with #57 @Green7 could you verify?

<!-- gh-comment-id:346835240 --> @mmatczuk commented on GitHub (Nov 24, 2017): This is probably fixed with #57 @Green7 could you verify?
Author
Owner

@Green7 commented on GitHub (Nov 24, 2017):

It does not work for me. I send you PM

<!-- gh-comment-id:346845486 --> @Green7 commented on GitHub (Nov 24, 2017): It does not work for me. I send you PM
Author
Owner

@Green7 commented on GitHub (Nov 24, 2017):

Hej
Tak na szybko przetestowałem i nowa wersja nie działa.
Wygląda na to, że nowy tuneld nie nasłuchuje na porcie - coś zmieniłeś w
konfiguracji ?
Odpalam to ze skryptu więc u mnie konfiguracja się nie zmienia - stara
wersja nasłuchuje na porcie a nowa nie ...

2017-11-24 15:02 GMT+01:00 Michał Matczuk notifications@github.com:

This is probably fixed with #57
https://github.com/mmatczuk/go-http-tunnel/pull/57 @Green7
https://github.com/green7 could you verify?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mmatczuk/go-http-tunnel/issues/43#issuecomment-346835240,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKx6FyylTNpxnrvPanNYKlVFi-wJAqZSks5s5sx_gaJpZM4QWsWv
.

--
Pozdrawiam
Green

<!-- gh-comment-id:346846130 --> @Green7 commented on GitHub (Nov 24, 2017): Hej Tak na szybko przetestowałem i nowa wersja nie działa. Wygląda na to, że nowy tuneld nie nasłuchuje na porcie - coś zmieniłeś w konfiguracji ? Odpalam to ze skryptu więc u mnie konfiguracja się nie zmienia - stara wersja nasłuchuje na porcie a nowa nie ... 2017-11-24 15:02 GMT+01:00 Michał Matczuk <notifications@github.com>: > This is probably fixed with #57 > <https://github.com/mmatczuk/go-http-tunnel/pull/57> @Green7 > <https://github.com/green7> could you verify? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/mmatczuk/go-http-tunnel/issues/43#issuecomment-346835240>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AKx6FyylTNpxnrvPanNYKlVFi-wJAqZSks5s5sx_gaJpZM4QWsWv> > . > -- Pozdrawiam Green
Author
Owner

@mmatczuk commented on GitHub (Nov 24, 2017):

Domyślny port zmieniony jest na 5223. Protokół też się zmienił musisz mieć
nowy serwer i klienta.

W dniu pt., 24.11.2017 o 15:57 Green7 notifications@github.com napisał(a):

Hej
Tak na szybko przetestowałem i nowa wersja nie działa.
Wygląda na to, że nowy tuneld nie nasłuchuje na porcie - coś zmieniłeś w
konfiguracji ?
Odpalam to ze skryptu więc u mnie konfiguracja się nie zmienia - stara
wersja nasłuchuje na porcie a nowa nie ...

2017-11-24 15:02 GMT+01:00 Michał Matczuk notifications@github.com:

This is probably fixed with #57
https://github.com/mmatczuk/go-http-tunnel/pull/57 @Green7
https://github.com/green7 could you verify?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/mmatczuk/go-http-tunnel/issues/43#issuecomment-346835240
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AKx6FyylTNpxnrvPanNYKlVFi-wJAqZSks5s5sx_gaJpZM4QWsWv

.

--
Pozdrawiam
Green


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
https://github.com/mmatczuk/go-http-tunnel/issues/43#issuecomment-346846130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiwCjJrNXWqy3C-DxODYCL3VWcd8IDjks5s5tlDgaJpZM4QWsWv
.

--
MM

<!-- gh-comment-id:346849266 --> @mmatczuk commented on GitHub (Nov 24, 2017): Domyślny port zmieniony jest na 5223. Protokół też się zmienił musisz mieć nowy serwer i klienta. W dniu pt., 24.11.2017 o 15:57 Green7 <notifications@github.com> napisał(a): > Hej > Tak na szybko przetestowałem i nowa wersja nie działa. > Wygląda na to, że nowy tuneld nie nasłuchuje na porcie - coś zmieniłeś w > konfiguracji ? > Odpalam to ze skryptu więc u mnie konfiguracja się nie zmienia - stara > wersja nasłuchuje na porcie a nowa nie ... > > 2017-11-24 15:02 GMT+01:00 Michał Matczuk <notifications@github.com>: > > > This is probably fixed with #57 > > <https://github.com/mmatczuk/go-http-tunnel/pull/57> @Green7 > > <https://github.com/green7> could you verify? > > > > — > > You are receiving this because you were mentioned. > > Reply to this email directly, view it on GitHub > > < > https://github.com/mmatczuk/go-http-tunnel/issues/43#issuecomment-346835240 > >, > > or mute the thread > > < > https://github.com/notifications/unsubscribe-auth/AKx6FyylTNpxnrvPanNYKlVFi-wJAqZSks5s5sx_gaJpZM4QWsWv > > > > . > > > > > > -- > Pozdrawiam > Green > > — > You are receiving this because you commented. > > > Reply to this email directly, view it on GitHub > <https://github.com/mmatczuk/go-http-tunnel/issues/43#issuecomment-346846130>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/ABiwCjJrNXWqy3C-DxODYCL3VWcd8IDjks5s5tlDgaJpZM4QWsWv> > . > -- MM
Author
Owner

@Green7 commented on GitHub (Nov 24, 2017):

Ok, this was an error in configuration.
New version works :)

<!-- gh-comment-id:346866037 --> @Green7 commented on GitHub (Nov 24, 2017): Ok, this was an error in configuration. New version works :)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/go-http-tunnel#21
No description provided.