-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API documentation: error codes, message sequencing #233
Comments
And I have some undocumented ones - kicked Are there any more you are not telling us about? Plus is there a method of reporting network problems yet as today I am able to send from channel API -> Android but there are no incoming packets from Android -> Channel API. Thanks Andy. |
And it had just started working again - maybe somebody does actually look at this... |
AndyW999 have you fixed the issue? I'm facing the same issue and no solution for me at the moment. |
Well it is working right now. open_socket "ws://zellowork.io/ws/xxxxx" "192.168.1.14" "08:31:43.577577" Are you actually connecting? Run Wireshark BEFORE trying to connect and set the filter to websocket and see if you are actually connecting. |
The connection is successful and the authentication procedure has no problems. (Same responses you posted) Issue I'm facing is similar to the one reported by you with the statement: " I am able to send from channel API -> Android but there are no incoming packets from Android -> Channel API." |
Well mine seems to be working - I am using Zello paid for. Make sure that what you are calling uses the correct character case - I used 'everyone' when it should have been 'Everyone' and it did not work. Can you log all of the websocket interactions? |
yes, I can log the interactions and I can say that no events (packets) from the zello server are triggered by the server itself while a message is sent by other user. |
Well this is what I get - xxxxx is my confidential stuff! open_socket "ws://zellowork.io/ws/xxxxx" "192.168.1.14" "11:40:26.938938" Are you getting the correct number of online users in both the ChannelAPI and the Android clients? Are you getting true returned in on_channel_status? Can you do what I am doing and getting the text output dumped when there is a text message and let me see them? It does work - most of the time - and I have tried it with both the paid and unpaid versions. The main limitation the ChannelAPI does not cover is when the channel you are trying to use needs a password - I have mentioned this before here I think but got no reply... |
I am also seeing this on certain channels, using Zello Consumer. I have one channel that consistently does not send audio to my app, even though the app can send audio to the channel. On a different channel it works fine. Both of them I can log in on an Android device with the same account and transmit and receive. It seems to be an issue only when connecting through the Channels API. The project I am working on also uses a bunch of Zello Work accounts, I have also seen this happen on one of the Work channels too, however it appears to be easier to reproduce on the Consumer channel we are using. Logged separately as #236 where I've tried to detail this behavior. |
This comment escaped me late last night, reading through this thread again this morning and it stuck out like a sore thumb! My app is working again and have updated that other issue with the same info. |
Yes, Zello were surprised at this... Looks like somebody used a password comparison routine by mistake ;) |
The past night I made additional tests and I can confirm that the issue is present only on some channels.
I didn't doubled check my previous points but if you pay attention to those, you should be able to have a fully functional Zello service. (Consumer) My app is now fully woking but I'll investigate more asap. |
Remember that on the case sensitive issue Zello will tell lies ;) If you log in for a channel called 'Everyone' using 'everyone' it does not report an error, it just does not work! |
Hello:
Would it be possible to please document some error codes on the API, such as:
empty message
woodpecker prohibited
...and others?
Also a brief explanation of what they mean would be appreciated and a potential remedy so the error handler code doesn't blindly retry without taking corrective action. Some I have been able to reverse engineer as they are fairly obvious (
not authorized
, for example), but others not so much.Also an explanation of (a)synchronicity and sequencing of messages, for example,
on_stream_start
andon_stream_stop
. I can understand multiple simultaneous streams but the consumer API only supports one channel which is logically treated as a half duplex connection, so I would expect on_stream_stop to follow after each on_stream_start, but occasionally messages are not received or are received out of order. Without further explanation and/or sequence diagrams, I am coding against the API in the dark.Thanks!
The text was updated successfully, but these errors were encountered: