Closed laxman01 closed 11 years ago
Not sure on that one but first run rvmsudo_secure_path=1
to get rid of the top error if not then re-install event machine?
ok that got rid of that error but i still have problem with eventmachine
That was the whole output i copied everything from my terminal
Not sure, only thing I can recommend is to re-install event machine with gem install eventmachine -v 1.0.0
Still the same error. i had the server running perfectly then i reinstalled ruby and started getting theses errors. not sure if that helps
No idea then i'm afraid.
That is not reinsuring haha.
It's not all that bad. I dabble my way through most of this so i'm no where near knowing what errors are just by looking at them, hopefully someone else can chime in
Right now im just praying to one day check my email and see "plamoni commented on your issue"
@plamoni
now im getting this error
Starting SiriProxy on 0.0.0.0:443.. /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:526:in start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError) from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:526:instart_server' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy.rb:19:in block in initialize' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:incall' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in run_machine' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:inrun' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy.rb:16:in initialize' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:96:innew' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:96:in start_server' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:85:inrun_server' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:37:in initialize' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/bin/siriproxy:6:innew' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/siriproxy-0.3.2/bin/siriproxy:6:in <top (required)>' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/siriproxy:23:inload' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/siriproxy:23:in `' server:SiriProxy laxgoalie1996$
Look,your ip can't be 0.0.0.0 And your siriproxy says it is 0.0.0.0. It says Starting SiriProxy on 0.0.0.0:443..
Yes, I fixed that but now I'm still getting the error from before
@TonyLianLong
@chendo
@courtenay
@netpro2k
@plamoni
Please help me
server:SiriProxy laxgoalie1996$ rvmsudo siriproxy server
Warning: can not check /etc/sudoers for secure_path, falling back to call via /usr/bin/env, this breaks rules from /etc/sudoers. export rvmsudo_secure_path=1 to avoid the warning.
Starting SiriProxy on :443..
/Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:526:in start_tcp_server': can't convert nil into String (TypeError)
from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:526:instart_server'
from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy.rb:19:in block in initialize'
from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:incall'
from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in run_machine'
from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:inrun'
from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy.rb:16:in initialize'
from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:96:innew'
from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:96:in start_server'
from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:85:inrun_server'
from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:37:in initialize'
from /Users/laxgoalie1996/Desktop/SiriProxy/bin/siriproxy:6:innew'
from /Users/laxgoalie1996/Desktop/SiriProxy/bin/siriproxy:6:in <top (required)>'
from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/siriproxy:19:inload'
from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/siriproxy:19:in
I got this error when I ran siriproxy update. It was working fine before. Something must have changed in a recent commit to start causing this issue. Why is this issue now closed?
I Closed it because I figured out what I had to do. I could help you if you are having trouble still
Sure that'd be great. I'm stuck at the crash when trying to convert nil into a string.
And do you have DNSMASQ set up correctly with ca.pem installed on your phone?
I've got dnsmasq set up on my ubuntu machine, the one that's running siriProxy. The ca.pem is on my phone. I'm noticing that my local ip is not listed in front of the port, it looks like this: "Starting SiriProxy on :443.." Not sure if that's expected behaviour or not.
Okay run "siriproxy update" Then edit config.yml in your .siriproxy directory The first line should be something like "listen on 0.0.0.0" Change the "0.0.0.0" to your IP Address Then restart SiriProxy
This is the config.yml after the update. It's the one named config.example.yml in the Siriproxy root folder, and mine in .siriproxy looks the same.
port: 443 log_level: 1 plugins:
- name: 'Example'
path: './plugins/siriproxy-example'
# - name: 'Thermostat'
# git: 'git://github.com/plamoni/SiriProxy-Thermostat.git'
# host: '192.168.2.71'
# - name: 'Twitter'
# path: './plugins/siriproxy-twitter' # path works just like specifing in gemfile
# consumer_key: "YOUR_KEY"
# consumer_secret: "YOUR_SECRET"
# oauth_token: "YOUR_TOKEN"
# oauth_token_secret: "YOUR_TOKEN_SECRET"
# Note: Eliza should not be run with other plugins
# - name: 'Eliza'
# path: './plugins/siriproxy-eliza' # path works just like specifing in gemfile
# Below are not actual plugins, just further example of config options
# - SimplePlugin # simple syntax for plugins that are in rubygems and have no config
# - name: 'AnotherPlugin'
# git: 'git://github.com/netpro2k/SiriProxy-AnotherPlugin.git' # git works just like specifying$
Ok copy and paste the contents of this file to both config files https://github.com/plamoni/SiriProxy/blob/master/config.example.yml Then do the steps I said above
For some reason the update did not grab the latest code for you
Looks like it's running now. I guess that listen line was added recently? I don't think I've updated in a while
Looks like only some files were updated in the pull. Odd.
Yes it's fairly new, about 2 or 3 weeks
Weird but glad to hear you got it working
Thanks for your help. :)
No problem
server:SiriProxy laxgoalie1996$ rvmsudo siriproxy server
Warning: can not check
/etc/sudoers
forsecure_path
, falling back to call via/usr/bin/env
, this breaks rules from/etc/sudoers
. export rvmsudo_secure_path=1 to avoid the warning.Starting SiriProxy on :443..
/Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:526:in'
server:SiriProxy laxgoalie1996$
start_tcp_server': can't convert nil into String (TypeError) from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:526:in
start_server' from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy.rb:19:inblock in initialize' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in
call' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:inrun_machine' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in
run' from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy.rb:16:ininitialize' from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:96:in
new' from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:96:instart_server' from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:85:in
run_server' from /Users/laxgoalie1996/Desktop/SiriProxy/lib/siriproxy/command_line.rb:37:ininitialize' from /Users/laxgoalie1996/Desktop/SiriProxy/bin/siriproxy:6:in
new' from /Users/laxgoalie1996/Desktop/SiriProxy/bin/siriproxy:6:in<top (required)>' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/siriproxy:19:in
load' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/siriproxy:19:in<main>' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/ruby_noexec_wrapper:14:in
eval' from /Users/laxgoalie1996/.rvm/gems/ruby-1.9.3-p374@SiriProxy/bin/ruby_noexec_wrapper:14:in `