Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

How to run cmd murmur docker server #4

Open
SonPham1602 opened this issue Jun 6, 2021 · 7 comments
Open

How to run cmd murmur docker server #4

SonPham1602 opened this issue Jun 6, 2021 · 7 comments

Comments

@SonPham1602
Copy link

Hello Everyone. Thanks you for your coding. But I have a question that how I can use cmd when no set password of SuperUser in Command Line. I don't see any flag to set password. I use docker to host murmur server. Thanks you. Hope you answer my question.

@BadCo-NZ
Copy link

Hi @SonPham1602 if you check the Mumble documentation, the SuperUser password is automatically created.

https://wiki.mumble.info/wiki/Running_Murmur#Setting_the_SuperUser_Password

@SonPham1602
Copy link
Author

SonPham1602 commented Jun 13, 2021

HI @BadCo-NZ Thank you for your answer. Should I uncomment this line in murmur.ini file and add cert and key and How I can generate it?
image

@theAkito
Copy link

https://wiki.mumble.info/wiki/GRPC

As described in above link, I have run go run nudge.go and it works with my Docker murmur implementation:
https://github.com/theAkito/docker-murmur

However, when running murmur-cli I always get context deadline exceeded, which is a generic Go error.

Since the nudge.go created, as described on the Mumble Wiki page, works with gRPC and my Docker murmur implementation, I assume this murmur-cli must be faulty.

@SonPham1602
Copy link
Author

Hi @theAkito Thanks. Can you show me step by step to fix my problem. I read this document. But I can't solve my problem. Hope you answer me.

@theAkito
Copy link

@SonPham1602

I assume this murmur-cli must be faulty.

So perhaps you need to use something other than murmur-cli, to be able to use Murmur's gRPC API, until it gets fixed (if at all). 😕

@SonPham1602
Copy link
Author

@theAkito Can you share sample code on work with gRPC andyour Docker murmur.

@theAkito
Copy link

theAkito commented Jun 14, 2021

@SonPham1602

@theAkito Can you share sample code on work with gRPC andyour Docker murmur.

First, I ran the murmur Docker image made by myself, according to its instructions, on my NixOS:

docker-compose up -d

Then, I followed the guide: https://wiki.mumble.info/wiki/GRPC

Finishing with putting the following into a file named "nudge.go":

package main

import "google.golang.org/grpc"
import "fmt"

func main() {
	conn, err := grpc.Dial("127.0.0.1:50051", grpc.WithInsecure())
	if err != nil {
		panic(err)
	} else {
          fmt.print("Success!")
        }
	defer conn.Close()
}

Then I ran the file:

go run nudge.go

And saw the following output:

Success!

Therefore, the gRPC connection to murmur inside my Docker image at https://github.com/theAkito/docker-murmur was established successfully. 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants