title: GAE xmpp app shows invalid JID error
body: <p>Currently I'm testing <a href="https://github.com/googlearchive/appengine-crowdguru-python" rel="nofollow">appengine-crowdguru-python</a> this app by sending xmpp messages from <code>http://localhost:8000/xmpp</code> which has a form to post data .. I have filled from, to, chat (message) fields.</p>
  
  <pre><code>From : avinash@app-live.appspotchat.com
  To : ajin@app-live.appspotchat.com 
  Chat: /tellme Who is Clinton?
  </code></pre>
  
  <p>where <code>app-live</code> app-id is currently on live. I also changed from and to fields to the ids like <code>avi@xmpp.jp</code> where this account is created through <a href="https://www.xmpp.jp/signup" rel="nofollow">https://www.xmpp.jp/signup</a> but it still shows invalid JID..</p>
  
  <pre><code>ERROR    2016-06-06 08:45:32,157 wsgi.py:280] 
  Traceback (most recent call last):
    File "/home/gemini/softwares/google_appengine/google/appengine/runtime/wsgi.py", line 268, in Handle
      result = handler(dict(self._environ), self._StartResponse)
    File "/home/gemini/softwares/google_appengine/lib/webapp2-2.3/webapp2.py", line 1519, in __call__
      response = self._internal_error(e)
    File "/home/gemini/softwares/google_appengine/lib/webapp2-2.3/webapp2.py", line 1511, in __call__
      rv = self.handle_exception(request, response, e)
    File "/home/gemini/softwares/google_appengine/lib/webapp2-2.3/webapp2.py", line 1505, in __call__
      rv = self.router.dispatch(request, response)
    File "/home/gemini/softwares/google_appengine/lib/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
      return route.handler_adapter(request, response)
    File "/home/gemini/softwares/google_appengine/lib/webapp2-2.3/webapp2.py", line 1077, in __call__
      return handler.dispatch()
    File "/home/gemini/softwares/google_appengine/lib/webapp2-2.3/webapp2.py", line 547, in dispatch
      return self.handle_exception(e, self.app.debug)
    File "/home/gemini/softwares/google_appengine/google/appengine/ext/webapp/xmpp_handlers.py", line 63, in handle_exception
      super(BaseHandler, self).handle_exception(exception, debug_mode)
    File "/home/gemini/softwares/google_appengine/lib/webapp2-2.3/webapp2.py", line 545, in dispatch
      return method(*args, **kwargs)
    File "/home/gemini/PycharmProjects/appengine-crowdguru-python/guru.py", line 222, in post
      super(XmppHandler, self).post()
    File "/home/gemini/softwares/google_appengine/google/appengine/ext/webapp/xmpp_handlers.py", line 73, in post
      self.message_received(self.xmpp_message)
    File "/home/gemini/softwares/google_appengine/google/appengine/ext/webapp/xmpp_handlers.py", line 118, in message_received
      handler(message)
    File "/home/gemini/PycharmProjects/appengine-crowdguru-python/guru.py", line 302, in tellme_command
      message.reply(WAIT_MSG)
    File "/home/gemini/softwares/google_appengine/google/appengine/api/xmpp/__init__.py", line 515, in reply
      message_type=message_type, raw_xml=raw_xml)
    File "/home/gemini/softwares/google_appengine/google/appengine/api/xmpp/__init__.py", line 346, in send_message
      raise InvalidJidError()
  InvalidJidError
  </code></pre>