Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No dmsg servers found warning on vpn-server and vpn-client #1133

Closed
ersonp opened this issue Mar 15, 2022 · 1 comment
Closed

No dmsg servers found warning on vpn-server and vpn-client #1133

ersonp opened this issue Mar 15, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ersonp
Copy link
Contributor

ersonp commented Mar 15, 2022

Describe the bug
The logs show a warning in running vpn-server and vpn-client app when dmsg not connected.

Environment information:

  • OS: e.g. Linux, Windows
  • Platform: Linux 5.13.0-35-generic x86_64, Windows 10

Steps to Reproduce
Steps to reproduce the behavior:

  1. When dmsg not established, trying to run VPN-Server or VPN-Client.

Actual behavior
VPN Server logs

[2022-03-15T16:26:21+05:30] INFO [transport_setup]: Connected! local_pk=02aa6fc7009d31622705cb3f2feaa8fe0da10c2ae081cf52e7ba7672bf097defad
[2022-03-15T16:26:21+05:30] INFO [transport_setup]: starting listener dmsg_port=47
[2022-03-15T16:26:21+05:30] INFO [transport_setup]: Accepting dmsg streams. dmsg_port=47
WARN[0001] Retrying...                                   current_backoff=1s error="no dmsg servers found" func=retrier
[2022-03-15T16:26:22+05:30] INFO [launcher]: Initialized in 1.008228687s (1.382727959s with dependencies)
[2022-03-15T16:26:22+05:30] INFO [proc_manager]: Accepted proc conn. hello="{"proc_key":"f449afebc75146b7b897b83279ab1ffe"}" remote=127.0.0.1:52216
[2022-03-15T16:26:22+05:30] INFO [proc:vpn-server:f449afebc75146b7b897b83279ab1ffe]: Associated and serving proc conn.
[2022-03-15T16:26:22+05:30] INFO [proc:vpn-server:f449afebc75146b7b897b83279ab1ffe]: Request processed. _elapsed="838.883µs" _method="Listen" _received="4:26PM" input=02aa6fc7009d31622705cb3f2feaa8fe0da10c2ae081cf52e7ba7672bf097defad:44 output=0xc00030723e
[2022-03-15T16:26:22+05:30] INFO (STDOUT) [proc:skychat:f8250d3c51da4ae1967f13a648c22d92]: Version "v0.6.0-72-gc3a95580" built on "2022-03-15T10:55:45Z" against commit "c3a955802d3c3042c31c84c294bd149f5547f4fb"
[2022-03-15T16:26:22+05:30] INFO [proc:skychat:f8250d3c51da4ae1967f13a648c22d92]: Associated and serving proc conn.

VPN Client logs

[2022-04-08T17:19:53+04:30] INFO [public_autoconnect]: Fetching public visors
[2022-04-08T17:19:54+04:30] INFO [visor]: Changing vpn-client password to ""
[2022-04-08T17:19:54+04:30] INFO [visor:config]: Flushing config to file. config_version="v0.4.1-1743-g7326eaec" filepath="skywire-config.json"
[2022-04-08T17:19:54+04:30] INFO [visor]: Updated vpn-client password
[2022-04-08T17:19:54+04:30] INFO [visor]: Changing vpn-client PK to "03065072ed9f242ab0bf857483200ba5d63122bffbc47618d81b8d58e8c2baf44e"
[2022-04-08T17:19:54+04:30] INFO [visor:config]: Flushing config to file. config_version="v0.4.1-1743-g7326eaec" filepath="skywire-config.json"
[2022-04-08T17:19:54+04:30] INFO [visor]: Updated vpn-client PK
2022/04/08 17:19:54 [DESKTOP-818V7UH/eO7ZjvvBaK-000040] "PUT http://127.0.0.1:8000/api/visors/03065072ed9f242ab0bf857483200ba5d63122bffbc47618d81b8d58e8c2baf44e/apps/vpn-client HTTP/1.1" from 127.0.0.1:61995 - 200 83B in 3.2668ms
[2022-04-08T17:19:55+04:30] INFO [dmsg_trackers]: failed to re-create dmsgtracker client error="dmsg error 100 - entry is not found in discovery"
[2022-04-08T17:19:55+04:30] INFO [dmsg_trackers]: failed to re-create dmsgtracker client error="dmsg error 100 - entry is not found in discovery"
2022/04/08 17:19:55 [DESKTOP-818V7UH/eO7ZjvvBaK-000041] "GET http://127.0.0.1:8000/api/visors/03065072ed9f242ab0bf857483200ba5d63122bffbc47618d81b8d58e8c2baf44e/summary HTTP/1.1" from 127.0.0.1:61995 - 200 955B in 1.6323277s
time="2022-04-08T17:19:56+04:30" level=warning msg=Retrying... current_backoff=1s error="no dmsg servers found" func=retrier
time="2022-04-08T17:19:57+04:30" level=warning msg=Retrying... current_backoff=1s error="no dmsg servers found" func=retrier
time="2022-04-08T17:19:58+04:30" level=warning msg=Retrying... current_backoff=1s error="no dmsg servers found" func=retrier
@ersonp ersonp added the bug Something isn't working label Mar 15, 2022
@mrpalide
Copy link
Contributor

I cannot reproduce WARN, even with multiple try (more than 20 times).
We can leave this issue to be seen again.

@mrpalide mrpalide changed the title No dmsg servers found warning on vpn-server autostart No dmsg servers found warning on vpn-server and vpn-client Apr 8, 2022
@mrpalide mrpalide closed this as completed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants