28,597 questions
1
vote
0
answers
31
views
Python uvicorn app opens a cmd - how to stop it?
I've been building a WebSocket application and I opted for Python FastAPI + Uvicorn for server side. Having pretty much finished the app, I decided to pack the server into an .exe file. Even though I ...
0
votes
0
answers
10
views
quarkus-websockets: Sec-WebSocket-Protocol subprotocol negotiation seems to be broken
When using quarkus-websockets-next, you can configure supported subprotocols and have Quarkus propagate the client’s Sec-WebSocket-Protocol header via:
quarkus:
websockets-next:
server:
...
0
votes
1
answer
35
views
Quarkus WebSockets Next Intercepting HTTP GET Requests when using the @WebSocket annotation
After moving from quarkus-websocket to quarkus-websockets-next, any HTTP GET to a @WebSocket path now errors with
"Connection" header must be "Upgrade"
This is because the new ...
1
vote
0
answers
38
views
C# ASP.NET Core 8 server WebSocket sometimes hangs at ReceiveAsync() when data is available
I have a server application build with ASP.NET Core 8 using the WebSocket middleware.
I use websockets to send messages between a client and the server, in this case it is used to send audio from the ...
-1
votes
0
answers
32
views
websocket connection is getting lost with no response in the UI
Flask
@socketio.on('connect')
def handle_connect(arg):
logger.info("Client connected via WebSocket")
socketio.emit('engine_status_update', {"message": "Connected to ...
1
vote
1
answer
36
views
Spring Boot WebSocket connection fails when URL is too long
Long story short:
Can't connect to websocket in spring boot when the URL is long.
Some background info:
I'm trying to connect to a Binance WebSocket endpoint. The URL format looks like this:
wss://...
0
votes
0
answers
15
views
python server / JS client: socketio regular disconnects
In trying to reproduce errors from a larger project I have created a server using python's aiohttp and the following python-socketio (v5.12.0) namespace:
class MyNamespace(AsyncNamespace):
...
0
votes
0
answers
28
views
Laravel custom pusher auth fails to authorize subscriptions
My website has two different entities device and user that should be treated differently with custom logic. But, each can access the website and each has limited access to specific functionalities.
...
0
votes
0
answers
26
views
websocket and associated daemon killed when upgrading from python 3.7 --> 3.12.10 [closed]
i wrote some years ago a foto manager (fm) program in python3.7 that uses Websocket calls between a python daemon and javascript HTML pages in Firefox. things worked alright with python 3.7 - but now ...
0
votes
0
answers
24
views
eBPF transparent TCP interception and redirection
I am working on a project that will enable TCP traffic tunneling to remote networks and I have a few questions about my approach and specifically about the use of eBPF to transparently intercept ...
0
votes
0
answers
32
views
Jakarta WebSocketContainer connectToServer blocks
jakarta.websocket Tomcat endpoint test works well with html/javascript client, but connection call blocks from java client
Server endpoint:
package webs;
import java.io.IOException;
import jakarta....
0
votes
0
answers
22
views
How to use pagination with djangochannelsrestframework?
I'm using djangochannelsrestframework for my project and want to use Pagination. I found the PaginatedModelListMixin.
This is my consumer:
class UserConsumer(GenericAsyncModelAPIConsumer):
...
-7
votes
1
answer
62
views
Cannot include Beast library in C++ [closed]
I want to use websockets in a c++ project. For this I am using boost library. I ma currently unable to import the library. I have added the path in environment variable
if i try to run the code this ...
0
votes
0
answers
24
views
How to effieciently and securely make STOMP web socket client in Android App (Kotlin/Java)
I'm developing an Android application (using Kotlin/Java) that needs to communicate in real-time with a Spring Boot backend over WebSockets using the STOMP protocol.
Backend Setup:
The backend is ...
0
votes
0
answers
31
views
How can I capture and stream real-time audio from Google Meet via a Chrome Extension?
I'm building a Chrome extension that interacts with Google Meet, and I'm trying to capture and stream real-time audio from a meeting to a backend server for transcription and processing.
So far, my ...