Jump to content

JSee

Active Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by JSee

  1. I noticed you are set up to use a http proxy in localhost - what is it? This, as far as i can tell, is the weak link. Testing it here with fiddler, it works fine, so I'm guessing whatever proxy that is is causing the problem.

    Also, when you configure the stand alone client to use the same proxy it has no problem?

    The HTTP-Proxy is Privoxy to tunnel HTTP-Traffic trough TOR. I know that isn't necessary here but the stand alone client has no problem with the same proxy.

    Just to make sure I tested SProxy with TOR directly (using SOCKS5 proxy setting) and it works!

    So the combination of SProxy and Privoxy seemed to be the problem.

  2. I can try updating SProxy's connection handler to the same "spec" that HttpRequest is (httprequest is a diluted form of the proxy handler, but with some improvements), but I don't have much hope of it working.

    Could you send me a copy of your configuration file to zigzagjoe@gmail.com? You'll probably want to log out of pandora first, and then exit sproxy to commit the changes (removes your password from the config)

    Ok, I just send you my configuration file.

  3. I'll mess about some, but I'm really not sure why this is happening. I've tried both the standalone and plugin clients, with and without proxy and had no problems. Not messed with that code for a while, either...

    try http://zzj.itf-inc.com/downloads/weirdwebfixtest.zip , see if it fixes it. I'm not hopeful but might as well try it.

    Thanks, I tried that and now I know where the problem is. I should have said I've been using the Pandora Client together with SProxy. I tried your fix without SProxy first and it worked, then I tried the Fix with SProxy and it gave me the exact same error as before. After that I downloaded the normal Pandora Client from your Site and tried that with and without SProxy and without it works well, so the problem seems to be something with SProxy.

    So:

    - Without SProxy -> Everything works fine

    - With SProxy -> 500 Internal Server Error

    I hope that helps finding the error.

  4. The specific error refers to a bad response from the server - testing it here, it's working fine, probably a one-off thing... Or, does this happen with every search you try?

    This happens with every search I try.

    Also I can't find any significant difference between the HTTP-Headers send by your Application and when using my Webbrowser.

    Even a quickly coded Application with just the GET-Request and Host-Parameter in the Header gives a correct Responsecode (using a direct connection, so no proxy or anything).

  5. First off all thanks for this great program.

    Now, i've come across a little bug:

    I can't add a station neither by song nor artist name using the Pandora Client.

    Upon entering something in the search-textfield i get a "500 Internal Server Error" Response in SProxy.

    In the logfile it looks like this:

    06.03.2010 12:58:48    #64    GET http://autocomplete.pandora.com/s2?q=primo%20victoria
    06.03.2010 12:58:49    Client: Failed to get search results: System.Exception: Server response has bad/missing header termination
       bei Client.HttpRequest.GetResponseInternal(HttpChunkedReadCallback callback) in E:\Codin' Projects\Saver Project\Client\HttpRequest\HttpRequest.cs:Zeile 478.
       bei Client.HttpRequest.GetResponse() in E:\Codin' Projects\Saver Project\Client\HttpRequest\HttpRequest.cs:Zeile 250.
       bei Client.PClient.GetHTTP(String URL) in E:\Codin' Projects\Saver Project\Client\Client.Funcs.cs:Zeile 159.
       bei Client.SearchDialog.worker() in E:\Codin' Projects\Saver Project\Client\SearchDialog.cs:Zeile 78.

    Though, when entering the url ("http://autocomplete.pandora.com/s2?q=primo%20victoria") in firefox (not running trough SProxy) I get this:

    primo victoria S630176 Sabaton Primo Victoria

    Oh, and I'm using Tor to access Pandora as I don't live in the US.

    If you need to know anything else just let me know.

    PS: Headers from "Live HTTP Headers" when opening said url:

    http://autocomplete.pandora.com/s2?q=primo%20victoria
    
    GET http://autocomplete.pandora.com/s2?q=primo%20victoria HTTP/1.1
    Host: autocomplete.pandora.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Proxy-Connection: keep-alive
    If-Modified-Since: Sat, 06 Mar 2010 04:01:14 PST
    
    HTTP/1.1 200 OK
    Connection: keep-alive
    Keep-Alive: 200
    Server: Pandora/1.0
    Cache-Control: private
    Content-Length: 46
    Content-Type: text/html; charset=utf-8
    Date: Sat, 06 Mar 2010 04:22:03 PST
    Last-Modified: Sat, 06 Mar 2010 04:22:03 PST
    Proxy-Connection: keep-alive

×
×
  • Create New...