我的 CDN 托管图像的 Hero Card 图像渲染损坏
Hero Card Image Rendering Broken for My CDN-Hosted Images
我正在开发一个发送带有图像的英雄卡片的机器人。在过去这些工作正常,但如果我将它们托管在自己的 CDN 上,图像突然停止渲染。这些图像可以通过浏览器正常访问(例如 https://apps.chitchattr.com/images/CEO.jpg), but when rendered via the bot they show an error (e.g. https://urlp.asm.skype.com/v1/url/content?url=https%3a%2f%2fapps.chitchattr.com%2fimages%2fCEO.jpg). If I test an image from another random test site (which the url indicates is also coming from a CDN, interestintly), then the render is fine, e.g. https://urlp.asm.skype.com/v1/url/content?url=https%3a%2f%2flittlecoffeefox.com%2fwp-content%2fuploads%2f2018%2f06%2fPhoto-2-1024x683.jpg (which actually redirects to https://urlp.sfbassets.com/urlpcdn/weu1/contentapi1/c1d443bd-1b14-447e-8087-bc8f689251c4)。
正如我所说,这些图像在不久之前都运行良好。我需要做些什么来以不同的方式托管图像吗?以某种方式对路径进行编码(比如可能向 Teams 表明它已经在 CDN 上,因此不需要使用 Teams 似乎试图做的任何事情)?还有别的吗?
我想通了 - 我的服务器设置为仅接受 TLS 1.3 请求 - 我还必须启用 1.2,然后 Teams 才能再次请求并显示这些图像。希望这对其他人有用。
我正在开发一个发送带有图像的英雄卡片的机器人。在过去这些工作正常,但如果我将它们托管在自己的 CDN 上,图像突然停止渲染。这些图像可以通过浏览器正常访问(例如 https://apps.chitchattr.com/images/CEO.jpg), but when rendered via the bot they show an error (e.g. https://urlp.asm.skype.com/v1/url/content?url=https%3a%2f%2fapps.chitchattr.com%2fimages%2fCEO.jpg). If I test an image from another random test site (which the url indicates is also coming from a CDN, interestintly), then the render is fine, e.g. https://urlp.asm.skype.com/v1/url/content?url=https%3a%2f%2flittlecoffeefox.com%2fwp-content%2fuploads%2f2018%2f06%2fPhoto-2-1024x683.jpg (which actually redirects to https://urlp.sfbassets.com/urlpcdn/weu1/contentapi1/c1d443bd-1b14-447e-8087-bc8f689251c4)。
正如我所说,这些图像在不久之前都运行良好。我需要做些什么来以不同的方式托管图像吗?以某种方式对路径进行编码(比如可能向 Teams 表明它已经在 CDN 上,因此不需要使用 Teams 似乎试图做的任何事情)?还有别的吗?
我想通了 - 我的服务器设置为仅接受 TLS 1.3 请求 - 我还必须启用 1.2,然后 Teams 才能再次请求并显示这些图像。希望这对其他人有用。