Hello there!
Here is a quick report on an issue just after an update to 7.4
Summary
Call plugin doesn’t load anymore after 7.4 update
Steps to reproduce
- Having call plugin working well since it’s available in beta
- Updating as usual, this time to 7.4
- Plugin disappeared from the UI
- Logs are complaining about an address already in use, despite I didn’t change anything in the configuration (Nginx as a reverse proxy):
oct. 20 09:19:50 myhost mattermost[820815]: {"timestamp":"2022-10-20 09:19:50.218 +02:00","level":"error","msg":"failed to get public IP address: listen udp4 :8443: bind: address already in use","caller":"app/plugin_api.go:974","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).OnActivate activate.go:126"}
oct. 20 09:19:50 myhost mattermost[820815]: {"timestamp":"2022-10-20 09:19:50.219 +02:00","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"com.mattermost.calls","wrapped_extras":"pathplugins/com.mattermost.calls/server/dist/plugin-linux-amd64pid821238"}
oct. 20 09:19:50 myhost mattermost[820815]: {"timestamp":"2022-10-20 09:19:50.219 +02:00","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:165","plugin_id":"com.mattermost.calls","error":"failed to get public IP address: listen udp4 :8443: bind: address already in use"}
oct. 20 09:19:50 myhost mattermost[820815]: {"timestamp":"2022-10-20 09:19:50.338 +02:00","level":"error","msg":"failed to get public IP address: listen udp4 :8443: bind: address already in use","caller":"app/plugin_api.go:974","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).OnActivate activate.go:126"}
oct. 20 09:19:50 myhost mattermost[820815]: {"timestamp":"2022-10-20 09:19:50.340 +02:00","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"com.mattermost.calls","wrapped_extras":"pathplugins/com.mattermost.calls/server/dist/plugin-linux-amd64pid821247"}
oct. 20 09:19:50 myhost mattermost[820815]: {"timestamp":"2022-10-20 09:19:50.340 +02:00","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:165","plugin_id":"com.mattermost.calls","error":"failed to get public IP address: listen udp4 :8443: bind: address already in use"}
I checked and the port 8443 is indeed used by Nginx, but it’s not new, it was the case all along before. That’s why I wonder what changed in that release regarding calls?
Expected behavior
Calls is working as usual
Thank you!