Do you got any thoughts from your mobile app team since Nov '18? Please share it with other readers too. Thank you!
iOS App It's time to talk about it
Mobile notifications not working all of a sudden
Hi there,
I have gone through all existing tickets regarding this error and have tried all suggestions. I’m looking to get my company on this (100 users) asap with the E10 license, but would like this to work first.
OS: Centos7.6
Mattermost: Latest (prod) build
Database: mysql
Error:
{“level”:“error”,“ts”:1548142643.2314138,“caller”:“app/notification_push.go:280”,“msg”:“Device push reported as error for UserId=togknaxpstb39meaw9uc3t7zdy SessionId=nt4os5drgidd5jzic14k143cie message=Post https://push-test.mattermost.com/api/v1/send_push: dial tcp: i/o timeout”,“user_id”:“togknaxpstb39meaw9uc3t7zdy”}
I just set this server up yesterday, notifications were working beautifully, and then they stopped - no changes made.
- All notifications are set to send ‘All Activity’
- Mobile notifications turned on.
- Logged out of all existing devices, deleted app, and re-downloaded, signed in.
- Running the command: curl -l push-test.mattermost.com returns “Mattermost Push Proxy”
I’m not sure what else to do, please advise.
Cheers.
iOS App It's time to talk about it
Hi @mattermut,
A summary of our discussion with RbDev
can be found here on our community instance: https://community.mattermost.com/core/pl/u1n5yit3xjg6pmgbgbftmur9ha.
Also, a list of Jira tickets were opened for improving app behaviour during poor network: https://mattermost.atlassian.net/browse/MM-13065
Push notification in Team Edition servers
Hi @stony007_de,
You can find more information about free push notifications here: https://docs.mattermost.com/overview/faq.html#are-push-notifications-free.
[SOLVED] Notifications but no visible un-read messages
Hi @kov,
What device and OS are you seeing this issue on?
Interactive menu with checkboxes
Great @vlllo! I will let you know, when we creates a Ticket for this.
Mobile notifications not working all of a sudden
Hi, @jbaird
A couple of important points you highlighted here is that:
- It was working properly
- No changes were made prior to the issue
- You can reach push-test.mattermost.com
Some questions that I have:
- May I know if you are using TPNS or HPNS instead - Hosted Push Notification Service? Can you share the configuration you have on your instance?
- If you are using TPNS, is the issue still happening on your end? The reason why I am asking is because it does not offer a production-level uptime service level agreements (SLAs). So, it could be an intermittent problem.
- Additionally, can you share the suggestions that you have performed on your end to troubleshoot this issue?
ADFS Saml 2 setup Identity Provider response is not encrypted
I’m having an issue where some of the time some of my users are getting the following error:
“SAML login was unsuccessful as the Identity Provider response is not encrypted. Please contact your System Administrator”
I don’t get it every time though, and I even went back and deleted all the mattermost configurations in ADFS and set it back up again to be sure I didn’t miss something in the steps provided in the documentation. Everything looks right so far as I can tell, and some of my users never see this message. However there are a few who cannot ever login and get the message every time, and others that only get it sometimes. I can’t see any rhyme or reason as to who gets the message and who doesn’t.
I’ve been googling around and haven’t found anything related so if anyone has any idea where to start looking for more clues I’d appreciate it.
iOS App It's time to talk about it
Hi, everyone.
In case you would like the visibility of the discussion performed without going to the Community instance:
Missing messages: Missing Messages on iOS App
Repro (not consistent): User gets a notification, opens from tapping on notification or just opening the app, new messages coming in, but the message from the push notification is missing in the post list. Without intervention, missing messages don’t appear ever. Force refresh (pull up) then the messages appear, or if cache is reset
Suggestion 1: When app gets focus, send a ping to server to check the latest message in the channel and compare it to the latest message on the server. If client is behind, pull the messages in order
Suggestion 2: Easy fix: force to refresh when app is focused
Duplicate messages being sent
Repro (not consistent): Send a message in a bad network (ie metro), observe occasionally the message is posted twice (duplicate messages are visible on webapp and in database as well)
Suggestion: Messages should each have unique ID and the server checks the ID to make sure it shouldn’t post it again.
Android Server URL issues
Repro: Logging out and trying to switch servers, enter in a new server, but it cannot connect and doesn’t let the user past the server URL screen
Work around: Force restart the app (only works once)
Session expiry not sending push notifications
Feedback that the session expiry time should be longer or removed by default.
Hope that helps. The mobile team hears you, so stay tuned as they address each issue one by one.
MySQL & Invalid session error on Mattermost
@Babbles, what @jchungvz meant by “Are your mattermost server and mariadb on separate systems ?” is whether your Mattermost instance and database instance are installed in a separate servers. Can you please confirm on that?
The invalid session error you shared looks similar to User gets logged out on page refresh. So, can you share the session related settings here so we can perhaps shed more light here?
Mobile notifications not working all of a sudden
Thanks for the reply! We’re not on E10 yet, so yea, TPNS - the issue is still happening.
I’ve tried what I said above. Turning off push notifications, restarting server, and turning them back on again.
- All notifications are set to send ‘All Activity’
- Mobile notifications turned on.
- Logged out of all existing devices, deleted app, and re-downloaded, signed in.
- Running the command: curl -l push-test.mattermost.com returns “Mattermost Push Proxy”
Can’t really think of anything else to try. The first day of creating the server it worked perfectly fine, and then it stopped.
Anything specific you want to see in the config? It’s more or less generic besides TLS/hostname. Push is set to true.
Cheers.
MySQL & Invalid session error on Mattermost
Thanks for the supplement. I’m Mattermost and MariaDB are the same server. I may be influenced by Plesk’s involvement.
I can not use ‘localhost’ with mySQL DataSource in config.json, I have specified the IP address of the server instead of localhost.
"DataSource": "DB-USERNAME:DBPASSWORD@tcp(XXX.XXX.XX.XXX:3306)/DBNAME?charset=utf8mb4,utf8\u0026readTimeout=30s\u0026writeTimeout=30s"
Invalid Session
Instead of logging out, when I display the login screen of Mattermost surely an INFO level Invalid Session error occurs.
Since yesterday somehow MySQL error I first wrote has become very few.
{"level":"error","ts":1548220002.1904187,"caller":"jobs/jobs_watcher.go:70","msg":"Error occurred getting all pending statuses: SqlJobStore.GetAllByStatus: Unable to get the jobs, Status=pending, invalid connection"}
This error does not change.
I sent an invitation mail to a new user and had him access it. Then the screen was empty after mail authentication. There were two people like this.
There seems to be no problem in the post itself after logging in. It is done smoothly so far.
ADFS Saml 2 setup Identity Provider response is not encrypted
Hi @Brian,
- What Mattermost server version are you on?
- What OS and version are you on?
- What device are you seeing this on?
- Do you have access to the server logs and configuration, and can you share them?
- What IdP are you using?
- Can you list the attributes that you have on your IdP and in the Mattermost configuration?
- Do you know which identity provider you used to connect SAML to Mattermost?
- If you set it up, can you confirm all attributes, including Email Attribute and Username Attribute, are correct in both the Identity Provider configuration and in System Console > SAML, and that they match? It can also be a misspelled attribute like
username
is not the same asUsername
norFirstname
equals toFirstName
.
iOS App ignores safe area in landscape
Hi @mattermut,
Thank you for the feedback, I created a Jira ticket for this here: https://mattermost.atlassian.net/browse/MM-13808.
How enable webhook API creation in mattermost
Summary
I, how can enable the webhook creation using API? Mattermost always response me the following text:
Outgoing webhooks have been disabled by the system admin.
My configuration using says:
"EnableIncomingWebhooks": true,
"EnableOutgoingWebhooks": true,
And the system are the following
Mattermost Version: 5.5.1
Database Schema Version: 5.5.0
Database: mysql
Steps to reproduce
I using a curl request like this:
curl --location --request POST "https://omnichat.democrm.com.ar/api/v4/hooks/outgoing" \
--header "Authorization: Bearer XXXXXXXXXXXXXXX" \
--header "Content-Type: application/json" \
--data '{"team_id": "XXXXXXXXX","channel_id": "XXXXXXXXXXX","description": "","display_name": "send to web service","trigger_words": [],"trigger_when": 0,"callback_urls": ["https://miwservicetest.com/v1/out"],"content_type": "application/x-www-form-urlencoded"}'
Expected behavior
Creation of webhook outgoing success.
Observed behavior
Mattermost returns to me the following response:
{"id":"api.outgoing_webhook.disabled.app_error","message":"Outgoing webhooks have been disabled by the system admin.","detailed_error":"","request_id":"iqztco7t43gcmep999c4csr35r","status_code":403}
Tilde ~ on Belgian keyboard opens help
@sudheerDev You have previously fixed issues related to keyboards - is this one something that you’d be able to investigate a fix for if I open a Jira ticket?
MySQL & Invalid session error on Mattermost
Is this about that?
"SessionLengthWebInDays": 30,
"SessionLengthMobileInDays": 30,
"SessionLengthSSOInDays": 30,
"SessionCacheInMinutes": 10,
"SessionIdleTimeoutInMinutes": 0,
That error has also occurred while the user is posting continuously. Either of the any web browser, PC, Mac, iPhone dedicated applications access method gives an error.
Bulk Delete Custom Emoji Script
Hi everybody!
I wrote a quick Ruby script that can help you if you need to prune the number of custom emoji in your system. It reads the names of the emoji from a text file and then searches for them in the system. There’s a -f
option that will soft-delete the emoji that it finds.
You can find it here on Github.
Questions and suggestions welcome!
Auto hyperlink drops trailing curly brace
Summary
A URL in a post that ends with curly brace is replaced with an autolink that has dropped the curly brace.
Steps to reproduce
Mattermost 5.6.2 or 5.7.0, any client
Write the following post:
Let's try http://example/result?things={stuff}
Expected behavior
The URL is replaced by a hyperlink http://example/result?things={stuff} including the closing curly brace
Observed behavior
The URL is replaced by a hyperlink http://example/result?things={stuff}, so the curly brace is plain text outside the hyperlink
Auto hyperlink drops trailing curly brace
I tried to reproduce the issue in autolink_test.go
in the mattermost server project, but it does the right thing for this example (the result of parseAutolink
did include the brace).