Prosody mod auth external not workingProblem with Ejabberd external authentication with PHPHow to migrate...

Has any country ever had 2 former presidents in jail simultaneously?

What is Cash Advance APR?

Biological Blimps: Propulsion

US tourist/student visa

How to get directions in deep space?

The IT department bottlenecks progress, how should I handle this?

How much of a Devil Fruit must be consumed to gain the power?

Delete multiple columns using awk or sed

How do I fix the group tension caused by my character stealing and possibly killing without provocation?

Does the reader need to like the PoV character?

Which Article Helped Get Rid of Technobabble in RPGs?

Why is it that I can sometimes guess the next note?

PTIJ: Why is Haman obsessed with Bose?

How to convince somebody that he is fit for something else, but not this job?

Is it allowed to activate the ability of multiple planeswalkers in a single turn?

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

Why do ¬, ∀ and ∃ have the same precedence?

Is there a nicer/politer/more positive alternative for "negates"?

Why does this expression simplify as such?

Which was the first story featuring espers?

"It doesn't matter" or "it won't matter"?

How does electrical safety system work on ISS?

Does Doodling or Improvising on the Piano Have Any Benefits?

The Digit Triangles



Prosody mod auth external not working


Problem with Ejabberd external authentication with PHPHow to migrate openfire from embedded to externalNeed help understanding why gtalk will not talk to my xmpp server if it serves root domain. Subdomains and other domains are ok.xmpp openfire connection manager not workingOpenfire : unable to converse with some external serversProsody, how to get the IP address of connected clients?How do I get Prosody to use TLS 1.2?What service should a Prosody mod_proxy65 proxy offer?What Prosody modules do I need to support Conversations?Client not syncing messages; mod_carboncopy













0















I installed mod_auth_external for 0.8.2 on ubuntu 12.04 but it's not working. I have external_auth_command = "/home/yang/chat/testing" but it's not getting invoked. I enabled debug logging and see no messages from that mod. Any help?



I'm using the Candy example client. Here's what's written to the log after I submit a login request (and nothing in err log):



Oct 24 21:02:43 socket        debug   server.lua: accepted new client connection from 127.0.0.1:40527 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: %s)
Oct 24 21:02:43 boshb344ba85-fbf5-4a26-b5f5-5bd35d5ed372 debug BOSH session created for request from 169.254.11.255
Oct 24 21:02:43 mod_bosh info New BOSH session, assigned it sid 'b344ba85-fbf5-4a26-b5f5-5bd35d5ed372'
Oct 24 21:02:43 httpserver debug Sending response to bf9120
Oct 24 21:02:43 httpserver debug Destroying request bf9120
Oct 24 21:02:43 httpserver debug Request has destroy callback
Oct 24 21:02:43 socket debug server.lua: closed client handler and removed socket from list
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 0 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 socket debug server.lua: accepted new client connection from 127.0.0.1:40528 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: b344ba85-fbf5-4a26-b5f5-5bd35d5ed372)
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 1 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 mod_bosh debug Have nothing to say, so leaving request unanswered for now
Oct 24 21:02:43 httpserver debug Request c295d0 left open, on_destroy is function(mod_bosh.lua:81)


Here's the config I added:



modules_enabled = {
...
"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
...
}

authentication = "external"
external_auth_protocol = "generic"
external_auth_command = "/home/yang/chat/testing"









share|improve this question
















bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Firstly, remove «"auth_external";» from modules_enabled and show new logs.

    – user142623
    Oct 25 '12 at 4:23











  • @mva Done, updated question

    – Yang
    Oct 25 '12 at 4:27
















0















I installed mod_auth_external for 0.8.2 on ubuntu 12.04 but it's not working. I have external_auth_command = "/home/yang/chat/testing" but it's not getting invoked. I enabled debug logging and see no messages from that mod. Any help?



I'm using the Candy example client. Here's what's written to the log after I submit a login request (and nothing in err log):



Oct 24 21:02:43 socket        debug   server.lua: accepted new client connection from 127.0.0.1:40527 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: %s)
Oct 24 21:02:43 boshb344ba85-fbf5-4a26-b5f5-5bd35d5ed372 debug BOSH session created for request from 169.254.11.255
Oct 24 21:02:43 mod_bosh info New BOSH session, assigned it sid 'b344ba85-fbf5-4a26-b5f5-5bd35d5ed372'
Oct 24 21:02:43 httpserver debug Sending response to bf9120
Oct 24 21:02:43 httpserver debug Destroying request bf9120
Oct 24 21:02:43 httpserver debug Request has destroy callback
Oct 24 21:02:43 socket debug server.lua: closed client handler and removed socket from list
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 0 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 socket debug server.lua: accepted new client connection from 127.0.0.1:40528 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: b344ba85-fbf5-4a26-b5f5-5bd35d5ed372)
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 1 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 mod_bosh debug Have nothing to say, so leaving request unanswered for now
Oct 24 21:02:43 httpserver debug Request c295d0 left open, on_destroy is function(mod_bosh.lua:81)


Here's the config I added:



modules_enabled = {
...
"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
...
}

authentication = "external"
external_auth_protocol = "generic"
external_auth_command = "/home/yang/chat/testing"









share|improve this question
















bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Firstly, remove «"auth_external";» from modules_enabled and show new logs.

    – user142623
    Oct 25 '12 at 4:23











  • @mva Done, updated question

    – Yang
    Oct 25 '12 at 4:27














0












0








0


1






I installed mod_auth_external for 0.8.2 on ubuntu 12.04 but it's not working. I have external_auth_command = "/home/yang/chat/testing" but it's not getting invoked. I enabled debug logging and see no messages from that mod. Any help?



I'm using the Candy example client. Here's what's written to the log after I submit a login request (and nothing in err log):



Oct 24 21:02:43 socket        debug   server.lua: accepted new client connection from 127.0.0.1:40527 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: %s)
Oct 24 21:02:43 boshb344ba85-fbf5-4a26-b5f5-5bd35d5ed372 debug BOSH session created for request from 169.254.11.255
Oct 24 21:02:43 mod_bosh info New BOSH session, assigned it sid 'b344ba85-fbf5-4a26-b5f5-5bd35d5ed372'
Oct 24 21:02:43 httpserver debug Sending response to bf9120
Oct 24 21:02:43 httpserver debug Destroying request bf9120
Oct 24 21:02:43 httpserver debug Request has destroy callback
Oct 24 21:02:43 socket debug server.lua: closed client handler and removed socket from list
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 0 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 socket debug server.lua: accepted new client connection from 127.0.0.1:40528 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: b344ba85-fbf5-4a26-b5f5-5bd35d5ed372)
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 1 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 mod_bosh debug Have nothing to say, so leaving request unanswered for now
Oct 24 21:02:43 httpserver debug Request c295d0 left open, on_destroy is function(mod_bosh.lua:81)


Here's the config I added:



modules_enabled = {
...
"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
...
}

authentication = "external"
external_auth_protocol = "generic"
external_auth_command = "/home/yang/chat/testing"









share|improve this question
















I installed mod_auth_external for 0.8.2 on ubuntu 12.04 but it's not working. I have external_auth_command = "/home/yang/chat/testing" but it's not getting invoked. I enabled debug logging and see no messages from that mod. Any help?



I'm using the Candy example client. Here's what's written to the log after I submit a login request (and nothing in err log):



Oct 24 21:02:43 socket        debug   server.lua: accepted new client connection from 127.0.0.1:40527 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: %s)
Oct 24 21:02:43 boshb344ba85-fbf5-4a26-b5f5-5bd35d5ed372 debug BOSH session created for request from 169.254.11.255
Oct 24 21:02:43 mod_bosh info New BOSH session, assigned it sid 'b344ba85-fbf5-4a26-b5f5-5bd35d5ed372'
Oct 24 21:02:43 httpserver debug Sending response to bf9120
Oct 24 21:02:43 httpserver debug Destroying request bf9120
Oct 24 21:02:43 httpserver debug Request has destroy callback
Oct 24 21:02:43 socket debug server.lua: closed client handler and removed socket from list
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 0 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 socket debug server.lua: accepted new client connection from 127.0.0.1:40528 to 5280
Oct 24 21:02:43 mod_bosh debug BOSH body open (sid: b344ba85-fbf5-4a26-b5f5-5bd35d5ed372)
Oct 24 21:02:43 mod_bosh debug Session b344ba85-fbf5-4a26-b5f5-5bd35d5ed372 has 1 out of 1 requests open
Oct 24 21:02:43 mod_bosh debug and there are 0 things in the send_buffer
Oct 24 21:02:43 mod_bosh debug Have nothing to say, so leaving request unanswered for now
Oct 24 21:02:43 httpserver debug Request c295d0 left open, on_destroy is function(mod_bosh.lua:81)


Here's the config I added:



modules_enabled = {
...
"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
...
}

authentication = "external"
external_auth_protocol = "generic"
external_auth_command = "/home/yang/chat/testing"






xmpp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 25 '12 at 4:26







Yang

















asked Oct 25 '12 at 4:15









YangYang

86531631




86531631





bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Firstly, remove «"auth_external";» from modules_enabled and show new logs.

    – user142623
    Oct 25 '12 at 4:23











  • @mva Done, updated question

    – Yang
    Oct 25 '12 at 4:27



















  • Firstly, remove «"auth_external";» from modules_enabled and show new logs.

    – user142623
    Oct 25 '12 at 4:23











  • @mva Done, updated question

    – Yang
    Oct 25 '12 at 4:27

















Firstly, remove «"auth_external";» from modules_enabled and show new logs.

– user142623
Oct 25 '12 at 4:23





Firstly, remove «"auth_external";» from modules_enabled and show new logs.

– user142623
Oct 25 '12 at 4:23













@mva Done, updated question

– Yang
Oct 25 '12 at 4:27





@mva Done, updated question

– Yang
Oct 25 '12 at 4:27










1 Answer
1






active

oldest

votes


















0














After a while of debugging, it appears that the problem stems from prosody (with authentication = 'external') no longer responding to initial connect attempts with a set of auth mechanisms, which Candy in turn requires in order to respond with a meaningful auth stanza (and which for some reason other clients like SleekXMPP do not).






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f442100%2fprosody-mod-auth-external-not-working%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    After a while of debugging, it appears that the problem stems from prosody (with authentication = 'external') no longer responding to initial connect attempts with a set of auth mechanisms, which Candy in turn requires in order to respond with a meaningful auth stanza (and which for some reason other clients like SleekXMPP do not).






    share|improve this answer




























      0














      After a while of debugging, it appears that the problem stems from prosody (with authentication = 'external') no longer responding to initial connect attempts with a set of auth mechanisms, which Candy in turn requires in order to respond with a meaningful auth stanza (and which for some reason other clients like SleekXMPP do not).






      share|improve this answer


























        0












        0








        0







        After a while of debugging, it appears that the problem stems from prosody (with authentication = 'external') no longer responding to initial connect attempts with a set of auth mechanisms, which Candy in turn requires in order to respond with a meaningful auth stanza (and which for some reason other clients like SleekXMPP do not).






        share|improve this answer













        After a while of debugging, it appears that the problem stems from prosody (with authentication = 'external') no longer responding to initial connect attempts with a set of auth mechanisms, which Candy in turn requires in order to respond with a meaningful auth stanza (and which for some reason other clients like SleekXMPP do not).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 25 '12 at 8:34









        YangYang

        86531631




        86531631






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f442100%2fprosody-mod-auth-external-not-working%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...