Comments (10)
@hourksavet @nuclearace
I've tested with both [String: Any] and [Any], but I'm encountering the same error
from socket.io-client-swift.
from socket.io-client-swift.
Because ack is required server send an ack back
from socket.io-client-swift.
@hourksavet The server is successfully sending the acknowledgment back, as confirmed by testing in Postman.
However, there's an issue: when the request is sent from an iOS, the server-side logs do not show the parameters. Interestingly, the parameters are visible in the logs when the request is sent from Postman
from socket.io-client-swift.
@hourksavet brother please see the below image for request from postman
from socket.io-client-swift.
You set "timeout" = 1 second it too short time for sending data. Please test to increase your timeout. timeout will kill your emit thread.
Timeout it like to API request timeout
from socket.io-client-swift.
@hourksavet I increase the timeout = 20 but still getting the same error "NO ACK"
from socket.io-client-swift.
@hourksavet I increase the timeout = 20 but still getting the same error "NO ACK"
Please check your formate data to emit, is formate [String: Any]
or [Any]
or not
If your side follow by docs to emitWithAck
, check logic ack
code server side.
from socket.io-client-swift.
I am using v15.2.0 and test with v16.1.0; It working. Maybe server side do eat you.
NO ACK
because your service side not call ack back.
from socket.io-client-swift.
Namespace concatenate extra comma while connecting to server namespace
from socket.io-client-swift.
Related Issues (20)
- Does the library support socks proxy?
- Reconnect Auth Behavior
- socket.emitWithAck(...)timingOut(...) timeout callback never called HOT 2
- LOG SocketManager: Tried connecting an already active socket
- Cannot connect to server, when android client can connect HOT 3
- Privacy Manifest HOT 3
- Potential Memory Management Issue with emitWithAck and timingOut(after:) HOT 1
- How can i use SocketIO without Rosetta on Apple Silicon
- Compiling for iOS 10.0, but module 'Starscream' has a minimum deployment target of iOS 12.0 HOT 1
- Socket didn't send or get any Ping Pong Events HOT 4
- Implement Connection State Recovery
- Starscream version (4.0.8) HOT 3
- Socket not connecting HOT 7
- Volatile events
- Compiling for iOS 11.0, but module 'Starscream' has a minimum deployment target of iOS 12.0 HOT 2
- Keep listening socket when user enters background HOT 2
- Compiling for iOS 11.0, but module 'Starscream' has a minimum deployment target of iOS 12.0 HOT 3
- Why Starscream v4.0.8
- Is there a logic in connect(withPayload: ) that automatically wraps dict into auth:dict?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socket.io-client-swift.