mattermost-plugin-ai icon indicating copy to clipboard operation
mattermost-plugin-ai copied to clipboard

Bug: Plugin crashes when API request faces network failure

Open a3957273 opened this issue 9 months ago • 0 comments

Steps to reproduce the behavior

  1. Create an API that kills the network connection half way through sending a response.
  2. Observe that when the plugin interacts with it, it crashes with an 'EOF' in the log.

Expected behavior

The plugin does not crash when a connection is severed.

Additional context (optional)

  • Sev 1: Affects critical functionality without a workaround

Whilst the plugin often restarts automatically, the downtime causes messages to be ignored / on-going requests to die.

a3957273 avatar Nov 23 '23 01:11 a3957273