-
Notifications
You must be signed in to change notification settings - Fork 19
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
giphy plugin /gifs functionality not working, but /gif is (tech details attached) #21
Comments
Here's what the HTML on the Cancel button looks like, in case the <button data-action-id="bqos84uaafy3uka9kft1hy65ye" data-action-cookie="****************">Cancel</button>``` |
I just tested this plugin out on a new Production install of Mattermost (5.19.0) and had the same symptoms: Server logs (via System Console) indicated I needed to update the AllowedUntrustedInternalConnections setting for the app. The POST path in the error had
Results showed this resolved my issue: all buttons were working. Fair warning: I'm very new to using Mattermost and while I'm using a production installation, it's in a test environment. I don't have enough context or knowledge yet to know whether adding |
I am having the same issue and this solution did NOT work for me. When looking at Chrome's developer tools console I get : fetch_etag.js:30 400 (Bad Request) when I click the "shuffle" button. {"id":"api.context.404.app_error","message":"Sorry, we could not find the page.","detailed_error":"There doesn't appear to be an api call for the url='/api/v4/posts/xxxxxxxxxxxx/actions/xxxxxxxxxxxxxxxxxxx. Typo? are you missing a team_id or user_id as part of the url?","status_code":404} |
I have exactly the same issue, adding localhost to "AllowUntrustedInternalConnections" did not work for me either - I'm on 5.21.0 Logs from Mattermost show:
|
For those for which the
I am unable to reproduce this issue with a local Docker 5.21 MM install without SSL, nor a manual 5.20 MM install with Let's Encrypt certificates. |
If you have Mattermost 5.20 or later, please try the new release of the plugin, with might fix the issue. If it doesn't, don't hesitate to comment back! |
On a lower version of MM so can't install latest. Installed v1.1 of plugin and checked logs on error. Seeing this:
This started happening after I rolled over MM SSL/TLS certs from certbot and forced all traffic to go through 443. Also I rewrite the ip address with the server name in NGINX like so:
Anyway ... I personally think the bitnami/GCP managed mattermost is total crap at this point. Nothing works the way it should. so I really doubt it's the plugin's fault. That being said if you have a lot of GCP users who use the managed bitnami, you might want to play around with it because the installation is nuts. |
You can close this if you want, I'm not going to hold you to supporting MM v1.15. The way bitnami installed this thing makes it harder to upgrade than to just wipe it, migrate everything, and do a fresh server install. |
okay gave it one more shot and I got it. Did the following -- not sure which one of these ultimately did the trick: Changed as follows:
(before it was just I also changed my config as follows:
to
This worked. However I can't say it was definitively this because I also did the following:
https://docs.mattermost.com/administration/plugins.html#custom-plugins regarding So I followed the steps as suggested here: https://unix.stackexchange.com/questions/90450/adding-a-self-signed-certificate-to-the-trusted-list to make the X509 go away. Buy I was still getting these:
It was changing the config and the So -- if I were to offer any suggestions -- check your logs. Look for |
(also, I reverted to |
@jjtolton Congrats on solving the issue and thank you very much for sharing your solution! It might be quite useful to others :) |
Issue:
the
/gifs <query>
command will pull up the expected message, however, the buttons do not work as expected (effectively non-functional).System Details:
![image](https://user-images.githubusercontent.com/10394611/71729088-d407fd00-2e0c-11ea-88ed-cd18914628bf.png)
This is a GCP marketplace version of Mattermost that has been in production approximately 3 months.
What's changed?
I did not observe if the
/gifs
command was working immediately before this event, however, the/gifs
was observed to not be working immediately after I renewed TLS/SSL certifications.Observations:
Result of executing
/gifs test
:Result of clicking cancel:
No action. POST request failed, details:
Response
Request:
****************
indicates redacted.The same type of thing occurs for clicking shuffle and send.
Please let me know if there is any additional information I can provide.
The selected option in the Request seems troubling.
The text was updated successfully, but these errors were encountered: