plamoni / SiriProxy

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

SiriProxy hangs on Iphone 5 IOS 6.1.2 #461

Closed veneficus closed 11 years ago

veneficus commented 11 years ago

I just did a fresh install of SiriProxy 0.4.1 on Ubuntu 12.10. When I start the SiriProxy with

rvmsudo siriproxy server

Server starts listening. When I try the "Test SiriProxy" command on iPhone 5 IOS 6.1.2 I see following and then the server hangs. iPhone then bypasses the WLAN and gets the result through 4G. When I ask question again I see no activity on the console.

I see the same problem on iPad, however since there is no secondary network to use, Siri responds with a message indicating that it cannot accept requests.

After about 5 minutes the server produce the error below:

[Info - iPhone] Received Object: SpeechPacket ... ... [Info - iPhone] Received Object: SpeechPacket [Info - iPhone] Received Object: SpeechPacket [Info - iPhone] Received Object: SpeechPacket [Info - iPhone] Received Object: FinishSpeech Create server for iPhone connection 140596795606688:error:02001018:system library:fopen:Too many open files:bss_file.c:398:fopen('/home/xxxx/.siriproxy/server.passless.key','r') 140596795606688:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: 140596795606688:error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib:ssl_rsa.c:648: ruby: ssl.cpp:166: SslContext_t::SslContext_t(bool, const string&, const string&): Assertion `e > 0' failed.

Has anyone seen this behavior? What can I do to troubleshoot the problem?

veneficus commented 11 years ago

I found the problem. Dnsmasq was resolving guzzoni.apple.com locally.