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

Tested webpage working in local LAN with https, But not outside LAN area. #23

Open
lio14cha opened this issue Jun 18, 2019 · 2 comments

Comments

@lio14cha
Copy link

lio14cha commented Jun 18, 2019

I have followed this webpage to switch on server's and workers. It is showing result in local are connection with https://url. But when I accesed it from outside it is showing Websocket connection to server is not connected. I have used WSS://url. But it is not connecting from outside with public IP. Is there any configuration needed.

Thanks in advance.

@Kaljurand
Copy link
Owner

The issue does not seem specific to dictate.js, but has to do with the general problem of accessing services from the outside network. Do you see any error messages in the web browser console or other logs? Have you tried to set up other (simpler) websocket-based services, for testing?

@lio14cha
Copy link
Author

Thanks for your response. I have given URL's in demo.js file.
server : "wss://10.10.39.54:8088/client/ws/speech"
serverStatus : "wss://10.10.39.54:8088/client/ws/status"
Here I replaced with public IP after this.When I am accessing outside of LAN (with url ) it is showing errors in console log as:

WebSocket connection to 'wss://URL:8000/client/ws/speech?content-type=audio/x-raw,+layout=(string)interleaved,+rate=(int)16000,+format=(string)S16LE,+channels=(int)1' failed: WebSocket is closed before the connection is established.

WebSocket connection to 'wss://URL:8000/client/ws/status' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

WebSocket connection to 'wss://URL:8000/client/ws/speech?content-type=audio/x-raw,+layout=(string)interleaved,+rate=(int)16000,+format=(string)S16LE,+channels=(int)1' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT.

But in LAN area it is working fine in all computers.I am using apache2 for localhost. Thanking you.

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

2 participants