SiriProxy icon indicating copy to clipboard operation
SiriProxy copied to clipboard

[Solved... but other error has occured] iPhone 4S is working but iPhone 4 is not working... disconnecting error.

Open bexel opened this issue 14 years ago • 168 comments

I installed SiriProxy in ubuntu 11.10.

siriproxy gencerts and installed ca.pem in iPhone 4S and change dns. and I used siri. (key file is created).

iPhone4 : change dns server -> Change Spire Proxy Server -> Use Siri...

ocessed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000126c6a8, @zip_stream=#Zlib::Deflate:0x0000000126c680, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000126b550 @manager=#<SiriProxy::PluginManager:0x0000000126bdc0 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000126b320 @signature=117, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000126aec0, @zip_stream=#Zlib::Deflate:0x0000000126ae98, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000126b000 @manager=#<SiriProxy::PluginManager:0x0000000126a1a0 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001260858 @signature=118, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000124dfc8, @zip_stream=#Zlib::Deflate:0x0000000124c1c8, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001230450 @manager=#<SiriProxy::PluginManager:0x0000000122b568 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000122fd20 @signature=119, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000122f7f8, @zip_stream=#Zlib::Deflate:0x0000000122f7d0, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000122e650 @manager=#<SiriProxy::PluginManager:0x0000000122eee8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000122def8 @signature=120, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000122d9a8, @zip_stream=#Zlib::Deflate:0x0000000122d980, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x000000012344d8 @manager=#<SiriProxy::PluginManager:0x0000000122d2a0 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x000000012341e0 @signature=121, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001233df8, @zip_stream=#Zlib::Deflate:0x00000001233d80, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001232c28 @manager=#<SiriProxy::PluginManager:0x00000001233498 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001232980 @signature=122, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001232430, @zip_stream=#Zlib::Deflate:0x00000001232340, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001236710 @manager=#<SiriProxy::PluginManager:0x00000001238970 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001236170 @signature=123, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001235d88, @zip_stream=#Zlib::Deflate:0x00000001235ce8, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000123b9e0 @manager=#<SiriProxy::PluginManager:0x000000012353d8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000123b3c8 @signature=124, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000123a4c8, @zip_stream=#Zlib::Deflate:0x0000000123a270, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000123f928 @manager=#<SiriProxy::PluginManager:0x000000012407d8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000123f4a0 @signature=125, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000123f1f8, @zip_stream=#Zlib::Deflate:0x0000000123f1d0, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000123d830 @manager=#<SiriProxy::PluginManager:0x0000000123e6b8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000123ce58 @signature=126, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001244b30, @zip_stream=#Zlib::Deflate:0x00000001244b08, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001243370 @manager=#<SiriProxy::PluginManager:0x000000012441a8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x000000012430a0 @signature=127, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001242ee8, @zip_stream=#Zlib::Deflate:0x00000001242ec0, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001241110 @manager=#<SiriProxy::PluginManager:0x00000001242678 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001240ee0 @signature=128, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001247a38, @zip_stream=#Zlib::Deflate:0x000000012477b8, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001245f30 @manager=#<SiriProxy::PluginManager:0x00000001246d68 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001245b20 @signature=129, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001245878, @zip_stream=#Zlib::Deflate:0x00000001245850, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000124b570 @manager=#<SiriProxy::PluginManager:0x00000001245030 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000124aaa8 @signature=130, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001249a18, @zip_stream=#Zlib::Deflate:0x00000001249900, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x000000012547d8 @manager=#<SiriProxy::PluginManager:0x0000000124f300 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001253c98 @signature=131, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001253388, @zip_stream=#Zlib::Deflate:0x00000001253338, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001258770 @manager=#<SiriProxy::PluginManager:0x00000001251588 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001258540 @signature=132, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001258090, @zip_stream=#Zlib::Deflate:0x00000001258040, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001255c00 @manager=#<SiriProxy::PluginManager:0x00000001257190 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x000000012558e0 @signature=133, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x000000012555e8, @zip_stream=#Zlib::Deflate:0x00000001255430, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000125a5e8 @manager=#<SiriProxy::PluginManager:0x0000000125c0c8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000125a020 @signature=134, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001259c10, @zip_stream=#Zlib::Deflate:0x00000001259b20, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000125fb88 @manager=#<SiriProxy::PluginManager:0x00000001260df8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000125f5e8 @signature=135, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000125ed28, @zip_stream=#Zlib::Deflate:0x0000000125ebe8, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x000000012635d0 @manager=#<SiriProxy::PluginManager:0x0000000125d428 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001262bf8 @signature=136, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001261d20, @zip_stream=#Zlib::Deflate:0x00000001261c30, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001266f00 @manager=#<SiriProxy::PluginManager:0x00000001268508 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001266870 @signature=137, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x000000012663c0, @zip_stream=#Zlib::Deflate:0x000000012662f8, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000126be60 @manager=#<SiriProxy::PluginManager:0x0000000126ca68 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000126bcd0 @signature=138, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000126baa0, @zip_stream=#Zlib::Deflate:0x0000000126ba28, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000126a268 @manager=#<SiriProxy::PluginManager:0x0000000126b3e8 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001269250 @signature=139, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x00000001270190, @zip_stream=#Zlib::Deflate:0x000000012700f0, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000122b590 @manager=#<SiriProxy::PluginManager:0x00000001247a38 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000122a988 @signature=140, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000122a000, @zip_stream=#Zlib::Deflate:0x00000001229f38, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000122ef10 @manager=#<SiriProxy::PluginManager:0x0000000122fe10 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000122eda8 @signature=141, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000122eb28, @zip_stream=#Zlib::Deflate:0x0000000122eb00, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x0000000122d2c8 @manager=#<SiriProxy::PluginManager:0x0000000122e100 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x0000000122d048 @signature=142, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x0000000122ce90, @zip_stream=#Zlib::Deflate:0x0000000122ce40, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x000000012334c0 @manager=#<SiriProxy::PluginManager:0x00000001234258 @plugins=[...]>>] Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x00000001233308 @signature=143, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0x000000012330d8, @zip_stream=#Zlib::Deflate:0x000000012330b0, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x00000001238c18 @manager=#<SiriProxy::PluginManager:0x00000001232a98 @plugins=[...]>>]

How to solve this error.. (Sorry my poor english)

bexel avatar Dec 29 '11 05:12 bexel

I believe you are getting this error because the CA is not pointing to your server. It's pointing to guzzoni.apple.com. I've been trying to get this solved.

earlcochran avatar Dec 29 '11 05:12 earlcochran

Solved this error, but other error..

[Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: CreateAssistant [Info - iPhone] Received Object: SetAssistantData [Info - iPhone] Received Object: SetRestrictions [Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: CancelSpeech [Info - iPhone] Received Object: GetAnchors [Info - iPhone] Received Object: SetRestrictions [Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: SetRestrictions [Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: StartSpeechRequest [Info - Guzzoni] Received Object: CommandFailed [Info - iPhone] Received Object: SpeechPacket [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: GetSessionCertificateResponse [Info - Guzzoni] Received Object: SessionValidationFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed

bexel avatar Dec 29 '11 07:12 bexel

you're getting that with iPhone 4s?

earlcochran avatar Dec 29 '11 07:12 earlcochran

iPhone 4S is working fine.

bexel avatar Dec 29 '11 07:12 bexel

How did you solve the error? iPhone 4S is talking to SiriProxy (Test Siri Proxy returns confirmed)? And you're getting what you just pasted from a 4? What are your settings in the CA? Did you modify anything before generating certs?

earlcochran avatar Dec 29 '11 07:12 earlcochran

C=KR, ST=Missouri, O=Siri Proxy, CN=SiriProxyCA Edit gen_certs.sh: "guzzoni.apple.com" to "your.ip.add.ress" and rake install -> siriproxy bundle -> siriproxy server --> install ca.pem to iPhone 4S and set dns(your ip addr, dnsmasq) -> Use Siri -> Install ca.pem to your Old iDevice

iPhone 4S is working fine, but iPhone 4 is .. [Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: CreateAssistant [Info - iPhone] Received Object: SetAssistantData [Info - iPhone] Received Object: SetRestrictions [Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: CancelSpeech [Info - iPhone] Received Object: GetAnchors [Info - iPhone] Received Object: SetRestrictions [Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: SetRestrictions [Info - iPhone] Received Object: ClearContext [Info - iPhone] Received Object: StartSpeechRequest [Info - Guzzoni] Received Object: CommandFailed [Info - iPhone] Received Object: SpeechPacket [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: GetSessionCertificateResponse [Info - Guzzoni] Received Object: SessionValidationFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed [Info - Guzzoni] Received Object: CommandFailed

Good luck.

bexel avatar Dec 29 '11 07:12 bexel

Have you tried using Westbaer's fork? The CommandFailed object might be sent because of a failure to authenticate. This is because you are not using the keys from your iPhone 4S. Westbaer's fork is supposed to be saving the keys.

terriblybored avatar Dec 29 '11 11:12 terriblybored

I am using the latest version of westbaer's fork. I still can't get both devices to play nice on one proxy.

Sent from my iPad

On Dec 29, 2011, at 5:58 AM, [email protected] wrote:

Have you tried using Westbaer's fork? The CommandFailed object might be sent because of a failure to authenticate. This is because you are not using the keys from your iPhone 4S. Westbaer's fork is supposed to be saving the keys.


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

earlcochran avatar Dec 29 '11 13:12 earlcochran

I can confirm that problem and I filed the same issue about 15 hours ago right here. Any solution for that?

ghost avatar Dec 29 '11 13:12 ghost

Not to my knowledge. Some people have gotten both devices past handshake, but not actually a 4 getting responses.

Sent from my iPhone

On Dec 29, 2011, at 7:30 AM, [email protected] wrote:

I can confirm that problem and I filed the same issue about 15 hours ago right here. Any solution for that?


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

earlcochran avatar Dec 29 '11 13:12 earlcochran

I can confirm that the keys are saved by westbaers fork in the ~/.siriproxy folder but they dont seem to be merged with the request from the iphone 4.

ghost avatar Dec 29 '11 13:12 ghost

Do you mean the ssl handshake with the proxy?

ghost avatar Dec 29 '11 13:12 ghost

@Eliminatrix Yes. My keys are saving to ./siriproxy and my 4S is fine. My iPhone 4 wont complete the handshake.

earlcochran avatar Dec 29 '11 13:12 earlcochran

I believe the issue is due to the SSL authentication. Do you have the 4s running with dnsmasq and the 4 running via spire? if so your 4S needs the server to auth its self as guzzoni.apple.com and the 4 needs it to be authd as its self (ip address or domain) I got around this by setting up a certificate with dual common names

jayb1239 avatar Dec 29 '11 14:12 jayb1239

And this worked? If it really worked I would appreciate that you tell us how to set up two common names... :)

ghost avatar Dec 29 '11 14:12 ghost

Yes it appears to work but I have only tested it with myself with the 4s on my wifi network and a friend with a 4 and Spire at a remote location and requests appear to be answered fine. only issue at the moment is that we can't both request at the same time via the proxy and sometimes it throws a fit and calls me his name and him me

jayb1239 avatar Dec 29 '11 14:12 jayb1239

But how did you setup OpenSSL and siriproxy's gencerts for two common names?

ghost avatar Dec 29 '11 14:12 ghost

but to do the dual CA I edited /etc/ssl/openssl.cnf and scrolled down to common name and changed it to

0.commonName = Common Name (eg, YOUR name) 0.commonName_default = www.domain1.com 0.commonName_max = 64 1.commonName = Common Name (eg, YOUR name) 1.commonName_default = www.domain2.org 1.commonName_max = 64

i didn't use gencerts i generated my own with: -

(use any password and information you want) openssl genrsa -des3 -out ca.key 4096 openssl req -new -x509 -days 365 -key ca.key -out ca.crt openssl genrsa -des3 -out server.key 4096

openssl req -new -key server.key -out server.csr

openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.passless.crt openssl rsa -in server.key -out server.key.insecure mv server.key server.key.secure mv server.key.insecure server.passless.key

and if you do the openssl.cnf hack first then during those commands it will prompt you for common name 1 & 2. Mine was fussy and the first one had to be guzzoni and the second my domain. if i did it the other way it didn't work.

Hopefully that makes sense. never been good at putting into words

jayb1239 avatar Dec 29 '11 14:12 jayb1239

now it doesnt say ca.pem but ca.crt and thats the file that I need on my phone, right?

ghost avatar Dec 29 '11 15:12 ghost

yeah thats the one its just named differently if you view the cert when you install it on your phone it should have 2 common names. you need to make sure that you have put the certs in the ~/.siriproxy folder too and restarted SiriProxy

jayb1239 avatar Dec 29 '11 15:12 jayb1239