SiriProxy icon indicating copy to clipboard operation
SiriProxy copied to clipboard

The server starts but it gets nothing

Open clankiPad opened this issue 15 years ago • 12 comments

The server starts but it gets nothing when I do "rvmsudo siriproxy server" , I have "Starting SiriProxy on port 443.." While I was talking Siri ! HELP ME Please :)

PS: I'm French :S

clankiPad avatar Dec 04 '11 21:12 clankiPad

i had the same problem, then i closed the terminal and i redo it...i got this error

Abayomi:siriproxy newuser$ rvmsudo bin/siriproxy server Starting SiriProxy on port 443.. /Users/newuser/siriproxy/lib/siriproxy.rb:26:in rescue in block in initialize': Cannot start the server on port 443 - are you root, or have another process on this port already? (RuntimeError) from /Users/newuser/siriproxy/lib/siriproxy.rb:17:inblock in initialize' from /Users/newuser/.rvm/gems/ruby-1.9.2-p290/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in call' from /Users/newuser/.rvm/gems/ruby-1.9.2-p290/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:inrun_machine' from /Users/newuser/.rvm/gems/ruby-1.9.2-p290/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in run' from /Users/newuser/siriproxy/lib/siriproxy.rb:16:ininitialize' from /Users/newuser/siriproxy/lib/siriproxy/command_line.rb:96:in new' from /Users/newuser/siriproxy/lib/siriproxy/command_line.rb:96:instart_server' from /Users/newuser/siriproxy/lib/siriproxy/command_line.rb:85:in run_server' from /Users/newuser/siriproxy/lib/siriproxy/command_line.rb:37:ininitialize' from bin/siriproxy:6:in new' from bin/siriproxy:6:in

'

sudoname avatar Dec 04 '11 22:12 sudoname

read the readme. You have something else running on port 443

dcinzona avatar Dec 05 '11 12:12 dcinzona

now, i killedall but it stays on "Starting SiriProxy on port 443.."for ever!

Abayomi:siriproxy newuser$ sudo lsof -i :443 | grep LISTEN ruby 24064 root 5u IPv4 0xffffff80158204e0 0t0 TCP *:https (LISTEN) Abayomi:siriproxy newuser$ sudo kill -9 PID-443 kill: illegal process id: PID-443 Abayomi:siriproxy newuser$ sudo lsof -i:443 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME applepush 75 root 12u IPv4 0xffffff8013fb1500 0t0 TCP 192.168.1.105:50676->nk11p01st-courier140-bz.push.apple.com:https (ESTABLISHED) ubd 160 newuser 30u IPv4 0xffffff800bed24e0 0t0 TCP 192.168.1.105:50252->a184-28-220-224.deploy.akamaitechnologies.com:https (CLOSED) ruby 24064 root 5u IPv4 0xffffff80158204e0 0t0 TCP *:https (LISTEN) Abayomi:siriproxy newuser$ Last login: Mon Dec 5 07:12:06 on console Abayomi:siriproxy newuser$ sudo killall named Password: No matching processes were found Abayomi:siriproxy newuser$ sudo lsof -i :443 | grep LISTEN Abayomi:siriproxy newuser$ sudo kill -9 PID-443 kill: illegal process id: PID-443 Abayomi:siriproxy newuser$ sudo lsof -i :443 | grep LISTEN Abayomi:siriproxy newuser$ rvmsudo bin/siriproxy server Starting SiriProxy on port 443..

sudoname avatar Dec 05 '11 13:12 sudoname

that means it's running.

Watch the you tube video - http://www.youtube.com/watch?v=GQXyJR6mOk0

Skip to the end.

dcinzona avatar Dec 05 '11 13:12 dcinzona

no its been like that for ever.

Abayomi:ca newuser$ sudo lsof -i :443 | grep LISTEN Abayomi:ca newuser$ sudo lsof -i :443 | grep LISTEN Abayomi:ca newuser$ cd /users/newuser Abayomi:newuser newuser$ cd siriproxy Abayomi:siriproxy newuser$ sudo lsof -i :443 | grep LISTEN Abayomi:siriproxy newuser$ rvmsudo siriproxy server Starting SiriProxy on port 443..

sudoname avatar Dec 06 '11 02:12 sudoname

again, that means it's running. it will be like that forever - as long as it's running. That message is how you KNOW the server is running

dcinzona avatar Dec 06 '11 14:12 dcinzona

So what do I do from here? Just wait 3 days? Did you use you computer ip as the phone DNs?

Sent from my iPhone 4S

On Dec 6, 2011, at 8:02 AM, Gustavo Tandeciarz [email protected] wrote:

again, that means it's running. it will be like that forever.


Reply to this email directly or view it on GitHub: https://github.com/plamoni/SiriProxy/issues/141#issuecomment-3032561

sudoname avatar Dec 06 '11 14:12 sudoname

this is my setup (and I can verify that it works)... otherwise I wouldnt be trying to give advice.

Synology NAS running BusyBox linux, dnsmasq, siriproxy (and all dependancies) I will refer to my Synology NAS from now on as NAS. (this is where SiriProxy runs).

I have my DHCP server set up using dnsmasq on my NAS. This way, all devices on my home network (including those that VPN in) get the correct DNS server information and route through my NAS and dnsmasq.

When I have SiriProxy running in shell (I know it's running because of the message Starting SiriProxy on port 443..) and my device is on the home network or VPNed in, I am able to access SiriProxy.

You may want to try using an app on your iPhone to ping guzzoni.apple.com to make sure it's resolving to your internal server instead of apple's servers. I use Scanny for iPhone

dcinzona avatar Dec 06 '11 14:12 dcinzona

So what do I do from here? Siri doesn't respond to command or is there any other way to see the. Commands on the screen?

Sorry for All the questions, I just want this to work

Thanks

Sent from my iPhone 4S

On Dec 6, 2011, at 8:20 AM, Gustavo Tandeciarz [email protected] wrote:

this is my setup (and I can verify that it works)... otherwise I wouldnt be trying to give advice.

Synology NAS running BusyBox linux, dnsmasq, siriproxy (and all dependancies) I will refer to my Synology NAS from now on as NAS. (this is where SiriProxy runs).

I have my DHCP server set up using dnsmasq on my NAS. This way, all devices on my home network (including those that VPN in) get the correct DNS server information and route through my NAS and dnsmasq.

When I have SiriProxy running in shell (I know it's running because of the message Starting SiriProxy on port 443..) and my device is on the home network or VPNed in, I am able to access SiriProxy.


Reply to this email directly or view it on GitHub: https://github.com/plamoni/SiriProxy/issues/141#issuecomment-3032718

sudoname avatar Dec 06 '11 14:12 sudoname

Did you read my entire previous comment? read the last sentence...

dcinzona avatar Dec 06 '11 15:12 dcinzona

dcinzona has explained this quite thoroughly enough.

plamoni avatar Dec 07 '11 04:12 plamoni

thanks @plamoni and @dcinzona... :)

sudoname avatar Dec 07 '11 04:12 sudoname