gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

[Bug]: #2219

Closed bose2273 closed 1 year ago

bose2273 commented 1 year ago

Contact Details

surajit2273@gmail.com

What happened?

Netmaker server version is 0.17.0

I am trying to connect an ubuntu server to the netmaker server

using the below command to join:

netclient join -t JhcGljb25uc3RyaW5nIjoiYXBpLm5ldG1ha2VyLnRlbGNhc3RhLmNvbTo0NDMiLCJuZXR3b3JrIjoidGVsY2FzdGEwMSIsImtleSI6ImIwYTg4NWNlNjMxMGRiNGYiLCJsb2NhbHJhbmdlIjoiIn0=

But getting the below error 2023-04-18 20:57:42 join failed Post "https:///api/v1/host/register/eyJhcGljb25uc3RyaW5nIjoiYXBpLm5ldG1ha2VyLnRlbGNhc3RhLmNvbTo0NDMiLCJuZXR3b3JrIjoidGVsY2FzdGEwMSIsImtleSI6ImIwYTg4NWNlNjMxMGRiNGYiLCJsb2NhbHJhbmdlIjoiIn0=": http: no Host in request URL root@netclient01:~#

Version

v0.17.0

What OS are you using?

Linux

Relevant log output

No response

Contributing guidelines

mattkasun commented 1 year ago

What version is the client?

bose2273 commented 1 year ago

Client is v0.18.6 ... installed it from the below link

https://docs.netmaker.org/netclient.html

bornav commented 1 year ago

you need to install an older version of the client

bose2273 commented 1 year ago

so I have to go to 17 version?

I just tried to find the lower versions like 17 and couldnot find anything .. Can you please help me with the link plz ?

bornav commented 1 year ago

since you mentioned ubuntu, you can use the list "apt list -a netclient" to list all packages

and then when you decide what version works for you use "apt install netclient=0.17.1-0" the version is an example

bose2273 commented 1 year ago

Thanks a lot @bornav .. worked like a charm!!!!!!!