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

Skysocks client bug when remote Pubkey set through hypervisor #279

Closed
jdknives opened this issue Mar 31, 2020 · 1 comment
Closed

Skysocks client bug when remote Pubkey set through hypervisor #279

jdknives opened this issue Mar 31, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jdknives
Copy link
Member

Describe the bug
When setting the PubKey of the remote skysocks server for skysocks-client through the hypervisor, the client does not start because it reports:

[2020-03-31T18:05:55+02:00] INFO [skysocks-client]: [2020-03-31T18:05:55.079622+02:00] FATAL []: Invalid server PubKey
[2020-03-31T18:05:55+02:00] WARN [skywire]: App stopped. app_name="skysocks-client" error="exit status 1"

Environment information:

  • OS: Mac OS X

Steps to Reproduce
Steps to reproduce the behavior:

  1. Setup two visors on separate machines or use integration env
  2. Run manager UI
  3. Set PubKey of remote for skysocks-client in UI
  4. Start skysocks-client

Actual behavior

[2020-03-31T18:05:55+02:00] INFO [skysocks-client]: [2020-03-31T18:05:55.079622+02:00] FATAL []: Invalid server PubKey
[2020-03-31T18:05:55+02:00] WARN [skywire]: App stopped. app_name="skysocks-client" error="exit status 1"

Possible implementation
The error seems to stem from improper formatting of the skysocks-client args in config.

This is the config after setting PubKey through hypervisor (where proxy does not work):

	"args": [
				"-srv",
				"02985b7e04449cf33003396297f206bbbb3690d26e76c222f5f10d8e6791b16fd2"
			]

After changing the config manually it works:

"args": ["-srv","02985b7e04449cf33003396297f206bbbb3690d26e76c222f5f10d8e6791b16fd2"]
@jdknives jdknives added bug Something isn't working milestone 3 labels Mar 31, 2020
@Darkren Darkren self-assigned this Apr 1, 2020
@jdknives
Copy link
Member Author

jdknives commented Apr 1, 2020

Fixed by #288

@jdknives jdknives closed this as completed Apr 1, 2020
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