Resolv::DNS::DecodeError: limit exceeded
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- ruby
- Domain
- networking
Research direction
Start by examining lib/slack/real_time/concurrency/celluloid.rb and lib/slack/real_time/socket.rb, the entry points shown in the stack trace, and reproduce the Resolv::DNS::DecodeError during connection. No test or expected behavior is provided; done would require identifying the cause, defining the intended connection behavior, and adding a verified fix or regression coverage.
Written by the indexing model from the issue text.
Description
Has anybody seen this before? I thought this might be a rate limiting issue but I'm not having issues with the web client. I also deleted my Slack app and recreated it but I'm still having this issue.
Resolv::DNS::DecodeError: limit exceeded
from /usr/local/lib/ruby/2.3.0/resolv.rb:1583:in `get_string'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1631:in `get_label'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1625:in `get_labels'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1598:in `get_name'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1641:in `get_rr'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1515:in `block (2 levels) in decode'
from /usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/core_ext/range/each.rb:5:in `each'
from /usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/core_ext/range/each.rb:5:in `each'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1514:in `block in decode'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1531:in `initialize'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1495:in `new'
from /usr/local/lib/ruby/2.3.0/resolv.rb:1495:in `decode'
from /usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/dns_resolver.rb:46:in `resolve'
from /usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/tcp_socket.rb:101:in `create_socket'
from /usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/tcp_socket.rb:53:in `initialize'
from /usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/socket.rb:39:in `new'
... 37 levels...
from /usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/dependencies.rb:296:in `load'
from /usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/dependencies.rb:296:in `block in load'
from /usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/dependencies.rb:268:in `load_dependency'
from /usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/dependencies.rb:296:in `load'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/commands/rails.rb:6:in `call'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/command_wrapper.rb:38:in `call'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/application.rb:185:in `block in serve'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/application.rb:156:in `fork'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/application.rb:156:in `serve'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/application.rb:131:in `block in run'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/application.rb:125:in `loop'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/application.rb:125:in `run'
from /usr/src/bundle/gems/spring-1.6.4/lib/spring/application/boot.rb:18:in `<top (required)>'
from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'irb(main):046:0> E, [2016-02-29T15:33:05.306451 #29] ERROR -- : Actor crashed!
Resolv::DNS::DecodeError: limit exceeded
/usr/local/lib/ruby/2.3.0/resolv.rb:1583:in `get_string'
/usr/local/lib/ruby/2.3.0/resolv.rb:1631:in `get_label'
/usr/local/lib/ruby/2.3.0/resolv.rb:1625:in `get_labels'
/usr/local/lib/ruby/2.3.0/resolv.rb:1598:in `get_name'
/usr/local/lib/ruby/2.3.0/resolv.rb:1641:in `get_rr'
/usr/local/lib/ruby/2.3.0/resolv.rb:1515:in `block (2 levels) in decode'
/usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/core_ext/range/each.rb:5:in `each'
/usr/src/bundle/gems/activesupport-5.0.0.beta3/lib/active_support/core_ext/range/each.rb:5:in `each'
/usr/local/lib/ruby/2.3.0/resolv.rb:1514:in `block in decode'
/usr/local/lib/ruby/2.3.0/resolv.rb:1531:in `initialize'
/usr/local/lib/ruby/2.3.0/resolv.rb:1495:in `new'
/usr/local/lib/ruby/2.3.0/resolv.rb:1495:in `decode'
/usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/dns_resolver.rb:46:in `resolve'
/usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/tcp_socket.rb:101:in `create_socket'
/usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/tcp_socket.rb:53:in `initialize'
/usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/socket.rb:39:in `new'
/usr/src/bundle/gems/celluloid-io-0.17.3/lib/celluloid/io/socket.rb:39:in `new'
/usr/src/bundle/gems/slack-ruby-client-0.6.0/lib/slack/real_time/concurrency/celluloid.rb:72:in `build_socket'
/usr/src/bundle/gems/slack-ruby-client-0.6.0/lib/slack/real_time/concurrency/celluloid.rb:86:in `connect'
/usr/src/bundle/gems/slack-ruby-client-0.6.0/lib/slack/real_time/socket.rb:26:in `connect!'
/usr/src/bundle/gems/slack-ruby-client-0.6.0/lib/slack/real_time/concurrency/celluloid.rb:30:in `connect!'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:16:in `dispatch'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
/usr/src/bundle/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'
- Dominant language
- Ruby
- Stars
- 1.3k
- Forks
- 222
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slack-ruby/slack-ruby-client
-
new feature question
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
slack-ruby/slack-ruby-client#586 · 3 comments ·
-
bug?
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
slack-ruby/slack-ruby-client#579 · 3 comments ·
-
new feature web api
Difficulty 3/5 1-2 days Newbie friendliness 42/100
slack-ruby/slack-ruby-client#482 · 5 comments ·
-
new feature
Difficulty 4/5 3-5 days Newbie friendliness 35/100
slack-ruby/slack-ruby-client#414 · 15 comments ·
-
confirmed bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
slack-ruby/slack-ruby-client#409 · 5 comments ·
All issues in slack-ruby/slack-ruby-client
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
TheOdinProject/curriculum#31423 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oxidize-rb/rb-sys#807 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ai-generated
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100