All Questions
63 questions
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: {{ ....
1
vote
1
answer
431
views
Connect socket server then send message using JAVA
I'm using Postman to test Chat feature (socket.io technology with version 2).
Currently, i have to implement Chat test cases using Java.
Postman request information:
1. Socket server: https://hc-...
1
vote
0
answers
177
views
Get an exact error response from websockets (android)
I am trying to connect to server via websockets.
I was able to reach it via postman, but getting server error each time trying to connect.
I would like to see a response from server. How can I do it?
...
0
votes
0
answers
103
views
Fail to decode the binary frame with Socket.IO Java when broadcasting for multiple clients
On the server side, I create a room and add each SocketIoSocket into it, after that I broadcast a binary message to that room
SocketIoServer server = serverWrapper.getSocketIoServer();
...
0
votes
0
answers
522
views
send event to java Socket IO from angular application
i want to send event to socket io server that ran on java spring boot application,
the weird point is that my angular app can connect to server perfectly and i can get connect and disconnect events in ...
1
vote
1
answer
878
views
I got an issue with 2.1.0 socket version in android
How can make Socket.IO works on android client side
I wrote this code in build.gradle
implementation('io.socket:socket.io-client:2.1.0') {
exclude group: 'org.json', module: 'json'
}
and here's ...
4
votes
0
answers
4k
views
Socket.io Server Url For Testing
in my Android app I have created a Socket.io client side(V2). My problem is that I couldnt any socket.io url which use v3 or higher.
For example these two url use socket.io under v3. ->
https://...
2
votes
0
answers
586
views
AWS API Gateway WebSocket Error: Unexpected response: HTTP/1.1 101 Switching Protocols
I have implemented Socket.io in the backend with netty SocketIO in java spring boot. And client connects to WebSocket using
ws://{server.ip.address}:5291/socket/?transport=websocket
http://{server.ip....
1
vote
1
answer
3k
views
Socket.io is not connecting in android, How to connect socket in android?
I'm new to socket.io
I have tried everything I came across but still it's false when is use the connected() function.
I've checked the permissions I have both of :
<uses-permission android:name=&...
1
vote
0
answers
99
views
Socket.IO emit function inside Loop Java
Trying to emit inside while loop
Socket socket = IO.socket("http://18.223.196.164:9000");
socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() {
@Override
public void call(...
3
votes
0
answers
1k
views
why android app crashes when socket.connect(), using 'com.github.nkzawa:socket.io-client:0.6.0'?
I am using a standard client code to send a string to my server. I am using Socket.io with 'com.github.nkzawa:socket.io-client:0.6.0' and my application is crashes when socket connect successfully ...
2
votes
0
answers
738
views
How to change transports: ['polling'], in android socket
We are trying to establish the socket connection in android app.
we set transports ['polling']
and tried the bellow option but couldn't connect the socket
try {
IO.Options options = ...
0
votes
1
answer
401
views
How to send photos,videos and other files via web sockets (Socket.IO) in Android?
I have tried converting media into 'base64' string then tried to send it. But I think for more long string there will be problem to send that string via web sockets. Kindly share better idea for that.
17
votes
1
answer
41k
views
Can i use Socket.io with Spring-boot?
I am gonna develop a real time game for andriod/ios and i need a server which transmit data with client real time.
Can i use socket.io with Spring boot?
Or if the answer is no , using websockets with ...
1
vote
0
answers
777
views
WebSocket handshake error : Unexpected response code: 400
I have to use engine.io-server-java in my project. When I initiate the eio function, The request has failed and thrown 400 Bad requests. How do I debug this problem? Are there any documents available ...