This message was deleted.
# helpdesk
s
This message was deleted.
b
Heres the screenshot from the connection test.
c
does the VM have a firewall configured? what's the output from
Copy code
$ sudo iptables -L -v -n
b
This is the output from the command. Is my docker instance isolated?
c
yeah if you're using the deploy to vm docs and the docker-compose configuration I believe the services are using 'host' networking so they should be network accessible
you feel confident that the websocket url and the token you provided to the test is correct?
b
I copied the entire content in the cloud-init file to the user data field when I was initializing the VM in Digital Ocean. I checked the file content, and it did specify using 'host' networking in docker-compose. The Websocket url I use is wss://livekit.mydomain.chat. The token is generated using the API key and secret from the livekit.yaml file. The OS of my VM is Ubuntu 22.04 x64
c
are there any helpful livekit server logs?
can run
docker-compose logs livekit
b
The access token is created using livekit-cli with --admin param. Any privilege for the access token should be fine right? Heres the server logs, getting some 401 error.
c
yeah that looooks like a auth token issue?
I don't know that you should use the admin param?
have you already created a room?
d
your token must have
roomJoin
permission set, and a
room
specified
It disallows joining a room for an admin token
b
Yes! The connection test established after specifying the room, join room permission and identity param. Thanks team!
🙌 1