plamoni / SiriProxy

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

Updates and stuff; need help #559

Closed andymcblane closed 11 years ago

andymcblane commented 11 years ago

upon running "siriproxy update ." I get this error:

pi@raspberrypi:~$ siriproxy update . === Installing from '.' === rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /home/pi/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in eval' /home/pi/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in

' (See full trace by running task with --trace)

When running "rake install" I get this error :

pi@raspberrypi:~$ rake install rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /home/pi/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in eval' /home/pi/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in

' (See full trace by running task with --trace)

When running" rvmsudo siriproxy server -d 192.168.0.191 -u nobody" I get this: [Notice - Configuration] ==================== Important Configuration Notice ========================== [Notice - Configuration] '/root/.siriproxy/config.yml' not found. Using '/home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/config.example.yml' [Notice - Configuration] [Notice - Configuration] Remove this message by copying '/home/pi/.rvm/gems/ruby-2.0.0-p247/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... [Info - Server] DNS Server started, tainting 'guzzoni.apple.com' with 192.168.0.191 [Info - Server] SiriProxy up and running.

I have created the config.yml but (AFAIK) siriproxy doesn't know about the change because I cannot do "siriproxy update ."

Any help would be awesome

Andy

elvisimprsntr commented 11 years ago

who's instructions are you using, because the sanctioned instructions do not require you to perform siriproxy update. siriproxy should be installed as a gem. if you already have siriproxy 0.5.4 gem installed, that is the current release

elvisimprsntr commented 11 years ago

the config.yml file in your case, needs to reside in the /home/pi/.siriproxy folder.

andymcblane commented 11 years ago

listen: 192.168.0.191 port: 443 log_level: 1 plugins:

That's in my config.yml

pi@raspberrypi:~/.siriproxy$ ls ca.pem cert.log config.example.yml config.yml server.passless.crt server.passless.key

Was following instructions on https://github.com/plamoni/SiriProxy

elvisimprsntr commented 11 years ago

your config.yml file is incorrect. you are missing information and it appears the example plugin lines are not in the correct column. https://github.com/plamoni/SiriProxy/blob/master/config.example.yml

elvisimprsntr commented 11 years ago

once you have a correctly formatted config.yml with all the content, run sirirpoxy bundle

andymcblane commented 11 years ago

After fixing my config.yml and running siriproxy bundle I get this

[Notice - Configuration] ==================== Important Configuration Notice ========================== [Notice - Configuration] '/root/.siriproxy/config.yml' not found. Using '/home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/config.example.yml' [Notice - Configuration] [Notice - Configuration] Remove this message by copying '/home/pi/.rvm/gems/ruby-2.0.0-p247/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... [Info - Server] DNS server is not running yet, waiting 1 second... [Info - Server] DNS Server started, tainting 'guzzoni.apple.com' with 192.168.0.191 [Info - Server] SiriProxy up and running. /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/em/connection.rb:411:in block in start_tls': Could not find /root/.siriproxy/server.passless.key for start_tls (EventMachine::FileNotFoundException) from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/em/connection.rb:409:ineach' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/em/connection.rb:409:in start_tls' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/lib/siriproxy/connection/iphone.rb:15:inpost_init' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/em/connection.rb:58:in block in new' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/em/connection.rb:49:ininstance_eval' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/em/connection.rb:49:in new' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/eventmachine.rb:1467:inevent_callback' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/lib/siriproxy.rb:17:in initialize' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:innew' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:106:in start_server' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:90:inrun_server' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/lib/siriproxy/command_line.rb:39:in initialize' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/bin/siriproxy:6:innew' from /home/pi/.rvm/gems/ruby-2.0.0-p247/gems/siriproxy-0.5.4/bin/siriproxy:6:in <top (required)>' from /home/pi/.rvm/gems/ruby-2.0.0-p247/bin/siriproxy:23:inload' from /home/pi/.rvm/gems/ruby-2.0.0-p247/bin/siriproxy:23:in `

'

elvisimprsntr commented 11 years ago

These types of errors are precisely why I install and run everything as root on the RPi. Use my SD Card image if you are not already. http://sourceforge.net/p/siriproxyrpi/wiki/Home/

If you want to continue to use your installation, your options are: