Git Product home page Git Product logo

galigator / mattermost-client Goto Github PK

View Code? Open in Web Editor NEW
14.0 6.0 8.0 80 KB

A simple java client for the api V4 of Mattermost compatible with Mattermost 4.5 The client aim at writing java Bot for Mattermost.

Home Page: https://github.com/Galigator/Mattermost-client

License: Apache License 2.0

Java 100.00%
java mattermost mattermost-bot bot mattermost-api java-8 cxfrs-service websocket

mattermost-client's People

Contributors

akpdw avatar athimel avatar galigator avatar ton3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mattermost-client's Issues

Don't weird log and cannot access 401 error.

Example config

host :"localhost:8065" 
token: "8gbmmixh3prcfp6du1qbngt3mh"

I get this constant log.

Feb 27, 2021 10:50:47 AM com.cloudtemple.mattermost.WsSocketListener onOpen
INFO: [ws] opened
Feb 27, 2021 10:50:47 AM com.cloudtemple.mattermost.WsSocketListener onOpen
INFO: [ws] opened
Feb 27, 2021 10:50:52 AM com.cloudtemple.mattermost.WsSocketListener onClose
INFO: [ws] closed
Feb 27, 2021 10:50:52 AM com.cloudtemple.mattermost.WebSocketClient$1 onClose
INFO: [ws] reconnect
Feb 27, 2021 10:50:52 AM com.cloudtemple.mattermost.WsSocketListener onOpen
INFO: [ws] opened
Feb 27, 2021 10:50:52 AM com.cloudtemple.mattermost.WsSocketListener onOpen
INFO: [ws] opened

And everytime I want to access something I get this 401 Invalid or expired session, please login again. I read your setup but I don't get why it should help, I used a different driver with similar configuration and it worked, I changed to use your driver because I wanted to be able to use wesockets.

Most of the settings you mentioned I already setup, I created a bot account with access token.

I need to use mattermostbotclient without having to setup anything on the server, and access it with just the bot token.

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.