Open jaskipper opened 2 years ago
@jaskipper - I think that since this problem is related to MailGun, it would be nice to get a response from the developers first
@melishev - It absolutely is a problem related to MailGun. MailgunJS is deprecated. Unfortunately the plugin seems to take everything over and it breaks the link tool. I've tried to find a workaround, but had no luck up to this point.
When @strapi/provider-email-mailgun is installed in Strapi, it causes the link tool to fail. The link controller is using open-graph-scraper, which uses got, and this is where the failure occurs. This is a known issue with got when mailgun is installed. See https://github.com/panva/node-openid-client/issues/320#issuecomment-764416863. Not sure if we should leave this as is and give users the warning, or maybe try using a different tool other than open-graph-scraper to scrape the data.
When printing out the response from server/controllers/editorjs.js link, I get this response: