mattermost / mattermost-plugin-gitlab

GitLab plugin for Mattermost
Apache License 2.0
139 stars 84 forks source link

Unexpected behaviour with using gitlab plugin setup command on localhost #312

Open Flinch opened 2 years ago

Flinch commented 2 years ago

I encountered this error when trying to run /gitlab setup on the gitlab bot, and clicking continue. The button doesn't invoke any action and an error is thrown back.

This is not reproducible when connecting to a cloud server running on the latest master branch, its only reproducible on my localhost specifically. I have tested the github setup command and can confirm it works fine. So this is a gitlab specific issue.

Thought it would be best to at least mention it just in case it is something to think about.

Screen Shot 2022-07-18 at 4 11 01 PM
catalintomai commented 2 years ago

@DHaussermann , please work with @Flinch on getting more logs. Thanks.

Kshitij-Katiyar commented 1 year ago

@catalintomai @DHaussermann @Flinch I tried to reproduce this error but couldn't. Even on the localhost, everything is working fine for me. Can you give me any more information to go on like server logs or steps to reproduce this it will be very helpful. The only reason I could think of is maybe for your localhost the URL set in the config.json file (server settings) and the URL with what you are accessing the site are different and that's causing the error but it's just my thinking.