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

Gentle not working in ubuntu #237

Open
swathionchip opened this issue Oct 30, 2019 · 3 comments
Open

Gentle not working in ubuntu #237

swathionchip opened this issue Oct 30, 2019 · 3 comments

Comments

@swathionchip
Copy link

Hi Sir,

I need Gentle in Ubuntu 18.04.2 LTS.I have "Docker version 18.09.7, build 2d0083d".
So, I downloaded the code from git hub("https://github.com/lowerquality/gentle.git").
later I opened the treminal whre gentle folder is available.After that I gave below command.
"docker run -p 127.0.0.1::8765 lowerquality/gentle"
I got below msg in terminal

lowerquality/gentle
INFO:root:gentle 0.10.1
INFO:root:listening at 0.0.0.0:8765

INFO:root:SERVE 8765, 0.0.0.0, 1
INFO:root:about to listen
INFO:root:listening

Now server listening, but from browser I type the 0.0.0.0:8765 command I am getting below error

"This site can’t be reached 0.0.0.0 refused to connect.
Search Google for 1865
ERR_CONNECTION_REFUSED"

Coluld you please provide the procedure to run the gentle in ubuntu

Regards,
Swathi.

@96fps
Copy link

96fps commented Nov 19, 2019

I was having a similar issue until I ran docker run --network host -P lowerquality/gentle. By adding --network host to the command we tell docker to use the host's network. This does mean that anyone who can connect to port 8765 of your machine can talk to gentle, but that may be desirable if you're running gentle on a VPS or a different computer.

@lilgandhi1199
Copy link

lilgandhi1199 commented May 28, 2020

Hi Sir,

I need Gentle in Ubuntu 18.04.2 LTS.I have "Docker version 18.09.7, build 2d0083d".
So, I downloaded the code from git hub("https://github.com/lowerquality/gentle.git").
later I opened the treminal whre gentle folder is available.After that I gave below command.
"docker run -p 127.0.0.1::8765 lowerquality/gentle"
I got below msg in terminal

lowerquality/gentle
INFO:root:gentle 0.10.1
INFO:root:listening at 0.0.0.0:8765

INFO:root:SERVE 8765, 0.0.0.0, 1
INFO:root:about to listen
INFO:root:listening

Now server listening, but from browser I type the 0.0.0.0:8765 command I am getting below error

"This site can’t be reached 0.0.0.0 refused to connect.
Search Google for 1865
ERR_CONNECTION_REFUSED"

Coluld you please provide the procedure to run the gentle in ubuntu

Regards,
Swathi.

#257
Run the git clone command I say in my post.
Run the 4 commands in the second post.
Copy the openFST tar to your gentle\ext\kaldi\tools\ folder
cd gentle
sudo ./install.sh

DONE
worked in 18.04 and should work in 20.04 too
CONFIRMED
working in 20.04

@stonelazy
Copy link

stonelazy commented Nov 5, 2020

according to the DockerFile of gentle it says EXPOSE 8765.
This means the port is accessible for intra-processes in the container and is not possible to be connected with the host machine. For that, you have to start the docker with the following command
docker run -p 8765:8765 lowerquality/gentle

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

No branches or pull requests

4 participants