Times out #6

Closed
opened 2025-12-29 01:19:18 +01:00 by adam · 29 comments
Owner

Originally created by @Juliaria08 on GitHub (Jun 1, 2021).

It does not work when i run tailscale up --login-server https://vpn.*.duckdns.org --authkey *

Originally created by @Juliaria08 on GitHub (Jun 1, 2021). It does not work when i run `tailscale up --login-server https://vpn.*.duckdns.org --authkey *`
adam closed this issue 2025-12-29 01:19:18 +01:00
Author
Owner

@juanfont commented on GitHub (Jun 1, 2021):

Hi @Juliaria08,

Can you add more details?

If you do curl https://vpn.*.duckdns.org/key do you get any response?

Thanks!

@juanfont commented on GitHub (Jun 1, 2021): Hi @Juliaria08, Can you add more details? If you do `curl https://vpn.*.duckdns.org/key` do you get any response? Thanks!
Author
Owner

@Juliaria08 commented on GitHub (Jun 1, 2021):

@juanfont
Yes, i get a machine id
Down i have added more details.

The default client tries to get /machine/ endpoint

[GIN] 2021/06/01 - 12:31:26 | 404 |         437ns |    0.0.0.0  | GET      "/machine/-"
[GIN] 2021/06/01 - 12:31:45 | 404 |       1.174µs |    0.0.0.0  | GET      "/machine/-"

How i cloud force the system to not use DERP?

Full log without Ip:

2021/06/01 12:35:17 Could not load DERP servers map file: yaml: unmarshal errors:
  line 18: cannot unmarshal !!str `derptes...` into int
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /key                      --> github.com/juanfont/headscale.(*Headscale).KeyHandler-fm (3 handlers)
[GIN-debug] GET    /register                 --> github.com/juanfont/headscale.(*Headscale).RegisterWebAPI-fm (3 handlers)
[GIN-debug] POST   /machine/:id/map          --> github.com/juanfont/headscale.(*Headscale).PollNetMapHandler-fm (3 handlers)
[GIN-debug] POST   /machine/:id              --> github.com/juanfont/headscale.(*Headscale).RegistrationHandler-fm (3 handlers)
[GIN-debug] Listening and serving HTTP on 127.0.0.1:8084
2021/06/01 12:35:23 We dont know anything about the new key. WTF
[GIN] 2021/06/01 - 12:35:23 | 200 |    1.023052ms |  | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
[GIN] 2021/06/01 - 12:35:24 | 404 |         644ns |     | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
2021/06/01 12:35:36 Cannot decode message: response missing nonce, len=0
[GIN] 2021/06/01 - 12:35:36 | 500 |      90.454µs |   | POST     "/machine/ba523801c964cf5205a0c23d782fa9bbdb3405d067860f013d89e5f3ded7835c"
2021/06/01 12:35:39 Cannot decode message: response missing nonce, len=0
[GIN] 2021/06/01 - 12:35:39 | 500 |      61.879µs |   | POST     "/machine/ba523801c964cf5205a0c23d782fa9bbdb3405d067860f013d89e5f3ded7835c"
2021/06/01 12:35:39 We dont know anything about the new key. WTF
[GIN] 2021/06/01 - 12:35:39 | 200 |     783.518µs |   | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
[GIN] 2021/06/01 - 12:35:46 | 404 |         623ns |     | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
2021/06/01 12:36:08 We dont know anything about the new key. WTF
[GIN] 2021/06/01 - 12:36:08 | 200 |      862.37µs |   | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
[GIN] 2021/06/01 - 12:36:21 | 404 |         636ns |    | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
2021/06/01 12:36:36 We dont know anything about the new key. WTF
[GIN] 2021/06/01 - 12:36:36 | 200 |     728.101µs |  | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
[GIN] 2021/06/01 - 12:36:43 | 404 |         632ns |    | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"

There are two instances tring to connect...

@Juliaria08 commented on GitHub (Jun 1, 2021): @juanfont Yes, i get a machine id Down i have added more details. -- The default client tries to get `/machine/` endpoint ``` [GIN] 2021/06/01 - 12:31:26 | 404 | 437ns | 0.0.0.0 | GET "/machine/-" [GIN] 2021/06/01 - 12:31:45 | 404 | 1.174µs | 0.0.0.0 | GET "/machine/-" ``` How i cloud force the system to not use DERP? Full log without Ip: ``` 2021/06/01 12:35:17 Could not load DERP servers map file: yaml: unmarshal errors: line 18: cannot unmarshal !!str `derptes...` into int [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /key --> github.com/juanfont/headscale.(*Headscale).KeyHandler-fm (3 handlers) [GIN-debug] GET /register --> github.com/juanfont/headscale.(*Headscale).RegisterWebAPI-fm (3 handlers) [GIN-debug] POST /machine/:id/map --> github.com/juanfont/headscale.(*Headscale).PollNetMapHandler-fm (3 handlers) [GIN-debug] POST /machine/:id --> github.com/juanfont/headscale.(*Headscale).RegistrationHandler-fm (3 handlers) [GIN-debug] Listening and serving HTTP on 127.0.0.1:8084 2021/06/01 12:35:23 We dont know anything about the new key. WTF [GIN] 2021/06/01 - 12:35:23 | 200 | 1.023052ms | | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" [GIN] 2021/06/01 - 12:35:24 | 404 | 644ns | | GET "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069" 2021/06/01 12:35:36 Cannot decode message: response missing nonce, len=0 [GIN] 2021/06/01 - 12:35:36 | 500 | 90.454µs | | POST "/machine/ba523801c964cf5205a0c23d782fa9bbdb3405d067860f013d89e5f3ded7835c" 2021/06/01 12:35:39 Cannot decode message: response missing nonce, len=0 [GIN] 2021/06/01 - 12:35:39 | 500 | 61.879µs | | POST "/machine/ba523801c964cf5205a0c23d782fa9bbdb3405d067860f013d89e5f3ded7835c" 2021/06/01 12:35:39 We dont know anything about the new key. WTF [GIN] 2021/06/01 - 12:35:39 | 200 | 783.518µs | | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" [GIN] 2021/06/01 - 12:35:46 | 404 | 623ns | | GET "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069" 2021/06/01 12:36:08 We dont know anything about the new key. WTF [GIN] 2021/06/01 - 12:36:08 | 200 | 862.37µs | | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" [GIN] 2021/06/01 - 12:36:21 | 404 | 636ns | | GET "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069" 2021/06/01 12:36:36 We dont know anything about the new key. WTF [GIN] 2021/06/01 - 12:36:36 | 200 | 728.101µs | | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" [GIN] 2021/06/01 - 12:36:43 | 404 | 632ns | | GET "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069" ``` There are two instances tring to connect...
Author
Owner

@Juliaria08 commented on GitHub (Jun 1, 2021):

What ports do need to be opened on that server?

Appart from that http proxy that i am doing

@Juliaria08 commented on GitHub (Jun 1, 2021): # What ports do need to be opened on that server? Appart from that http proxy that i am doing
Author
Owner

@juanfont commented on GitHub (Jun 1, 2021):

Hey @Juliaria08,

You are getting this error on the top of the log message you are pasting:

Could not load DERP servers map

That means that there is something wrong with your derp.yaml.

Without a working list of DERP servers your tailscale nodes are not going to be able to boot up.

@juanfont commented on GitHub (Jun 1, 2021): Hey @Juliaria08, You are getting this error on the top of the log message you are pasting: > Could not load DERP servers map That means that there is something wrong with your `derp.yaml`. Without a working list of DERP servers your tailscale nodes are not going to be able to boot up.
Author
Owner

@Juliaria08 commented on GitHub (Jun 1, 2021):

Hey @Juliaria08,

You are getting this error on the top of the log message you are pasting:

Could not load DERP servers map

That means that there is something wrong with your derp.yaml.

Without a working list of DERP servers your tailscale nodes are not going to be able to boot up.

I have just put the derp conf back to default

@Juliaria08 commented on GitHub (Jun 1, 2021): > Hey @Juliaria08, > > You are getting this error on the top of the log message you are pasting: > > > Could not load DERP servers map > > That means that there is something wrong with your `derp.yaml`. > > Without a working list of DERP servers your tailscale nodes are not going to be able to boot up. I have just put the derp conf back to default
Author
Owner

@juanfont commented on GitHub (Jun 1, 2021):

And the result?

@juanfont commented on GitHub (Jun 1, 2021): And the result?
Author
Owner

@Juliaria08 commented on GitHub (Jun 1, 2021):

And the result?
Still hanging up on tailscale up

@Juliaria08 commented on GitHub (Jun 1, 2021): > And the result? Still hanging up on `tailscale up`
Author
Owner

@juanfont commented on GitHub (Jun 1, 2021):

Can you paste the full log in here?

On Tue, 1 Jun 2021 at 20:51, Julian Marcos @.***> wrote:

And the result?
Still hanging up on tailscale up


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/juanfont/headscale/issues/32#issuecomment-852364643,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABMGQ56HWGFJMXEGAOBLGDTQUT4JANCNFSM454L3ANA
.

@juanfont commented on GitHub (Jun 1, 2021): Can you paste the full log in here? On Tue, 1 Jun 2021 at 20:51, Julian Marcos ***@***.***> wrote: > And the result? > Still hanging up on tailscale up > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/juanfont/headscale/issues/32#issuecomment-852364643>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AABMGQ56HWGFJMXEGAOBLGDTQUT4JANCNFSM454L3ANA> > . >
Author
Owner

@Juliaria08 commented on GitHub (Jun 1, 2021):

Can you paste the full log in here?

On Tue, 1 Jun 2021 at 20:51, Julian Marcos @.***> wrote: And the result? Still hanging up on tailscale up — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#32 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABMGQ56HWGFJMXEGAOBLGDTQUT4JANCNFSM454L3ANA .

I asume headscale log, now running on prod mode with systemd:

Jun 01 21:06:47 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:06:47 | 200 |     679.472µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
Jun 01 21:07:04 bindy.mopi.local sh[520347]: 2021/06/01 21:07:04 We dont know anything about the new key. WTF
Jun 01 21:07:04 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:04 | 200 |      757.98µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
Jun 01 21:07:10 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:10 | 404 |         950ns |   machine1 | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
Jun 01 21:07:32 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:32 | 404 |         658ns |   machine1 | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
Jun 01 21:07:37 bindy.mopi.local sh[520347]: 2021/06/01 21:07:37 We dont know anything about the new key. WTF
Jun 01 21:07:37 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:37 | 200 |     688.414µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
Jun 01 21:08:00 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:08:00 | 404 |         550ns |   machine1 | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
Jun 01 21:08:06 bindy.mopi.local sh[520347]: 2021/06/01 21:08:06 We dont know anything about the new key. WTF
Jun 01 21:08:06 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:08:06 | 200 |     630.594µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
@Juliaria08 commented on GitHub (Jun 1, 2021): > Can you paste the full log in here? > […](#) > On Tue, 1 Jun 2021 at 20:51, Julian Marcos ***@***.***> wrote: And the result? Still hanging up on tailscale up — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <[#32 (comment)](https://github.com/juanfont/headscale/issues/32#issuecomment-852364643)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AABMGQ56HWGFJMXEGAOBLGDTQUT4JANCNFSM454L3ANA> . I asume headscale log, now running on prod mode with systemd: ``` Jun 01 21:06:47 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:06:47 | 200 | 679.472µs | machine2 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" Jun 01 21:07:04 bindy.mopi.local sh[520347]: 2021/06/01 21:07:04 We dont know anything about the new key. WTF Jun 01 21:07:04 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:04 | 200 | 757.98µs | machine2 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" Jun 01 21:07:10 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:10 | 404 | 950ns | machine1 | GET "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069" Jun 01 21:07:32 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:32 | 404 | 658ns | machine1 | GET "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069" Jun 01 21:07:37 bindy.mopi.local sh[520347]: 2021/06/01 21:07:37 We dont know anything about the new key. WTF Jun 01 21:07:37 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:37 | 200 | 688.414µs | machine2 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" Jun 01 21:08:00 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:08:00 | 404 | 550ns | machine1 | GET "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069" Jun 01 21:08:06 bindy.mopi.local sh[520347]: 2021/06/01 21:08:06 We dont know anything about the new key. WTF Jun 01 21:08:06 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:08:06 | 200 | 630.594µs | machine2 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845" ```
Author
Owner

@juanfont commented on GitHub (Jun 2, 2021):

Um. This looks like a bug indeed!

I will investigate and try to replicate the issue. Keep you posted!

@juanfont commented on GitHub (Jun 2, 2021): Um. This looks like a bug indeed! I will investigate and try to replicate the issue. Keep you posted!
Author
Owner

@Juliaria08 commented on GitHub (Jun 2, 2021):

Um. This looks like a bug indeed!

I will investigate and try to replicate the issue. Keep you posted!

If you need that system is running with a nginx reverse proxy for giving myself ssl, because i have more than one websites && a firewall that only allows nginx, http, ssh, but it allows to make connections as if the ip was dierect, because it is also using a x2ltp connection

@Juliaria08 commented on GitHub (Jun 2, 2021): > Um. This looks like a bug indeed! > > I will investigate and try to replicate the issue. Keep you posted! If you need that system is running with a nginx reverse proxy for giving myself ssl, because i have more than one websites && a firewall that only allows nginx, http, ssh, but it allows to make connections as if the ip was dierect, because it is also using a x2ltp connection
Author
Owner

@Juliaria08 commented on GitHub (Jun 5, 2021):

Do i need to get #33 ?

@Juliaria08 commented on GitHub (Jun 5, 2021): Do i need to get #33 ?
Author
Owner

@Juliaria08 commented on GitHub (Jun 5, 2021):

Is there any port i need to open?

@Juliaria08 commented on GitHub (Jun 5, 2021): Is there any port i need to open?
Author
Owner

@juanfont commented on GitHub (Jun 5, 2021):

Hi @Juliaria08 you can checkout that branch, or just wait until the PR is reviewed and merged into main.

In principle you only need to open the port where you run headscale, as per the config.json you have defined.

@juanfont commented on GitHub (Jun 5, 2021): Hi @Juliaria08 you can checkout that branch, or just wait until the PR is reviewed and merged into `main`. In principle you only need to open the port where you run headscale, as per the `config.json` you have defined.
Author
Owner

@Juliaria08 commented on GitHub (Jun 5, 2021):

Hi @Juliaria08 you can checkout that branch, or just wait until the PR is reviewed and merged into main.

In principle you only need to open the port where you run headscale, as per the config.json you have defined.

Ok, then it is still not working because i can't ping the other server...

@Juliaria08 commented on GitHub (Jun 5, 2021): > Hi @Juliaria08 you can checkout that branch, or just wait until the PR is reviewed and merged into `main`. > > In principle you only need to open the port where you run headscale, as per the `config.json` you have defined. Ok, then it is still not working because i can't ping the other server...
Author
Owner

@juanfont commented on GitHub (Jun 5, 2021):

@Juliaria08 but has the authentication workflow finished? Can you paste the logs?

@juanfont commented on GitHub (Jun 5, 2021): @Juliaria08 but has the authentication workflow finished? Can you paste the logs?
Author
Owner

@Juliaria08 commented on GitHub (Jun 5, 2021):

@Juliaria08 but has the authentication workflow finished? Can you paste the logs?

Ok. pasting logs. Due to not wanting to get DDOS'ed client's IP's changed:

  • 1 to 0.0.0.0
  • 2 to 0.0.0.1
-- Logs begin at Thu 2021-05-13 16:57:16 CEST, end at Sat 2021-06-05 18:01:26 CEST. --
Jun 01 09:29:20 bindy.mopi.local systemd[1]: Started Headscale server.
Jun 01 09:32:34 bindy.mopi.local sh[349174]: [GIN] 2021/06/01 - 09:32:34 | 404 |      19.053µs |       127.0.0.1 | GET      "/"
Jun 01 09:33:28 bindy.mopi.local systemd[1]: Stopping Headscale server...
Jun 01 09:33:28 bindy.mopi.local systemd[1]: headscale.service: Succeeded.
Jun 01 09:33:28 bindy.mopi.local systemd[1]: Stopped Headscale server.
Jun 01 09:33:38 bindy.mopi.local systemd[1]: Started Headscale server.
Jun 01 09:33:38 bindy.mopi.local sh[350608]: 2021/06/01 09:33:38 WARNING: listening without TLS but ServerURL does not start with http://
Jun 01 09:40:41 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:40:41 | 404 |         549ns |  0.0.0.0 | GET      "/"
Jun 01 09:41:49 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:41:49 | 404 |         587ns |    0.0.0.1 | GET      "/"
Jun 01 09:41:49 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:41:49 | 404 |         641ns |    0.0.0.1 | GET      "/favicon.ico"
Jun 01 09:42:38 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:38 | 200 |      35.335µs |  0.0.0.0 | GET      "/key"
Jun 01 09:42:38 bindy.mopi.local sh[350608]: 2021/06/01 09:42:38 New Machine!
Jun 01 09:42:38 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:38 | 200 |   71.105043ms |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 |     934.026µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 |      794.06µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 |     732.515µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 |     818.153µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 |     995.922µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 |    1.082438ms |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:40 bindy.mopi.local sh[350608]: 2021/06/01 09:42:40 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:40 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:40 | 200 |     715.285µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:40 bindy.mopi.local sh[350608]: 2021/06/01 09:42:40 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:40 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:40 | 200 |     740.667µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:41 bindy.mopi.local sh[350608]: 2021/06/01 09:42:41 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:41 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:41 | 200 |     904.416µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:41 bindy.mopi.local sh[350608]: 2021/06/01 09:42:41 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:41 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:41 | 200 |    1.202532ms |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:43 bindy.mopi.local sh[350608]: 2021/06/01 09:42:43 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:43 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:43 | 200 |     822.083µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:44 bindy.mopi.local sh[350608]: 2021/06/01 09:42:44 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:44 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:44 | 200 |     740.981µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:45 bindy.mopi.local sh[350608]: 2021/06/01 09:42:45 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:45 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:45 | 200 |     1.05343ms |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:45 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:45 | 200 |      33.472µs |    0.0.0.1 | GET      "/register?key=a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9>
Jun 01 09:42:47 bindy.mopi.local sh[350608]: 2021/06/01 09:42:47 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:47 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:47 | 200 |     983.789µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:48 bindy.mopi.local sh[350608]: 2021/06/01 09:42:48 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:48 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:48 | 200 |     720.522µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:50 bindy.mopi.local sh[350608]: 2021/06/01 09:42:50 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:50 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:50 | 200 |     787.607µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:54 bindy.mopi.local sh[350608]: 2021/06/01 09:42:54 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:54 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:54 | 200 |     873.627µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
Jun 01 09:42:55 bindy.mopi.local sh[350608]: 2021/06/01 09:42:55 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register
Jun 01 09:42:55 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:55 | 200 |     942.541µs |  0.0.0.0 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06>
@Juliaria08 commented on GitHub (Jun 5, 2021): > @Juliaria08 but has the authentication workflow finished? Can you paste the logs? Ok. pasting logs. Due to not wanting to get DDOS'ed client's IP's changed: - 1 to 0.0.0.0 - 2 to 0.0.0.1 ``` -- Logs begin at Thu 2021-05-13 16:57:16 CEST, end at Sat 2021-06-05 18:01:26 CEST. -- Jun 01 09:29:20 bindy.mopi.local systemd[1]: Started Headscale server. Jun 01 09:32:34 bindy.mopi.local sh[349174]: [GIN] 2021/06/01 - 09:32:34 | 404 | 19.053µs | 127.0.0.1 | GET "/" Jun 01 09:33:28 bindy.mopi.local systemd[1]: Stopping Headscale server... Jun 01 09:33:28 bindy.mopi.local systemd[1]: headscale.service: Succeeded. Jun 01 09:33:28 bindy.mopi.local systemd[1]: Stopped Headscale server. Jun 01 09:33:38 bindy.mopi.local systemd[1]: Started Headscale server. Jun 01 09:33:38 bindy.mopi.local sh[350608]: 2021/06/01 09:33:38 WARNING: listening without TLS but ServerURL does not start with http:// Jun 01 09:40:41 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:40:41 | 404 | 549ns | 0.0.0.0 | GET "/" Jun 01 09:41:49 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:41:49 | 404 | 587ns | 0.0.0.1 | GET "/" Jun 01 09:41:49 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:41:49 | 404 | 641ns | 0.0.0.1 | GET "/favicon.ico" Jun 01 09:42:38 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:38 | 200 | 35.335µs | 0.0.0.0 | GET "/key" Jun 01 09:42:38 bindy.mopi.local sh[350608]: 2021/06/01 09:42:38 New Machine! Jun 01 09:42:38 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:38 | 200 | 71.105043ms | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 | 934.026µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 | 794.06µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 | 732.515µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 | 818.153µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 | 995.922µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:39 bindy.mopi.local sh[350608]: 2021/06/01 09:42:39 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:39 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:39 | 200 | 1.082438ms | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:40 bindy.mopi.local sh[350608]: 2021/06/01 09:42:40 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:40 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:40 | 200 | 715.285µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:40 bindy.mopi.local sh[350608]: 2021/06/01 09:42:40 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:40 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:40 | 200 | 740.667µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:41 bindy.mopi.local sh[350608]: 2021/06/01 09:42:41 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:41 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:41 | 200 | 904.416µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:41 bindy.mopi.local sh[350608]: 2021/06/01 09:42:41 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:41 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:41 | 200 | 1.202532ms | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:43 bindy.mopi.local sh[350608]: 2021/06/01 09:42:43 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:43 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:43 | 200 | 822.083µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:44 bindy.mopi.local sh[350608]: 2021/06/01 09:42:44 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:44 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:44 | 200 | 740.981µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:45 bindy.mopi.local sh[350608]: 2021/06/01 09:42:45 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:45 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:45 | 200 | 1.05343ms | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:45 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:45 | 200 | 33.472µs | 0.0.0.1 | GET "/register?key=a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9> Jun 01 09:42:47 bindy.mopi.local sh[350608]: 2021/06/01 09:42:47 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:47 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:47 | 200 | 983.789µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:48 bindy.mopi.local sh[350608]: 2021/06/01 09:42:48 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:48 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:48 | 200 | 720.522µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:50 bindy.mopi.local sh[350608]: 2021/06/01 09:42:50 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:50 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:50 | 200 | 787.607µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:54 bindy.mopi.local sh[350608]: 2021/06/01 09:42:54 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:54 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:54 | 200 | 873.627µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> Jun 01 09:42:55 bindy.mopi.local sh[350608]: 2021/06/01 09:42:55 Hey! Not registered. Not asking for key rotation. Send a passive-aggressive authurl to register Jun 01 09:42:55 bindy.mopi.local sh[350608]: [GIN] 2021/06/01 - 09:42:55 | 200 | 942.541µs | 0.0.0.0 | POST "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06> ```
Author
Owner

@juanfont commented on GitHub (Jun 5, 2021):

You are not running the new branch...

However, that should work in the current version you are running. Have you register your nodes?

(asuming that you did not create a new namespace)

./headscale namespace create foobar
./headscale -n foobar node register a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06
@juanfont commented on GitHub (Jun 5, 2021): You are not running the new branch... However, that should work in the current version you are running. Have you register your nodes? (asuming that you did not create a new namespace) ``` ./headscale namespace create foobar ./headscale -n foobar node register a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06 ```
Author
Owner

@Juliaria08 commented on GitHub (Jun 5, 2021):

You are not running the new branch...

However, that should work in the current version you are running. Have you register your nodes?

(asuming that you did not create a new namespace)

./headscale namespace create foobar
./headscale -n foobar node register a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06

Ops i pasted old journald, i had changed branch && recompiled with make before i got this error

What is this error?

Jun 05 18:58:31 sh[1970324]: [GIN] 2021/06/05 - 18:58:31 | 200 |          5m0s |  0.0.0.0 | POST     "/machine/*/map"
Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] ReadOnly=false   OmitPeers=false    Stream=true
Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Client is ready to access the tailnet
Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Sending initial map
Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Notifying peers
Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Notifying peer bindy (100.91.239.212/32)
Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [Recovery] 2021/06/05 - 18:58:43 panic recovered:
Jun 05 18:58:43 sh[1970324]: send on closed channel
Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/runtime/chan.go:204 (0x40e831)
Jun 05 18:58:43 sh[1970324]:         chansend: panic(plainError("send on closed channel"))
Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/runtime/chan.go:143 (0x40e174)
Jun 05 18:58:43 sh[1970324]:         chansend1: chansend(c, elem, true, getcallerpc())
Jun 05 18:58:43 sh[1970324]: /root/headscale/api.go:288 (0xb3fceb)
Jun 05 18:58:43 sh[1970324]:         (*Headscale).PollNetMapHandler: pUp <- []byte{}
Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9c1479)
Jun 05 18:58:43 sh[1970324]:         (*Context).Next: c.handlers[c.index](c)
Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/recovery.go:99 (0x9c1460)
Jun 05 18:58:43 sh[1970324]:         CustomRecoveryWithWriter.func1: c.Next()
Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9c0553)
Jun 05 18:58:43 sh[1970324]:         (*Context).Next: c.handlers[c.index](c)
Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/logger.go:241 (0x9c0512)
Jun 05 18:58:43 sh[1970324]:         LoggerWithConfig.func1: c.Next()
Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9b6d09)
Jun 05 18:58:43 sh[1970324]:         (*Context).Next: c.handlers[c.index](c)
Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/gin.go:489 (0x9b6cef)
Jun 05 18:58:43 sh[1970324]:         (*Engine).handleHTTPRequest: c.Next()
Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/gin.go:445 (0x9b67db)
Jun 05 18:58:43 sh[1970324]:         (*Engine).ServeHTTP: engine.handleHTTPRequest(c)
Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/net/http/server.go:2887 (0x78a882)
Jun 05 18:58:43 sh[1970324]:         serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/net/http/server.go:1952 (0x785cac)
Jun 05 18:58:43 sh[1970324]:         (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/runtime/asm_amd64.s:1371 (0x474c00)
Jun 05 18:58:43 sh[1970324]:         goexit: BYTE        $0x90        // NOP
Jun 05 18:58:43 sh[1970324]:
@Juliaria08 commented on GitHub (Jun 5, 2021): > You are not running the new branch... > > However, that should work in the current version you are running. Have you register your nodes? > > (asuming that you did not create a new namespace) > > ``` > ./headscale namespace create foobar > ./headscale -n foobar node register a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06 > ``` Ops i pasted old journald, i had changed branch && recompiled with `make` before i got this error What is this error? ``` Jun 05 18:58:31 sh[1970324]: [GIN] 2021/06/05 - 18:58:31 | 200 | 5m0s | 0.0.0.0 | POST "/machine/*/map" Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] ReadOnly=false OmitPeers=false Stream=true Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Client is ready to access the tailnet Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Sending initial map Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Notifying peers Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [art] Notifying peer bindy (100.91.239.212/32) Jun 05 18:58:43 sh[1970324]: 2021/06/05 18:58:43 [Recovery] 2021/06/05 - 18:58:43 panic recovered: Jun 05 18:58:43 sh[1970324]: send on closed channel Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/runtime/chan.go:204 (0x40e831) Jun 05 18:58:43 sh[1970324]: chansend: panic(plainError("send on closed channel")) Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/runtime/chan.go:143 (0x40e174) Jun 05 18:58:43 sh[1970324]: chansend1: chansend(c, elem, true, getcallerpc()) Jun 05 18:58:43 sh[1970324]: /root/headscale/api.go:288 (0xb3fceb) Jun 05 18:58:43 sh[1970324]: (*Headscale).PollNetMapHandler: pUp <- []byte{} Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9c1479) Jun 05 18:58:43 sh[1970324]: (*Context).Next: c.handlers[c.index](c) Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/recovery.go:99 (0x9c1460) Jun 05 18:58:43 sh[1970324]: CustomRecoveryWithWriter.func1: c.Next() Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9c0553) Jun 05 18:58:43 sh[1970324]: (*Context).Next: c.handlers[c.index](c) Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/logger.go:241 (0x9c0512) Jun 05 18:58:43 sh[1970324]: LoggerWithConfig.func1: c.Next() Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9b6d09) Jun 05 18:58:43 sh[1970324]: (*Context).Next: c.handlers[c.index](c) Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/gin.go:489 (0x9b6cef) Jun 05 18:58:43 sh[1970324]: (*Engine).handleHTTPRequest: c.Next() Jun 05 18:58:43 sh[1970324]: /root/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/gin.go:445 (0x9b67db) Jun 05 18:58:43 sh[1970324]: (*Engine).ServeHTTP: engine.handleHTTPRequest(c) Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/net/http/server.go:2887 (0x78a882) Jun 05 18:58:43 sh[1970324]: serverHandler.ServeHTTP: handler.ServeHTTP(rw, req) Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/net/http/server.go:1952 (0x785cac) Jun 05 18:58:43 sh[1970324]: (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) Jun 05 18:58:43 sh[1970324]: /usr/local/go/src/runtime/asm_amd64.s:1371 (0x474c00) Jun 05 18:58:43 sh[1970324]: goexit: BYTE $0x90 // NOP Jun 05 18:58:43 sh[1970324]: ```
Author
Owner

@juanfont commented on GitHub (Jun 6, 2021):

That looks like a new bug !

I will investigate....

@juanfont commented on GitHub (Jun 6, 2021): That looks like a new bug ! I will investigate....
Author
Owner

@Juliaria08 commented on GitHub (Jun 8, 2021):

Getting branch fix-polling-race...

@Juliaria08 commented on GitHub (Jun 8, 2021): Getting branch `fix-polling-race`...
Author
Owner

@juanfont commented on GitHub (Jun 9, 2021):

@Juliaria08 the branch has now been merged into main. Can you check if you are still having the issue?

Cheers,

Juan

@juanfont commented on GitHub (Jun 9, 2021): @Juliaria08 the branch has now been merged into main. Can you check if you are still having the issue? Cheers, Juan
Author
Owner

@Juliaria08 commented on GitHub (Jun 10, 2021):

@Juliaria08 the branch has now been merged into main. Can you check if you are still having the issue?

Cheers,

Juan

Nothing, tailscale up still does not work correctly.
What i am supposed to do on the client side? Appart from running tailscale up --login-server https://vpn.*.duckdns.org

@Juliaria08 commented on GitHub (Jun 10, 2021): > @Juliaria08 the branch has now been merged into main. Can you check if you are still having the issue? > > Cheers, > > Juan Nothing, `tailscale up` still does not work correctly. What i am supposed to do on the client side? Appart from running `tailscale up --login-server https://vpn.*.duckdns.org`
Author
Owner

@juanfont commented on GitHub (Jun 10, 2021):

Can you paste logs?

@juanfont commented on GitHub (Jun 10, 2021): Can you paste logs?
Author
Owner

@Juliaria08 commented on GitHub (Jun 11, 2021):

Can you paste logs?

Can i send mail, because the journald log is gigantic, and im lazy removing each client ip?

@Juliaria08 commented on GitHub (Jun 11, 2021): > Can you paste logs? Can i send mail, because the journald log is gigantic, and im lazy removing each client ip?
Author
Owner

@juanfont commented on GitHub (Jun 11, 2021):

hahah sure. juanfontalonso at gmail.com

@juanfont commented on GitHub (Jun 11, 2021): hahah sure. juanfontalonso at gmail.com
Author
Owner

@Juliaria08 commented on GitHub (Jun 11, 2021):

hahah sure. juanfontalonso at gmail.com

Done

@Juliaria08 commented on GitHub (Jun 11, 2021): > hahah sure. juanfontalonso at gmail.com Done
Author
Owner

@Juliaria08 commented on GitHub (Jun 13, 2021):

Why aren't the machines able to acces, nor ping the tailnet...

@Juliaria08 commented on GitHub (Jun 13, 2021): Why aren't the machines able to acces, nor ping the tailnet...
Author
Owner

@juanfont commented on GitHub (Jun 13, 2021):

Check your email please.

On Sun, Jun 13, 2021, 20:21 Julian Marcos @.***> wrote:

Why aren't the machines able to acces, nor ping the tailnet...


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/juanfont/headscale/issues/32#issuecomment-860251152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABMGQ3F3PAMQDJEQHGSH7DTSTZKHANCNFSM454L3ANA
.

@juanfont commented on GitHub (Jun 13, 2021): Check your email please. On Sun, Jun 13, 2021, 20:21 Julian Marcos ***@***.***> wrote: > Why aren't the machines able to acces, nor ping the tailnet... > > — > You are receiving this because you modified the open/close state. > Reply to this email directly, view it on GitHub > <https://github.com/juanfont/headscale/issues/32#issuecomment-860251152>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AABMGQ3F3PAMQDJEQHGSH7DTSTZKHANCNFSM454L3ANA> > . >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#6