Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8898831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:42:41+00:00 2026-06-15T00:42:41+00:00

As for XMPP documentation (Example 10) this kind of stanza should be valid: <presence

  • 0

As for XMPP documentation (Example 10) this kind of stanza should be valid:

<presence from="support@im.server.com" />

However ejabberd replies with 400 response. The reason here is a missing “to” field. I wonder why it happens.
Based on a XML schema of a XEP-0114 analysis I guess the reason is in a fact that support@im.server.com is an external component.

Could someone confirm that I am right/wrong, or give a suggestion how to overcome the situation?

XMPP Server: ejabberd 2.1.5.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:42:42+00:00Added an answer on June 15, 2026 at 12:42 am

    example 10 which you refer to sends out a user presence to a client and includes a resource. So this is server => client.

    If I understand you correct you send this presence from your component to the server (component=>server). Without a to address the server is not able to route this presence to another entity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using XMPP example from this address. I am putting the following configuration
I want to send XMPP message from my android client to GAE Server using
The XMPP spec states that the client should broadcast presence upon connecting to an
I've read this paragraph from the App Engine documentation a dozen times and still
XMPP allows users to connect to the server from multiple clients simultaneously, using the
I'm writing small XMPP server using boost::asio and I want to unit-test my code.
I'm creating XMPP client for FACEBOOK . i did this for gmail, now i
I've to send xmpp based chat client (hipchat) and I'm using xmpp.py for this
I have 3 xmpp components (internal and external) in my ejabberd. These components exchange
I created a simple xmpp bot in PHP which connects to google talk server.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.