Summary
I’m running mattermost server(5.4) locally.
url: developers.mattermost. com/contribute/server/developer-setup/.
im trying to get interactive messages working.
docs.mattermost.com/developer/interactive-messages.html
ive added “AllowedUntrustedInternalConnections” address to it.
I see the buttons i.stack.imgur.com/YGeFf.png
and when i click on the buttons, in the mattermost server logs i get the following:
“http_code”:400,“err_details”:“err=Post http://127.0.0.1:7357: address forbidden, you may need to set AllowedUntrustedInternalConnections to allow an integration access to your internal network”}
in the mattermost-server/config/config.json, ive tried updating below to various addresses
“AllowedUntrustedInternalConnections”: “0.0.0.0”
or
“localhost” , “127.0.0.1/8” “127.0.0.1”
for “127.0.0.1” i get 400 connection refused.
“http_code”:400,“err_details”:“err=Post http://127.0.0.1:7357: dial tcp 127.0.0.1:7357: connect: connection refused”}
i dont think ive overridden any with env variables(not sure how to check)
any ideas to get past the forbidden access?
Steps to reproduce
run mattermost server 5.4 locally (nothing special, standard local run with docker.
add interactive message buttons and press it
read the logs that address is forbidden
Expected behavior
expected to not have 400 error since i updated the config.json file
Observed behavior
got the error you see above.
ive tried what was shown here [SOLVED] Slash Command Issue: Address Forbidden after v4.2 Update