plamoni / SiriProxy

A (tampering) proxy server for Apple's Siri
GNU General Public License v3.0
2.12k stars 343 forks source link

can'T get my siriproxy work #523

Closed karlbarre closed 11 years ago

karlbarre commented 11 years ago

I can't figure what's wrong with my instalation, did everything as written and still get somme error like this:

karlbarre@ubuntu:~$ rvmsudo siriproxy server -d 192.158.0.105 -u nobodyWarning: 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.[sudo] password for karlbarre: WARN: Unresolved specs during Gem::Specification.reset: rake (>= 0) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. [Notice - Configuration] ==================== Important Configuration Notice ========================== [Notice - Configuration] '/home/karlbarre/.siriproxy/config.yml' not found. Using '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' [Notice - Configuration] [Notice - Configuration] Remove this message by copying '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' into '~/.siriproxy/' [Notice - Configuration] ============================================================================== [Info - Configuration] Loading plugins -- If any fail to load, run siriproxy bundle (not bundle install) to resolve. [Info - Server] Starting SiriProxy on 0.0.0.0:443... [Info - Server] DNS server is not running yet, waiting 1 second... [Error - Server] Either you're not root or tcp/udp port 53 is in use. DNS server is disabled [Info - Server] SiriProxy up and running. ^C/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine': Interrupt from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy.rb:17:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:in start_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:90:inrun_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:39:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:in <top (required)>' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:inload' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:in <main>' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:ineval'

what did I do wrong ? it was a fresh instal and took the ip adress of my virtual machine

thx a lot for your help, working on a projet and trying to install a siriproxy for months

elvisimprsntr commented 11 years ago

the error message is in the log output type export rvmsudo_secure_path=1

karlbarre commented 11 years ago

still get this :+1:

karlbarre@ubuntu:~$ export rvmsudo_secure_path=1 karlbarre@ubuntu:~$ rvmsudo siriproxy server -d 192.168.0.106 -u karlbarre[sudo] password for karlbarre: [Notice - Configuration] ==================== Important Configuration Notice ========================== [Notice - Configuration] '/home/karlbarre/.siriproxy/config.yml' not found. Using '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' [Notice - Configuration] [Notice - Configuration] Remove this message by copying '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' into '~/.siriproxy/' [Notice - Configuration] ============================================================================== [Info - Configuration] Loading plugins -- If any fail to load, run siriproxy bundle (not bundle install) to resolve. [Info - Server] Starting SiriProxy on 0.0.0.0:443... /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:in start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError) from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:instart_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy.rb:28:in block in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:incall' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy.rb:17:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:in start_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:90:inrun_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:39:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:in <top (required)>' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:inload' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:in <main>' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:ineval' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `

' karlbarre@ubuntu:~$

how can i resolve this ?

thank you very much for your help,

elvisimprsntr commented 11 years ago

Try dropping the -u option

Elvis

On May 13, 2013, at 0:01, karlbarre notifications@github.com wrote:

still get this

karlbarre@ubuntu:~$ export rvmsudo_secure_path=1 karlbarre@ubuntu:~$ rvmsudo siriproxy server -d 192.168.0.106 -u karlbarre[sudo] password for karlbarre: [Notice - Configuration] ==================== Important Configuration Notice ========================== [Notice - Configuration] '/home/karlbarre/.siriproxy/config.yml' not found. Using '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' [Notice - Configuration] [Notice - Configuration] Remove this message by copying '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' into '~/.siriproxy/' [Notice - Configuration] ============================================================================== [Info - Configuration] Loading plugins -- If any fail to load, run siriproxy bundle (not bundle install) to resolve. [Info - Server] Starting SiriProxy on 0.0.0.0:443... /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:in start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError) from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:instart_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy.rb:28:in block in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:incall' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy.rb:17:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:in start_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:90:inrun_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:39:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:in <top (required)>' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:inload' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:in

' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:ineval' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `' karlbarre@ubuntu:~$

how can i resolve this ?

thank you very much for your help,

— Reply to this email directly or view it on GitHub.

karlbarre commented 11 years ago

karlbarre@ubuntu:~$ rvmsudo siriproxy server -d 192.168.0.106 [Notice - Configuration] ==================== Important Configuration Notice ========================== [Notice - Configuration] '/home/karlbarre/.siriproxy/config.yml' not found. Using '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' [Notice - Configuration] [Notice - Configuration] Remove this message by copying '/home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/config.example.yml' into '~/.siriproxy/' [Notice - Configuration] ============================================================================== [Info - Configuration] Loading plugins -- If any fail to load, run siriproxy bundle (not bundle install) to resolve. [Notice - Server] ======================= WARNING: Running as root ============================= [Notice - Server] You should use -l or the config.yml to specify and non-root user to run under [Notice - Server] Running the server as root is dangerous. [Notice - Server] ============================================================================== [Info - Server] Starting SiriProxy on 0.0.0.0:443... /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:in start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError) from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:instart_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy.rb:28:in block in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:incall' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy.rb:17:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:in start_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:90:inrun_server' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:39:in initialize' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:innew' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/bin/siriproxy:6:in <top (required)>' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:inload' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:in <main>' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:ineval' from /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `

' karlbarre@ubuntu:~$

getting that. is that part a problem [Info - Server] Starting SiriProxy on 0.0.0.0:443... /home/karlbarre/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:in `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError)

?? don't know how to fix it

thx again

karlbarre commented 11 years ago

just made it work while looking at issue Issue #475

karlbarre commented 11 years ago

w can i make it permanently work ? i have been using that to make it work

dnsmasq 1153 nobody 5u IPv4 10011 0t0 TCP ubuntu:domain (LISTEN) karlbarre@ubuntu:~$ sudo kill 1153

elvisimprsntr commented 11 years ago

You need to uninstall dnsmasq apt-get purge dnsmasq

You need to use dnsmasq or specify the -d option for SiriProxy, not both.

Elvis

On May 13, 2013, at 1:02, karlbarre notifications@github.com wrote:

w can i make it permanently work ? i have been using that to make it work

dnsmasq 1153 nobody 5u IPv4 10011 0t0 TCP ubuntu:domain (LISTEN) karlbarre@ubuntu:~$ sudo kill 1153

— Reply to this email directly or view it on GitHub.