GithubHelp home page GithubHelp logo

Comments (4)

loafoe avatar loafoe commented on June 12, 2024

@albertgu2016 Can you paste some of the debugging output? It could be that there is an issue with the Websocket connection

from hubot-matteruser.

martsa1 avatar martsa1 commented on June 12, 2024

I'm hitting this issue as well, with hubot and mattermost deployed via docker (though the appropriate mattermost ports are bound to localhost).

Mattermost v3.4.0
Hubot-MatterUser v3.3.1

I can login with the hubot user manually, but the debug log from hubot is a little unhelpful:

npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info linkStuff [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
npm info lifecycle [email protected]~prepublish: [email protected]
npm info ok
[Mon Sep 26 2016 09:50:33 GMT+0000 (UTC)] INFO Logging in...
[Mon Sep 26 2016 09:50:33 GMT+0000 (UTC)] DEBUG POST /users/login
[Mon Sep 26 2016 09:50:33 GMT+0000 (UTC)] ERROR Login call failed
[Mon Sep 26 2016 09:50:33 GMT+0000 (UTC)] INFO Reconnecting in 1000ms
[Mon Sep 26 2016 09:50:34 GMT+0000 (UTC)] INFO Attempting reconnect
[Mon Sep 26 2016 09:50:34 GMT+0000 (UTC)] INFO Logging in...
[Mon Sep 26 2016 09:50:34 GMT+0000 (UTC)] DEBUG POST /users/login
[Mon Sep 26 2016 09:50:34 GMT+0000 (UTC)] ERROR Login call failed
[Mon Sep 26 2016 09:50:34 GMT+0000 (UTC)] INFO Reconnecting in 2000ms
[Mon Sep 26 2016 09:50:36 GMT+0000 (UTC)] INFO Attempting reconnect
[Mon Sep 26 2016 09:50:36 GMT+0000 (UTC)] INFO Logging in...
[Mon Sep 26 2016 09:50:36 GMT+0000 (UTC)] DEBUG POST /users/login
[Mon Sep 26 2016 09:50:36 GMT+0000 (UTC)] ERROR Login call failed
[Mon Sep 26 2016 09:50:36 GMT+0000 (UTC)] INFO Reconnecting in 3000ms

from hubot-matteruser.

martsa1 avatar martsa1 commented on June 12, 2024

Some further debugging looks like Mattermost 3.4 uses a different API end point?
send a manual post request to /api/v3/users/login gets me further, but I hit a 400 about the password being left blank.

Should I raise a separate issue for this here?

Manual curl to /api/v3/users/login appears to work, is it possible that https://github.com/loafoe/mattermost-client/blob/master/src/client.coffee#L45 just needs to have the apiPrefix added to it? Sorry for posting cross project!

from hubot-matteruser.

loafoe avatar loafoe commented on June 12, 2024

@ABitMoreDepth please upgrade to latest 3.5.1 of both Mattermost server and hubot-matteruser. Reopen this ticket if you still encounter this issue. Thanks for the feedback!

from hubot-matteruser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.