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

"conflicted subscriber. (ArgumentError)" error occurs on appending a message #28

Open
y10k opened this issue Oct 20, 2019 · 0 comments
Open
Labels

Comments

@y10k
Copy link
Owner

y10k commented Oct 20, 2019

I, [2019-10-17T23:41:00.025697 #763]  INFO -- rims: accept connection: 127.0.0.1:40304
I, [2019-10-17T23:41:00.026839 #763]  INFO -- rims: server response: * OK RIMS v0.2.7 IMAP4rev1 service ready.
I, [2019-10-17T23:41:00.028597 #763]  INFO -- rims: client command: RUBY0001 LOGIN
I, [2019-10-17T23:41:00.142926 #763]  INFO -- rims: login authentication OK: #postman
I, [2019-10-17T23:41:00.143339 #763]  INFO -- rims: mail delivery user: #postman
I, [2019-10-17T23:41:00.144093 #763]  INFO -- rims: server response: RUBY0001 OK LOGIN completed
I, [2019-10-17T23:41:00.145294 #763]  INFO -- rims: client command: RUBY0002 CAPABILITY
I, [2019-10-17T23:41:00.146169 #763]  INFO -- rims: server response: RUBY0002 OK CAPABILITY completed
I, [2019-10-17T23:41:00.278532 #763]  INFO -- rims: client command: RUBY0003 APPEND
I, [2019-10-17T23:41:00.278745 #763]  INFO -- rims: message delivery: user toki, mailbox mail.freedom.ne.jp
I, [2019-10-17T23:41:00.278969 #763]  INFO -- rims: open mail store: 044984e115110d534d72d8aaef9f100a88b7446bdbe3371e804be27f6b9611a2 [ toki ]
E, [2019-10-17T23:41:00.285979 #763] ERROR -- rims: invalid command parameter.
E, [2019-10-17T23:41:00.286234 #763] ERROR -- rims: conflicted subscriber. (ArgumentError)
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/channel.rb:19:in `block in attach'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/channel.rb:17:in `synchronize'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/channel.rb:17:in `attach'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/channel.rb:13:in `make_pub_sub_pair'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/mail_store.rb:398:in `attach'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/mail_store.rb:367:in `open_folder'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:1106:in `mailbox_size_server_response_multicast_push'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:1165:in `append'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:774:in `guard_authenticated'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:782:in `block in guard_authenticated'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/lock.rb:111:in `write_synchronize'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /usr/local/lib/ruby/2.6.0/forwardable.rb:230:in `write_synchronize'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:781:in `guard_authenticated'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:814:in `block in imap_command_authenticated'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /usr/local/lib/ruby/2.6.0/delegate.rb:83:in `method_missing'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /home/toki/imap_mail/vendor/ruby/2.6.0/gems/riser-0.1.11/lib/riser/resource.rb:103:in `method_missing'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /usr/local/lib/ruby/2.6.0/drb/invokemethod.rb:15:in `perform_with_block'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /usr/local/lib/ruby/2.6.0/drb/drb.rb:1593:in `perform'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /usr/local/lib/ruby/2.6.0/drb/drb.rb:1679:in `block (2 levels) in main_loop'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /usr/local/lib/ruby/2.6.0/drb/drb.rb:1675:in `loop'
(drbunix:/tmp/riser_14738c76-1f1b-47bf-902a-08083cbfcc1a.drb) /usr/local/lib/ruby/2.6.0/drb/drb.rb:1675:in `block in main_loop'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:1695:in `append'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:183:in `guard_error'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:253:in `block in imap_command'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:1934:in `deliver_to_user'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:1961:in `block in append'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:163:in `block in response_stream'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:28:in `each'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:28:in `each'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:28:in `block in repl'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:43:in `block in repl'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:117:in `block in repl'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:1964:in `append'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:183:in `guard_error'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:253:in `block in imap_command'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/protocol/decoder.rb:117:in `repl'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/rims-0.2.7/lib/rims/service.rb:1022:in `block in setup'
/home/toki/imap_mail/vendor/ruby/2.6.0/gems/riser-0.1.11/lib/riser/server.rb:353:in `block (2 levels) in start'
I, [2019-10-17T23:41:00.286548 #763]  INFO -- rims: message delivery: failed to deliver message.
I, [2019-10-17T23:41:00.287194 #763]  INFO -- rims: server response: RUBY0003 BAD invalid command parameter
I, [2019-10-17T23:41:00.342709 #763]  INFO -- rims: client command: RUBY0004 LOGOUT
@y10k y10k added the bug label Oct 20, 2019
y10k added a commit that referenced this issue Nov 21, 2019
Github Issue: #28

Add optional data to the exception to inspect run-time information at
the time of raising error.
y10k added a commit that referenced this issue Nov 21, 2019
Github Issue: #28

Add optional error data to inspect the status of the running server.
y10k added a commit that referenced this issue Nov 21, 2019
)

Github Issue: #28

A subscriber includes paired publisher to add the publisher to
optional error data.
y10k added a commit that referenced this issue Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant