socket.io Questions
4
I am building a chat app and would like to write integration tests using react-testing-library and can not figure out how to mock socket.io-client's socket.on, socket.emit, etc.
I tried follow thi...
Bradwell asked 3/10, 2019 at 2:44
3
Solved
I am receiving an Error: xhr poll error in the connect_error event when trying to connect to my websocket gateway.
I am using "socket.io-client": "^4.2.0".
import { io } from &q...
Justiciary asked 5/10, 2021 at 12:29
3
I keep getting this error in the developer console when I run socket.io in electron.
engine.io-client:socket probe transport "websocket" failed because of error: transport closed +6s
When I est...
3
Solved
I want to emit some data to the client when some API route gets called.
I have to following code on server.js
var app = express();
var http = require('http').Server(app);
var io = require('socket...
5
Solved
I am testing the scalability of a websockets application I wrote using socket.io and Node.js. I want to stress test and benchmark the performance. What are some tools I can use?
So far I've looked...
Breaker asked 23/4, 2011 at 1:32
4
Solved
Situation: autoreload of phonegap serve blocked by content-security-policy meta tag
Adding content security policy prevents auto-reload of phonegap serve utility. This is built on top of cordova s...
Leticialetisha asked 7/10, 2015 at 7:21
4
Next.js provides serverless API routes. By creating a file under ./pages/api you can have your service running, and I want to have a Socket.io service by using this mechanism.
I have created a cli...
3
Solved
I'm looking into Laravel Echo (With socket.io as connector)
But I can't find out how to bind a callback when user/visitor succeed or not connecting to the socket (Not channel), but generally if co...
Bader asked 22/9, 2017 at 8:42
2
Solved
I am new in laravel so I googled a lot for different approaches how to create websocket with redis, socket.io in laravel framework.
And finally my websocket works as I expected. However I still hav...
10
Solved
[~]# node node.js
Error: Cannot find module 'socket.io'
[~]# node -v
v0.10.10
socket.io installed:
npm install socket.io
npm WARN package.json [email protected] No repository field.
npm ...
3
Solved
I have been searching how to get a notification badge on the tab of the website page like in the image below, but couldn't find much, or anything that works. I have made a chat site and want people...
Whereas asked 14/1, 2021 at 12:56
3
Solved
I would like to know if its possible to get active WebSockets of a Website.
An example would be: var x = document.findWebSocket().
The websockets would be listed in Chrome under the Network Tab (I...
Rive asked 26/1, 2020 at 6:8
5
Solved
Is it possible to create an express (node) application without the need for a template engine such as jade or ejs. I've got a large final year project at university and i'm going to be using node, ...
3
Solved
I am currently building a web app with next.js, which requires real-time updates across devices, for example, if someone joins a group this needs to be instantly shown for all existing members of t...
4
I have a Node.js app that uses HTTP / REST (using Express.js), and a native Android application that communicates with this. This works fine.
I am now looking at writing a more real-time version, ...
3
I want to build a basic global (no rooms) chat with laravel / node / redis using websockets.
I followed this tutorial:
http://blog.nedex.io/laravel-5-1-broadcasting-events-using-redis-driver-sock...
10
Solved
I have set up a node server with socket io turning and trying to connect to it through another server.
However some browsers on different computers give me this error and makes it reconnect the who...
Cordeliacordelie asked 19/6, 2017 at 10:40
10
Solved
I am trying to create https server to test socket io by node js. According this page
openssl genrsa -out privatekey.pem 2048
openssl req -new -key privatekey.pem -out certrequest.csr
openssl x509...
2
I'm getting this error log from chrome's console
XMLHttpRequest cannot load https://subgroup.domain.com/socket.io/?EIO=3&transport=polling&t=Lpgp_mu. No 'Access-Control-Allow-Origin' hea...
4
Solved
Question title may be little confusing, I tried my best to explain it.
I've got laravel-echo-server, redis (for queueing), and Laravel echo set up. All I want is to send a message via an input, a...
2
App I want to make
I would like to make audio recognition mobile app like Shazam with
Expo
Expo AV(https://docs.expo.io/versions/latest/sdk/audio)
Tensorflow serving
Socket.IO
I want to send reco...
Dialectologist asked 17/10, 2020 at 10:38
12
Solved
I am writing an application for Android 2.3.5 (that will also be compatible with iOS). I wish to transfer data from the app's HTML/Javascript to a Python program on a server (which uses the Twisted...
Lycurgus asked 16/8, 2012 at 21:4
2
Solved
I'm trying to do something along these lines:
from flask import Flask, render_template, redirect, url_for
from flask.ext.socketio import SocketIO
app = Flask(__name__)
socketio = SocketIO(app)
@...
2
Solved
My app is working fine in localhost with socket.io using websockets and xhr-polling and it's working with xhr-polling in heroku, but since heroku provided support for websocket I can´t make it work...
4
I am trying to authenticate the laravel echo using a private channel. Every time I am getting "could not be authenticated to private-basket_details.1 " . "basket_details" this is the channel name a...
Potboy asked 27/7, 2018 at 3:55
1 Next >
© 2022 - 2024 — McMap. All rights reserved.