# MD5 wrong number of arguments (1 for 0) Error

**URL:** <https://www.ruby-forum.com/t/md5-wrong-number-of-arguments-1-for-0-error/184757>\
**Category:** Rails\
**Created:** [March 8, 2010, 7:15am UTC](https://www.ruby-forum.com/t/md5-wrong-number-of-arguments-1-for-0-error/184757 "2010-03-08T07:15:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![salil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@salil](https://www.ruby-forum.com/u/salil)\
**Post date:** [March 8, 2010, 7:15am UTC](https://www.ruby-forum.com/t/md5-wrong-number-of-arguments-1-for-0-error/184757/1 "2010-03-08T07:15:09Z")

</div>

Hi All,

I have following error on my Server which is working properly on my  
local on following line .

event\_id = MD5.new(“event-init-flash-#{Asteroid::now}”).to\_s #line 232

ERROR: wrong number of arguments (1 for 0)  
/ruby/gems/gems/shooting\_star-3.2.7/bin/…/lib/shooting\_star/server.rb:232:in  
`initialize' /ruby/gems/gems/shooting_star-3.2.7/bin/../lib/shooting_star/server.rb:232:in `new’  
/ruby/gems/gems/shooting\_star-3.2.7/bin/…/lib/shooting\_star/server.rb:232:in  
`make_flash_connection' /ruby/gems/gems/shooting_star-3.2.7/bin/../lib/shooting_star/server.rb:70:in `receive\_data’  
/ruby/gems/gems/shooting\_star-3.2.7/bin/…/lib/shooting\_star.rb:87:in  
`run' /ruby/gems/gems/shooting_star-3.2.7/bin/../lib/shooting_star.rb:87:in `start’  
/ruby/gems/gems/shooting\_star-3.2.7/bin/shooting\_star:61  
/ruby/gems/bin/shooting\_star:19:in `load’  
/ruby/gems/bin/shooting\_star:19  
POST /10 HTTP/1.1  
Host: 67.222.55.30:8080  
Content-length: 103

I used shooting\_star to create an Chat Application.  
Ref:- [GitHub - genki/shooting-star: A practical comet server written by C/Ruby.](http://github.com/genki/shooting-star)  
Following are the REQUIREMENTS of the shooting\_star

- Linux or xBSD OS having epoll or kqueue.
- Increase ulimit of nofile up to over 100,000.  
(edit /etc/security/limits.conf file.)
- prototype.js 1.5.0+
- Ruby 1.8.5+
- Ruby on Rails 1.2.0+

My Local Configuration are  
O.S \>\> Linux  
Ruby \>\> ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-linux]  
Rails \>\> 2.3.4  
shooting\_star \>\> 3.2.7  
prototype.js \>\> 1.6.0.3

My Server Configuration are  
O.S \>\> Linux  
Ruby \>\> ruby 1.8.6 (2009-08-04 patchlevel 383) [x86\_64-linux]  
Rails \>\> 2.3.4  
shooting\_star \>\> 3.2.7  
prototype.js \>\> 1.6.0.3

I just want to know what is the problem why it’s not working on server  
if everything is fine in local.

Regards,

Salil G.
