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

too many unacked stazas (policy violation) #2615

Closed
yajo10 opened this issue Sep 25, 2018 · 5 comments
Closed

too many unacked stazas (policy violation) #2615

yajo10 opened this issue Sep 25, 2018 · 5 comments

Comments

@yajo10
Copy link

yajo10 commented Sep 25, 2018

Environment

  • ejabberd version: 18.06
  • Erlang version: Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 8.2.1
  • OS: Raspbian
  • Installed from: official binary installer

Errors from ejabberd.log
2018-09-25 17:35:18.618 [info] <0.15743.0>@ejabberd_c2s:process_terminated:270 (tls|<0.15743.0>) Closing c2s session for xxxx@xxxx.net/phone: Stream closed by us: Too many unacked stanzas (policy-violation)
2018-09-25 17:35:10.532 [info] <0.15743.0>@ejabberd_c2s:bind:402 (tls|<0.15743.0>) Opened c2s session for xxxx@xxxx.net/phone
2018-09-25 17:35:10.259 [info] <0.15743.0>@ejabberd_c2s:handle_auth_success:433 (tls|<0.15743.0>) Accepted c2s SCRAM-SHA-1 authentication for xxxx@xxxx.net by sql backend from ::ffff:xxx.xxx.xxx.xxx
2018-09-25 17:35:07.121 [info] <0.1282.0>@ejabberd_listener🉑272 (<0.15743.0>) Accepted connection ::ffff:xxx.xxx.xxx.xxx:xxxxx -> ::ffff:xxx.xxx.xxx.xxx:5222

Description:
I have a problem connecting my device to my server. All other deivces work very well. I don't know what happened, but I'm getting always this error. My mobile client and gajim are always first saying connection successfull but than printing an error. How could I remove stanza for using the account anymore?
Thank's in advance
yajo10

@licaon-kter
Copy link
Contributor

What mobile client? What happens if you remove "policy" limitation?

@yajo10
Copy link
Author

yajo10 commented Sep 25, 2018

Pix-Art Messenger. It's a fork of Conversations with modified ui. But it also happens in Gajim. How could I remove this?

@zinid
Copy link
Contributor

zinid commented Sep 25, 2018

How could I remove this?

It's max_ack_queue option of mod_stream_mgmt. But the default is rather big already: 5000 stanzas. Try to set it to 10000 anyway, maybe it will help, I don't know.

@yajo10
Copy link
Author

yajo10 commented Sep 25, 2018

Thank's. This solved it. I had it on 70, but I don't know anymore, why I did this....

@yajo10 yajo10 closed this as completed Sep 25, 2018
@lock
Copy link

lock bot commented Sep 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants