All Questions
422 questions
0
votes
0
answers
54
views
How to change the default context path of socket io server side implementation using netty in java spring boot application
We have implemented socket io server side implementation using netty socket io in existing java spring boot application.
We are able to connect socket io by using localhost:8788 from postman. And in ...
0
votes
0
answers
42
views
Socket io server side implementation using java netty-socket and want to know which server it is running? In spring boot
We have a spring boot application already which is running on tomcat server.
As per the requirement we need to implement socket io server side implementation using java. So have added below dependency ...
0
votes
1
answer
29
views
Fail to connect a kotlin socket.io client to a node.js socket.io server
This is my server code
const express = require('express');
const {createServer} = require('node:http')
const {Server}= require('socket.io');
const {join} = require('node:path');
var PORT = process.env....
0
votes
0
answers
44
views
unknown transport error on SocketIO with a Java project
When I search for "http://localhost:21687" or "http://localhost:21687/spdnet" at https://piehost.com/socketio-tester I get unknown transport for request /socket.io/?EIO=3&...
0
votes
1
answer
70
views
What should I use to create an android messenger?
I'm new to Android but I'm trying to figure it out. So I need my app to
Send messages (and other info) to my server
Recieve messages online from server
Recieve notification about new message when app ...
2
votes
1
answer
347
views
socket.io/OkHttp leaks threads after closing the program
I'm using io.socket:socket.io-client:2.1.0 in my libGDX Java App and I run it on desktop with Android Studio.
The problem is that when I close the app's window, the app is still active.
I noticed that ...
2
votes
1
answer
400
views
Connecting React Client to Netty SocketIO Spring Boot Backend results in Core issue
I am trying to connect my Next.js frontend to Spring boot backend in which I am using netty socketio server.
I get 404 error in browser console.
This is my backend code:
@Configuration
public class ...
1
vote
1
answer
77
views
Jackson MismatchedInputException
I'm building an application for a school project using Java, JavaFX, SocketIO, and Hibernate.
Classes:
Server:
@Entity
@Table(name = "expenses")
@Data
@AllArgsConstructor
@...
-1
votes
1
answer
65
views
SocketIO Java client not connecting
I am attempting to create a simple connection between a python SocketIO server on repl.it and an Android Java app. When I attempt to connect to the socket nothing is happening.
Client:
Socket socket;
...
1
vote
0
answers
78
views
Kubernetes Ingress - 502 Bad Gateway
I've confirmed this works locally, but when deploying, there looks to be a breakdown in communication.
I have this ingress defined:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ ....
0
votes
0
answers
71
views
Java Socket programming java.net.ConnectException: Operation timed out
I'm new to java and building a microservice in java that reads messages from ActiveMQ and send the message as a TCP packet to another server using socker programming. I'm able to successfully read the ...
0
votes
0
answers
50
views
Why does my while loop continue to run despite the if condition
As part of my Java course, I'm writing a server-client socket program that facilitates a file transfer. While the file transfer works fine, it always throws an exception whenever I try to close it ...
0
votes
1
answer
50
views
Java equivalent of Javascript code : sending to WebSocket
I need to write java socket emit code for the following javascript code.
socket.emit('pageload', { "inputtoken": $('#wtokens').val() });
Java equivalent tried, does not works.
...
1
vote
2
answers
130
views
Cant connect to express server from android app
I have a backend written with express and an app with Java for android.
Background:
I want to create socket communication between the app and the server, but I can't connect to the server from the app....
1
vote
0
answers
109
views
How to play streamed audio thought socketio on Android Device?
I've created a simple voice call app that sends the Microphone input audio to the socket server which is written in Python and gets the audio through socket connection and plays it.
There is a problem ...