Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emitWithAck returning No ACK #1489

Open
waqar681 opened this issue May 8, 2024 · 10 comments
Open

emitWithAck returning No ACK #1489

waqar681 opened this issue May 8, 2024 · 10 comments

Comments

@waqar681
Copy link

waqar681 commented May 8, 2024

@nuclearace Need help
Screenshot 2024-05-08 at 8 02 12 PM

image image
@waqar681
Copy link
Author

waqar681 commented May 8, 2024

@drekka @bazza @nuclearace

@hourksavet
Copy link

hourksavet commented May 9, 2024

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

@waqar681
Copy link
Author

waqar681 commented May 9, 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

@waqar681
Copy link
Author

waqar681 commented May 9, 2024

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

@hourksavet
Copy link

hourksavet commented May 9, 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

@waqar681
Copy link
Author

waqar681 commented May 9, 2024

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

@hourksavet
Copy link

hourksavet commented May 9, 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.

@waqar681
Copy link
Author

waqar681 commented May 9, 2024

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

@hourksavet
Copy link

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.

@waqar681
Copy link
Author

waqar681 commented May 9, 2024

Namespace concatenate extra comma while connecting to server namespace

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants