title: Google app engine Federated (openid) login localhost
body: <p>I am trying to use <a href="http://code.google.com/intl/pl/appengine/articles/openid.html#ex" rel="nofollow">this</a> script for federated login with google's app engine. This works on the deployed app engine but with localhost it gives this error:  </p>
  
  <pre><code>Traceback (most recent call last):
    File "/workspace/python/app_en/google_appengine/google/appengine/ext/webapp/__init__.py", line 515, in __call__
      handler.get(*groups)
    File "/workspace/python/app_en/bingousie/helloworld.py", line 23, in get
      p['login_url'] = users.create_login_url(federated_identity=p_url)
    File "/workspace/python/app_en/google_appengine/google/appengine/api/users.py", line 216, in create_login_url
      apiproxy_stub_map.MakeSyncCall('user', 'CreateLoginURL', req, resp)
    File "/workspace/python/app_en/google_appengine/google/appengine/api/apiproxy_stub_map.py", line 86, in MakeSyncCall
      return stubmap.MakeSyncCall(service, call, request, response)
    File "/workspace/python/app_en/google_appengine/google/appengine/api/apiproxy_stub_map.py", line 286, in MakeSyncCall
      rpc.CheckSuccess()
    File "/workspace/python/app_en/google_appengine/google/appengine/api/apiproxy_rpc.py", line 149, in _WaitImpl
      self.request, self.response)
    File "/workspace/python/app_en/google_appengine/google/appengine/api/apiproxy_stub.py", line 73, in MakeSyncCall
      if request.ByteSize() &gt; self.__max_request_size:
    File "/workspace/python/app_en/google_appengine/google/appengine/api/user_service_pb.py", line 178, in ByteSize
      n += self.lengthString(len(self.destination_url_))
  TypeError: object of type 'NoneType' has no len()
  </code></pre>
  
  <p>Is this because the openid servers do not allow logging in to local site? If it is then it why doesn't it at least work with <a href="http://myopenid.com" rel="nofollow">myopenid.com</a> (I use it for my django openid authentication on local server). </p>