PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Windows Mobile Software (http://forum.ppcgeeks.com/forumdisplay.php?f=23)
-   -   C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC) (http://forum.ppcgeeks.com/showthread.php?t=26310)

scuccia 03-13-2009 12:02 AM

Re: C-ApiSRO on Titan Captcha Issue
 
Quote:

Originally Posted by R-Capi (Post 768932)
The best thing I can tell you is to enable logging and then produce the error again. Then disable logging and e-mail me the log file. I will look at it to see what's going on.

I just sent you my log.

I'm on Alltel with a Touch Pro using OpenDNS.

R-Capi 03-13-2009 08:40 AM

Re: C-ApiSRO on Titan Captcha Issue
 
Quote:

Originally Posted by scuccia (Post 769040)
I just sent you my log.

I'm on Alltel with a Touch Pro using OpenDNS.

Thank you, I will take a look at the log after work today. I may need to build a special version for debugging purposes. I assume I can get you to test it for me. Is this a good assumption?

Do you see a different captcha image everytime it fails, or is it always the same one?

Ed Zachary 03-13-2009 10:18 AM

Re: C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC)
 
I have captured a log, as well. Will have to wait til I get home to email it or try to find a USB cable around here. Can't email a file attachment from my phone. Carrier is Alltel and my ISP is AT&T.

They be hatin'.

To confirm what scuccia will likely answer, the captcha text does change with each response from Sirius.

yellowone 03-13-2009 11:05 AM

Re: C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC)
 
Wow you guys beat me to the punch :)

I have a log as well.
I get a different captcha every time
I am willing to test

scuccia 03-13-2009 02:28 PM

Re: C-ApiSRO on Titan Captcha Issue
 
Quote:

Originally Posted by R-Capi (Post 769534)
Thank you, I will take a look at the log after work today. I may need to build a special version for debugging purposes. I assume I can get you to test it for me. Is this a good assumption?

Do you see a different captcha image everytime it fails, or is it always the same one?

Absolutely I'll test, I need my Sirius streaming back.

I do get a new CAPTCHA everytime.

R-Capi 03-14-2009 12:50 AM

Re: C-ApiSRO on Titan Captcha Issue
 
1 Attachment(s)
Quote:

Originally Posted by scuccia (Post 770240)
Absolutely I'll test, I need my Sirius streaming back.

I do get a new CAPTCHA everytime.

Attached is a debug version of the app. It contains a little bit more logging information specific to the captcha. This is NOT an install file. Just unzip it and copy the executable file into your install folder and run it. Then do the log procedure again and mail me the file. It will help me further understand what is getting sent and received. Make sure you execute C-ApiSRO_debug.exe, not C-ApiSRO.exe.

Another thing that would be very useful would be for someone to capture network packets during the communication with Sirius. I explain how to do this in more detail in post #97. It would be of great help if you could start a network monitor and mail the results along with the C-ApiSRO log file. This is a little more tricky, but if you follow the directions you should be fine. MAKE SURE YOU USE A TRIAL/GUEST ACCOUNT, as the directions tell you. If you do not then I will have access to your username/password and I don't want that.

R-Capi 03-14-2009 12:52 AM

Re: C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by yellowone (Post 769732)
Wow you guys beat me to the punch :)

I have a log as well.
I get a different captcha every time
I am willing to test

Quote:

Originally Posted by Ed Zachary (Post 769666)
I have captured a log, as well. Will have to wait til I get home to email it or try to find a USB cable around here. Can't email a file attachment from my phone. Carrier is Alltel and my ISP is AT&T.

They be hatin'.

To confirm what scuccia will likely answer, the captcha text does change with each response from Sirius.

See post #316 for a debug file and steps on how to proceed.

Good Luck!!!

scuccia 03-14-2009 12:30 PM

Re: C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by R-Capi (Post 771406)
See post #316 for a debug file and steps on how to proceed.

Good Luck!!!

I'll get the log to you later today. I'll also try and capture the network data too.

EDIT: Ok, sent both logs to you.

R-Capi 03-15-2009 12:47 AM

Re: C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC)
 
1 Attachment(s)
Quote:

Originally Posted by scuccia (Post 771930)
I'll get the log to you later today. I'll also try and capture the network data too.

EDIT: Ok, sent both logs to you.

First of all, thank you for all of the log data. It makes life so much easier when I have to figure out what is going on. As a result of your effort I believe I now have a grasp on the problem.

It appears your wonderful Alltel network is using an HTTP Proxy server to stream HTML content to your phone. This means all web requests from your phone are intercepted by a server on the Alltel network. If that server has a cached copy of that page then it will hand it back to your phone. If it doesn't have a cached copy then the server will make the request to the internet to get it. This is most likely done to help speed up their network by eliminated requests to the internet if they aren't necessary.

The problem is that it appears Alltel Proxies are returning the HTML in a chunked format which is different than the format that C-ApiSRO was written for. When C-ApiSRO processed the captcha HTML pages it expects certain information in particular locations on that page. Alltel is mucking that all up.

The good news is that I now understand the problem and I can definitely fix it. The other good news is that I believe I have a fix for your captcha problems. The bad news is that there may be other problems that could arise that I'll have to fix as well. I have no way of knowing what those are ahead of time because I don't have an Alltel environment to test on.

So here is how we'll proceed:
I've attached another C-ApiSRO_Debug.exe file for you to try out. I am pretty sure you'll get past the captcha problems, but you could experience other issues. What I need you to do is run this file like before and give it a try. If you have problems then please record all log files, including network analyzer, and mail them to me. If things are working fine then go ahead and let me know and I'll make an official build.

Good Luck!!!

Ed Zachary 03-15-2009 11:17 AM

Re: C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC)
 
Getting past CAPTCHA now!!!

I used the debug version you posted above. CAPTCHA text is accepted. When I select a channel and click the play icon, I get the "retrieving song information" message and things just seem to stop there.
I turned off the option to use Sirius proxy and got the "information won't be available" message, but still nothing more.

One thing I did notice, the signal strength icon in the phone's title bar shows that data is being exchanged immediately after clicking the "play" icon, then nothing.
But the phone "goes to sleep" really fast. Quicker than normal. Instead of the screen dimming then going off after a few more seconds, the screen goes completely black. I have to use the power button to bring it back to life.
At one point, I tried "stirring" on the title bar with the stylus so the phone wouldn't go to sleep. It still did. After waking back up, it acted normally again, just no data exchange. If I tapped the "play" icon again, there would be a brief data exchange then the phone would shut off after about 15-20 seconds.

I have emailed you a debug file form the new debug version C-ApiSRO (cut'n paste in an email). Trying to figure out how to send the NA cap files.


All times are GMT -4. The time now is 05:37 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0