Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't receive communication #91

Closed
seanirby opened this issue Apr 1, 2017 · 3 comments
Closed

Can't receive communication #91

seanirby opened this issue Apr 1, 2017 · 3 comments

Comments

@seanirby
Copy link

seanirby commented Apr 1, 2017

matterircd version: 0.10.2 (Using the latest version didn't work, so using this per the README's suggestion)
MM Version: Not sure at the moment, waiting response from server owner

After I login I post the message 'ping' from irc, and verify it shows up in my mm client. I then try posting 'pong' in the mm client and don't see it in irc or the debug log. Here's the log with the channel joining stuff removed.

I learned from another issue that matterircd won't show messages that are authored by me from the mm client, but I'm not seeing the activity from the other chat users either.

➜  ~ matterircd -debug -mminsecure -mmserver REDACTED
INFO[2017-04-01T14:52:52-07:00] enabling debug                                module=matterircd
INFO[2017-04-01T14:52:52-07:00] Listening on 127.0.0.1:6667                   module=matterircd
INFO[2017-04-01T14:53:11-07:00] New connection: 127.0.0.1:52740               module=matterircd

... channel joining stuff ...

DEBU[2017-04-01T14:53:23-07:00] -> :mattermost!mattermost@service PRIVMSG stirby :login OK  module=matterircd
DEBU[2017-04-01T14:53:23-07:00] WS PING                                       module=matterclient
DEBU[2017-04-01T14:53:23-07:00] sendWsRequest &model.WebSocketRequest{Seq:1, Action:"ping", Data:map[string]interface {}(nil), Session:model.Session{Id:"", Token:"", CreateAt:0, ExpiresAt:0, LastActivityAt:0, UserId:"", DeviceId:"", Roles:"", IsOAuth:false, Props:model.StringMap(nil), TeamMembers:[]*model.TeamMember(nil)}, T:(i18n.TranslateFunc)(nil), Locale:""}  module=matterclient
DEBU[2017-04-01T14:53:28-07:00] logout as stirby REDACTED
ERRO[2017-04-01T14:53:28-07:00] error:read tcp REDACTED_IP_1:52744->REDACTED_IP_2:80: use of closed network connection  module=matterclient
DEBU[2017-04-01T14:53:28-07:00] exiting WsReceiver                            module=matterclient
DEBU[2017-04-01T14:53:28-07:00] trying login REDACTED
DEBU[2017-04-01T14:53:28-07:00] initUser()                                    module=matterclient
DEBU[2017-04-01T14:53:28-07:00] <- PRIVMSG #testing ping                      module=matterircd
You are trying to use a route that requires a team_id,
        	but you have not called SetTeamId() in client.go
DEBU[2017-04-01T14:53:28-07:00] initUser(): loading all team data             module=matterclient
DEBU[2017-04-01T14:53:28-07:00] -> :mattermost!mattermost@mattermost PRIVMSG stirby :msg: ping  could not be send: : Sorry, we could not find the page., There doesn't appear to be an api call for the url='/api/v3/teams/channels/nci9qzkbpp8wfyegzjkwye6yaa/posts/create'.  Typo? are you missing a team_id or user_id as part of the url?  module=matterircd
DEBU[2017-04-01T14:53:29-07:00] initUser(): found our team REDACTED
DEBU[2017-04-01T14:53:29-07:00] WsClient: making connection                   module=matterclient
DEBU[2017-04-01T14:53:37-07:00] <- PRIVMSG #testing ping                      module=matterircd
@42wim
Copy link
Owner

42wim commented Apr 2, 2017

The mattermost version can be found by going to the mattermost webinterface and clicking on about.
Do you see the other users in the &users channel ?

@seanirby
Copy link
Author

seanirby commented Apr 2, 2017

Mattermost version is: Version: 3.1.0
I do see all the users in the channel and I can send messages to them.

According to your README matterircd doesn't support those versions so I guess I need to see if we can upgrade the server or look for another solution.

@42wim
Copy link
Owner

42wim commented Apr 2, 2017

Oh, that's an ancient version.
If it's reachable from the internet, please upgrade mattermost to latest version. I'll close this for now.

@42wim 42wim closed this as completed Apr 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants