title: Java and Pubsubhubbub
body: <p>I just wanted to try out the java client for pubsubhubbub from google code (https://code.google.com/p/pubsubhubbub-java/downloads/list). So I downloaded the code, signed up at SuperFeedr and tried to connect to their hub. In fact I modified the test class the is provided with the subscriber client.</p>
  
  <pre><code>sb.subscribe("http://superfeedr.com/hubbub",
                  "https://some.blog", hostname, null, null);
  </code></pre>
  
  <p>hostname is the name of the server I created by using the class <em>Web</em> . Server is reachable from the web.</p>
  
  <p>But I all get is this exception in the <em>GetThread</em> class:
  org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty</p>
  
  <p>Does anybody have a hint? </p>
  
  <p>Cheers,</p>
  
  <p>Andi</p>
  
  <p>PS: Up to now it's quite tedious to get PuSH working, e.g. at SuperFeedr they tell you what to do (http://superfeedr.com/documentation#pubsubhubbub_implementation) but not how? I tried to implement what's necessary for push my self (HttpClient, PostMethod with parameters,etc.) but nothing works....</p>