Giter VIP home page Giter VIP logo

Comments (10)

waqar681 avatar waqar681 commented on June 2, 2024 1

@hourksavet @nuclearace
I've tested with both [String: Any] and [Any], but I'm encountering the same error

from socket.io-client-swift.

waqar681 avatar waqar681 commented on June 2, 2024

@drekka @bazza @nuclearace

from socket.io-client-swift.

hourksavet avatar hourksavet commented on June 2, 2024

Because ack is required server send an ack back
Screenshot 2024-05-09 at 3 58 21 in the afternoon

from socket.io-client-swift.

waqar681 avatar waqar681 commented on June 2, 2024

@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.

waqar681 avatar waqar681 commented on June 2, 2024

@hourksavet brother please see the below image for request from postman
image

from socket.io-client-swift.

hourksavet avatar hourksavet commented on June 2, 2024

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.

waqar681 avatar waqar681 commented on June 2, 2024

@hourksavet I increase the timeout = 20 but still getting the same error "NO ACK"

from socket.io-client-swift.

hourksavet avatar hourksavet commented on June 2, 2024

@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.

hourksavet avatar hourksavet commented on June 2, 2024

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.

waqar681 avatar waqar681 commented on June 2, 2024

Namespace concatenate extra comma while connecting to server namespace

image image

from socket.io-client-swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.