SiriProxy icon indicating copy to clipboard operation
SiriProxy copied to clipboard

Stuck on "FinishSpeech" after first command

Open Torsten85 opened this issue 15 years ago • 53 comments

Hey, when I start the server, the first command is processed just fine. The second command stops at "[Info - iPhone] Received Object: FinishSpeech". So I have to cancel (on iPhone) and retry.

Is this an issue of the SiriProxy or is is a temporary problem of the apple server?

Thanks in advance Torsten

Torsten85 avatar Dec 05 '11 16:12 Torsten85

I'm having a similar issue with my SiriProxy-AppController plugin. It's fairly consistent after the first command, but does happen after 4 or 5 commands as well. Could be my code, but I'm finishing with "request_completed" in every listen loop.

rckcrlr avatar Dec 05 '11 23:12 rckcrlr

in addition to that, I often run into the issue that "say" and "request_completed" have no effect at all. I see "say" and "request_completed" in the cli output, but my Siri is silent and keeps spinning on me.

The "first" SiriProxy (old code) wasn't that elegant to code but got the job done... hopefully someone will look into that...

Torsten85 avatar Dec 05 '11 23:12 Torsten85

Just a "me too" post. I'd say about 30% of the time, it just stops after FinishSpeech, and the purple mic spins. If I manually stop the spinning, and resubmit, it usually works.

mrmosconi avatar Dec 06 '11 10:12 mrmosconi

same problem here. and quite often, lets say ever 3-5 tries, sometimes 3 times in a row.

when i start siriproxy server -l i see that they are just doing an endless "ping pong"-game forwarding 9 bytes

have this problem with the old siriproxy version on mac, the new one on my Mac, and the new one on an VM Ubuntu.

muhkuh0815 avatar Dec 06 '11 12:12 muhkuh0815

Is this with the "text siri proxy" command or a custom plugin?

dcinzona avatar Dec 06 '11 20:12 dcinzona

I've tested this with a fresh installation of the server and it also occurred with the test plugin.

By the way: I'm in germany so my Siri is set to german...

Torsten85 avatar Dec 06 '11 20:12 Torsten85

That's how it looks like in debug cli output:

[Debug - iPhone] Forwarding 9 bytes of data to Guzzoni
========UNZIPPED DATA (from Guzzoni =========
02 00 00 00 e9 62 70 6c 69 73 74 30 30 d5 01 03 07 09 0b 02 04 08 0a 0c 55 63 6c 61 73 73 5f 10 10 52 65 71 75 65 73 74 43 6f     6d 70 6c 65 74 65 64 5a 70 72 6f 70 65 72 74 69 65 73 d1 05 06 59 63 61 6c 6c 62 61 63 6b 73 a0 55 61 63 65 49 64 5f 10 24 66 62 31 66 32 36 39 33 2d 33 66 66 30 2d 34 34 33 34 2d 39 34 30 37 2d 66 63 36 35 65 64 62 30 65 62 63 31 55 72 65 66 49 64 5f 10 24 38 41 35 42 46 37 37 35 2d 32 31 44 33 2d 34 35 45 43 2d 39 32 43 42 2d 38 39 44 46 39 43 44 34 45 41 30 45 55 67 72 6f 75     70 5f 10 14 63 6f 6d 2e 61 70 70 6c 65 2e 61 63 65 2e 73 79 73 74 65 6d 08 13 19 2c 37 3a 44 45 4b 72 78 9f a5 00 00 00 00 00 00 01 01 00 00 00 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bc 04 00 00 00 10
==================================================
[Info - Dropping Object from Guzzoni] RequestCompleted
{"class"=>"RequestCompleted",
 "properties"=>{"callbacks"=>[]},
 "aceId"=>"fb1f2693-3ff0-4434-9407-fc65edb1ebc1",
 "refId"=>"8A5BF775-21D3-45EC-92CB-84DF9CD4CA0E",
 "group"=>"com.apple.ace.system"}
[Pong - Guzzoni] (16)
[Debug - Guzzoni] Forwarding 9 bytes of data to iPhone
========UNZIPPED DATA (from iPhone =========
03 00 00 00 11
==================================================
[Ping - iPhone] (17)
[Debug - iPhone] Forwarding 9 bytes of data to Guzzoni
========UNZIPPED DATA (from Guzzoni =========
04 00 00 00 11
==================================================
[Pong - Guzzoni] (17)
[Debug - Guzzoni] Forwarding 9 bytes of data to iPhone
========UNZIPPED DATA (from iPhone =========
03 00 00 00 12

Ping / Pong repeats indefinitly...

That's really the most annoying bug. SiriProxy is such a great app... but it's unusable atm.

Torsten85 avatar Dec 07 '11 18:12 Torsten85

That's interesting because it doesnt do that to me. I wonder if it's because you're not in the US. Was Germany one of the initially supported languages or locations or was this "Beta" US only?

I'd be interested to see if it's a regional thing vs a code thing. I mean, the proxy works for many many people, so it has to be something with your setup or your location. The code seems to function fine.

dcinzona avatar Dec 08 '11 14:12 dcinzona

German lanuage was initially supportet, but i have seen this problem in some siriproxy plugin video (from england or australian, dont remember) too. so its maybe an outside US problem.

edit: and yes we dont have WolframAlpha, Yelp restaurant search, nor anything including traffic/maps. but the test map example works

muhkuh0815 avatar Dec 08 '11 14:12 muhkuh0815

German was supported from day one (without WolframAlpha). It's working like it should without the SiriProxy... so the Servers for German-Siri are operational.

Is Apple server interaction necessary when I use the "say" Function? Currently my commands are understood by the Proxy but neither the say function nor completed_request are send to my iPhone... maybe it's the same bug...

Torsten85 avatar Dec 08 '11 14:12 Torsten85

I'm in the U.S. Same problem. Both on Mac and Ubuntu.

mrmosconi avatar Dec 08 '11 20:12 mrmosconi

I tested this behavior a little bit more and it seems like this only happens after a plugin command. When a native command works, the following commands works as well. But after a plugin command, there is a chance that you get stuck on "FinishSpeech".

I'm unable to say "Test Siri Proxy" 10 times without getting stuck. But I can ask for the current time as often as I like.

I don't know much about the under-the-hood server communication, but it seems like the connection is not properly terminated (and yes, I use request_completed).

Could someone else please test this behavior? I really wan't this to be solved :-)

Torsten85 avatar Dec 09 '11 00:12 Torsten85

I'm not seeing this problem. I've had siriproxy running for 3 days (never restarted) and I have a custom plugin which still works fine (as does the test plugin). Memory spiked to 18mb (not much) and then dropped again to 15-17mb but I doubt that would be related at all to your problem.

I'm using Ruby 1.9.3p0, openSSL 1.0.0e or whatever, RubyGems 1.8.12, dnsmasq 2.52, siriproxy (build from 3 days ago). Running on BusyBox linux (Synology NAS)

dcinzona avatar Dec 10 '11 03:12 dcinzona

I played with SiriProxy for hours last night and every single time it would freeze at FinishSpeech meaning I would have to say something just to kick her out of that state.

  1. Test Siri proxy (she responds)
  2. Test Siri proxy (FinishSpeech) (no response)

It's only until I tap the button and say something again that she starts to respond again.

I should mention I'm running Ubuntu 11.10 on my laptop and I'm located in Melbourne, Australia. But I recall this happening on my Mac running Snow Leopard and Lion (as I installed this thinking that it would fix the issue and it didn't).

Very annoying.

gotnull avatar Dec 19 '11 21:12 gotnull

Just a ME TOO addition to this. I'm running SiriProxy on latest Ubuntu in VM Fusion under OS X Lion.

Hopefully someone will have some insight on this soon.

Thanks.

Symo avatar Dec 20 '11 06:12 Symo

This also is happening with mine. dnsmasq running on NAS and proxy running on Mac.

ScottJD avatar Dec 20 '11 07:12 ScottJD

The same thing happening for me. It seems like about every second plugin command will freeze at

[Info - iPhone] Received Object: FinishSpeech

Tapping the button and say something again and she will respond then the command after that will most likely make it freeze again.

Really annoying. A fix for this would be awesome :D

Thanks for great work!

martinmansson avatar Dec 22 '11 21:12 martinmansson

Yeah, same happens with me. Someone really needs to be assigned to fix this issue.

gotnull avatar Dec 23 '11 03:12 gotnull

Confirming this issue as well, english, in the us, with a centos based operating system.

keyosk avatar Dec 23 '11 04:12 keyosk

Yeah I'm getting this a lot also. If you need any log files let me know.

willcosgrove avatar Dec 23 '11 05:12 willcosgrove