SiriProxy icon indicating copy to clipboard operation
SiriProxy copied to clipboard

Siri won't work and terminal stays at "starting SiriProxy on port 443"

Open dan122334455 opened this issue 14 years ago • 37 comments

I am very excited that I got up to this far. I followed ever instruction exactly. And it wont work. I am using ubuntu to run this. I went to properties, settings, (in the virutalcomputer) and i found that my ip address is 10.0.2.15. It also says my dns is 192.168.1.1 . On my iphone (4s) the wifi setting is the same as when i first signed in to it, but i just added 10.0.2.15 as the dns. Also, on the dnsmasq.conf , i added the proper item with /10.0.2.15. When i try to ask siri something, she say's its not connected to the internet. Can you please help me?? i tried everyting and nothing will work. Thanks so much!

dan122334455 avatar Dec 07 '11 03:12 dan122334455

Same here. Just shows "Starting SiriProxy on port 443.." But cannot make iPhone connect to the proxy.

hirakujira avatar Dec 07 '11 17:12 hirakujira

I worked so hard on getting this to work. When i saw the starting siriproxy, my eyes opened wide with excitement. then when nothing happend, i got so angry. lol. I spent at least 10 hours trying to figure out how to get this to work. It took me about 30 min to install it with the virtual box. Hopefully they fix this! If someone knows what to do, please help!!! Thanks

dan122334455 avatar Dec 07 '11 20:12 dan122334455

i had this problem too.... what version of openSSL are you using?

sudoname avatar Dec 07 '11 22:12 sudoname

same here--any help?? openssl version 1.0.0e-6 Sept 2011

nathreed avatar Dec 07 '11 22:12 nathreed

check you certs..... carets.pem is installed on your phone? Also you have o manually move some files from folders to folder... what are in your ./siriproxy, ~.rvm/gems/ruby-1.9.3.p0/bin, ~.rvm/gems/ruby-1.9.3.p0/gem/siriproxy-0.3.0 folder?

sudoname avatar Dec 07 '11 23:12 sudoname

I just reinstalled whole the SiriProxy and it fixed

hirakujira avatar Dec 07 '11 23:12 hirakujira

@hirakujira like followed the whole process from the line-by-line instructions? or just go back and cd into SiriProxy and do rake install?

nathreed avatar Dec 07 '11 23:12 nathreed

@nathreed I deleted everything in "~/.rvm/gems" and restart from "rvmsudo gem install rake bundler". By the way, I use "rvmsudo 'SiriProxy-path/bin/siriproxy server" instead of "rvmsudo siriproxy server"

hirakujira avatar Dec 07 '11 23:12 hirakujira

@sudoname Folder contents .siriproxy: ca.pem, cert.log, config.yml, server.passles.crt, server.passless.key ~.rvm/gems/ruby-1.9.3.p0/bin: bundle, rake, siriproxy

nathreed avatar Dec 07 '11 23:12 nathreed

@hirakujira what install guide are you referencing from?? I don't see that line in plamoni's line-by-line that he used in the youtube video.

nathreed avatar Dec 08 '11 00:12 nathreed

@nathreed I followed plamoni's guide. However when I got wrong, I just try some commands from the "issues" page or ask my friend.

hirakujira avatar Dec 08 '11 00:12 hirakujira

the main problem i hard was the location of the files and older version of openSSL. i upgraded openSSL to 1.0.0e and manually moved some files around and i am up and running @nathreed i also copied all the content of the original siriproxy folder into ~.rvm/gems/ruby-1.9.3.p0/gems/siriproxy-0.3.0

sudoname avatar Dec 08 '11 01:12 sudoname

what files do you move around? and where do you put them? Thanks

dan122334455 avatar Dec 08 '11 01:12 dan122334455

still not working? delete the old files restart and follow these steps, it works in NOTE: i am still looking at how to run plugins with the files that i moved but siriproxy is up and running fine.

Create a siriproxy folder Abayomi:siriproxy newuser$ mkdir ca Abayomi:siriproxy newuser$ cd ca Abayomi:ca newuser$ /system/library/openssl/misc/ca.pl -newca writing new private key to './demoCA/private/cakey.pem'

    Common Name (eg, YOUR name) []:myfakeca

Abayomi:ca newuser$ /system/library/openssl/misc/ca.pl -newreq

    Common Name (eg, YOUR name) []:guzzoni.apple.com

Abayomi:ca newuser$ /system/library/openssl/misc/ca.pl -sign

    Certificate is to be certified until Dec  7 03:05:22 2012 GMT (365 days)

Abayomi:ca newuser$ openssl rsa -in newkey.pem -out server.passless.key Abayomi:ca newuser$ cp newcert.pem server.passless.crt dont forget to move newcert.pem, server.passless.crt and server.passless.key into your ./siriproxy folder dont forget to install ca.pem or newcert.pem on your phone

Abayomi:ca newuser$ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) Abayomi:ca newuser$ [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" Abayomi:ca newuser$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile

Abayomi:ca newuser$ cd Abayomi:~ newuser$ rvm install 1.9.3 --with-gcc=clang Abayomi:~ newuser$ rvm use 1.9.3-p0 --default Abayomi:~ newuser$ cd /users/newuser/siriproxy

    move all the content of the original siriproxy folder(from github) into ~/.rvm/gems/ruby-1.9.3-p0/gems/siriproxy-0.3.0
    move the siriproxy file (without extension) in /Users/newuser/.rvm/gems/ruby-1.9.3-p0/gems/bin

Abayomi:siriproxy newuser$ rake install Abayomi:siriproxy newuser$ mkdir ~/.siriproxy Abayomi:siriproxy newuser$ rvmsudo gem install siriproxy Abayomi:siriproxy newuser$ rake install Abayomi:siriproxy newuser$ siriproxy gencerts Abayomi:siriproxy newuser$ rvmsudo siriproxy bundle Abayomi:siriproxy newuser$ rvmsudo siriproxy server Starting SiriProxy on port 443.. Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x007fb9d395c6f0 @signature=3, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x007fb9d395c4e8, @zip_stream=#Zlib::Deflate:0x007fb9d395c4c0, @consumed_ace=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x007fb9d3b9d2c0 @manager=#<SiriProxy::PluginManager:0x007fb9d395bf70 @plugins=[...]>>]

sudoname avatar Dec 08 '11 14:12 sudoname

So I should delete every thing? Like the whole folder. Or just certain items? Thanks

dan122334455 avatar Dec 08 '11 16:12 dan122334455

i deleted everything (the whole folder) and did it again ..... at this point you must have done it like 3 or 4 times anyways

sudoname avatar Dec 08 '11 17:12 sudoname

Why do u have to do it more than once? Thanks

dan122334455 avatar Dec 08 '11 17:12 dan122334455

you dont if you follow the instructions... and you have everything updated : openSSL, macport, use "rvm use 1.9.3 -p0 --default" etc

sudoname avatar Dec 08 '11 17:12 sudoname

What I don't understand is I followed the video and instructions. Why doesn't mine work when plamonis did?

dan122334455 avatar Dec 08 '11 18:12 dan122334455

Every thing is up to date. Also I installed the virtual machin as root user. So I don't understand why it's not working

dan122334455 avatar Dec 08 '11 18:12 dan122334455