Questions tagged [websocket]
12 questions
6
votes
2 answers
Slack desktop client on 16.04 behind proxy server
I am trying to use the Slack desktop client for Ubuntu 16.04 behind a Websense Content Gateway (WCG) proxy. It will not connect. Notes:
Windows workstations work with Slack client for Windows through the WCG proxy.
Browser-based client works on…
James
- 1,103
2
votes
2 answers
Apache2 ReverseProxy for mattermost
I'm currently trying to setup a mattermost-1.1.1 instance on an Ubuntu LTS 14, which was pretty straightforward.
I configured the service to listen to 127.0.0.1:8065 only and want to do a ReverseProxy via Apache2 on the same host using this…
Robert Heine
- 242
2
votes
1 answer
"Error getting authority: Error initializing authority: Could not connect: No such file or directory" when running gufw
I am trying to run gufw to enable traffic through port 443 (for Ogar, not Skype), and gufw logs:
Error getting authority: Error initializing authority: Could not connect: No such file or directory
sudo ufw enable returns:
ERROR: Could not load…
Aly
- 275
1
vote
0 answers
Websockets on Ubuntu 16.04
I am trying to create a discord bot, and it requires being able to connect to a websocket, but however, whenever I attempt to connect to the websocket through my java code, it times out, but when I run it on my personal PC, it works…
Swedz
- 41
1
vote
0 answers
MAAS WebSocket Interface
MAAS seems to use a websocket connection to watch node state changes for the API. Is this interface documented? I have looked around a bit and found documentation on the REST API, but not the web socket connection.
1
vote
1 answer
QtWebSockets not available on Ubuntu Touch
I'm developing an Ubuntu Touch application which communicates with a server using WebSockets. Qt offers its own API since version 5.3, which can be used from a QML file by adding import QtWebSockets 1.0. However, despite having Qt 5.4 and the…
Xerz
- 4,591
0
votes
0 answers
How do I configure a new Ubuntu installation to accept ws connections?
I just installed Ubuntu. How do I set it up to allow me to ws into it?
Right now I get "ws:// connect to host x.x.x.x port 8888 : no response". for example ws://172.23.45.100:8888 don't give any response and cannot open
output of sudo iptables…
AMH
- 101
0
votes
1 answer
How to install mosquitto with websockets on ubuntu 16.04
I am a complete beginner with Ubuntu and Mosquitto.
I've tried this and this tutorial. But I ended with libwebsocket3 is not installed. After that I realized that apt-get libwebsockets3 is not OK for 16.04 which is for 14.04 LTS.
What is the…
Ismail Yavuz
- 141
- 1
- 9
0
votes
0 answers
socket hang up on Ubuntu but it works on Windows
This error happens on Ubuntu 24.04 and Debian 12. When I hit an API using Axios I keep getting this error, but it works on Windows.
cause: Error: socket hang up
at connResetException (node:internal/errors:720:14)
at TLSSocket.socketOnEnd…
yechale degu
- 101
0
votes
1 answer
Websocket sending blob object on live server and string on local server
I am new to Ubuntu and recently created a project with WebSocket.
Everything works as expected on local server but on live server I get following error:
Uncaught SyntaxError: Unexpected token 'o', "[object Blob]" is not valid JSON
at JSON.parse…
Dev Chauhan
- 101
0
votes
1 answer
Webapp fails with net::ERR_CONNECTION_REFUSED with Ubuntu 18.04.4 Server Edition but works fine with Ubuntu 18.04.4 Desktop
I put in this repository a tiny testing webapp: https://github.com/marcoippolito/testproject
If I git clone it in a laptop using Linux 5.3 Ubuntu 18.04.3 LTS (Bionic Beaver)
with this environment:
(base) marco@marco-U36SG:~/vueMatters/testproject$…
user2315094
- 247
- 2
- 6
- 19
0
votes
0 answers
WebSocket connection to 'wss://test.example.com:8090/' failed: WebSocket opening handshake timed out
I am using https and websocket connection for Laravel project. I have setup virtual host like following:
ServerName test.example.com
ServerAdmin test.example.com
RewriteEngine On
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1…