Questions tagged [web-sockets]

For questions about the WebSocket protocol, as defined by the W3C. Do not use this tag for questions regarding normal TCP sockets - consider using [sockets] instead.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
898 views

Websockets with Mongoose on ESP-IDF

I'm trying to use the websocket_chat_client example on ESP-IDF platform but the value of status on MG_EV_CONNECT event is always -1, which is a Connection error. What I've done so far is I took the ...
haxpanel's user avatar
  • 293
2 votes
1 answer
350 views

Real-time web-app for IOT devices

Goal I'm currently building a web-application to control multiple IOT devices over the cellular network, given the nature of the devices (working off battery power and operating in network constrained ...
Edmond.D's user avatar
2 votes
0 answers
67 views

MQTT implementation recommendation for an IoT device

I have used HTTP/s based REST API for IoT application and it works well but consumes more data bandwidth and power. Also, the server resources consumed are too high for the long polling-based method. ...
Alan's user avatar
  • 21
1 vote
0 answers
239 views

Creating a Non Blocking socket for making GET requests

I am using an ESP32 with a MicroPython Firmware and want to make asynchronous HTTP requests such as GET request. I have tried using usocket but it did kept throwing OSError 128. I have attached my ...
Archit Kithania's user avatar
1 vote
0 answers
835 views

Why is Mosquitto broker and Paho client running CPU 100% on connection?

I would like to use the mosquitto MQTT broker using Websockets. I am running mosquitto version 1.6.2 on a Debian 8 server. "normal" MQTT works fine, but I am having a problem trying to connect using ...
d2key's user avatar
  • 11
0 votes
0 answers
225 views

Why can't FireFox connect to mosquitto via websocket on Ubuntu 20.04? No problem with Ubuntu 18.04

I tried to set up a new server with mosquitto. When I set up mosquitto on Ubuntu 18.04, both FireFox and Chrome can connect to it via websocket. When I set up the mosquitto on Ubuntu 20.04, only ...
learningtech's user avatar