Skip to content

Connection closed during setup while trying to use the remote infrastructure via a script #808

Answered by Emantor
initBasti asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @initBasti,

TLDR: Your crossbar_url is missing a final /ws.

Your host configuration yaml won't work:

[…]
options:
    crossbar_url: 'ws://192.168.178.70:20408'

crossbar_url should be ws://192.168.178.70:20408/ws. The string here should be exactly the same as the argument to the -x parameter for labgrid client.

Also:

(labgrid-venv) basti@basti-TUXEDO-Book-XA1510:~/$ labgrid-client -c example_conf.yaml console
Selected role example and place rpi_serial from configuration file
Could not connect to coordinator: [Errno 111] Connect call failed ('127.0.0.1', 20408)

does not work since this call is missing the -x parameter for the explicit coordinator.

Instead of always supplying the Labgrid …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@initBasti
Comment options

@Emantor
Comment options

@initBasti
Comment options

@Emantor
Comment options

Answer selected by Emantor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants