Skip to content

Trouble authenticating user #100

@david-harkey

Description

@david-harkey

I am having trouble authenticating my app's node user. Here is my setup:

  1. I am running murmur, an instance of the normal mumble client, and an instance of an nw.js app running this codebase, all on the same computer.
  2. I can see the app's user showing up on the normal client's screen after client.authenticate( userName ); is called.
  3. Channel/User data is received by the app and printed fine to the console, but the 'initialize' callback never fires.
  4. I generated the certificate via command line, and can confirm that the key/cert option attributes are saving correctly in the app.
  5. In the murmur log, I'm getting the following message every time the app tries to connect:
    <W>2017-10-12 09:44:06.022 1 => <70:(-1)> New connection: 127.0.0.1:49475
    <W>2017-10-12 09:44:06.022 Connection: Failed to add flow to QOS
    <W>2017-10-12 09:44:06.077 1 => <70:TestUserName(-1)> Authenticated
    ...That middle line seems to be a clue. That last line seems to indicate that the app/node user is authenticated, but I still don't see the 'authenticate' event firing in the app (via callback statements).

Any thoughts?

------------Edit--------------

  1. Re: 5) above, I don't think that QOS message is an issue. I get that when my normal mumble client runs on my computer, and it connects and has full functionality. (When I connect over a network from another device, I don't get it, meaning that this is likely an end-to-end encryption check that will fail when the client and server are on the same machine.)

  2. The real issue seems to be the the 'initialize' callback never firing. That is what I'm trying to ultimately gain access to so I can start customizing the functionality for my app. I seem to be authenticating fine, otherwise the server wouldn't send back the channel/user states. Just looking for that pesky callback to fire!

Thank you in advance for any help you can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions