Giter Site home page Giter Site logo

Comments (9)

Issues-translate-bot avatar Issues-translate-bot commented on June 23, 2024

Bot detected the issue body's language is not English, translate it automatically.


Title: The picture cannot be displayed when using the DALL-E plug-in

When using the DALL-E plug-in, the picture cannot be displayed. This happens after several consecutive attempts, but the file is generated in R2.
image
image

from chatgpt-next-web-langchain.

Hk-Gosuto avatar Hk-Gosuto commented on June 23, 2024

直接请求 /api/file/xxxx.png 这个路由(图片换成已经上传的),然后看下请求日志中有没有错误信息。

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 23, 2024

Bot detected the issue body's language is not English, translate it automatically.


Directly request the route /api/file/xxxx.png (replace the image with the one that has been uploaded), and then check whether there is any error message in the request log.

from chatgpt-next-web-langchain.

mouxangithub avatar mouxangithub commented on June 23, 2024

同样的问题,好像S3的域是访问不了不对外的,配了个R2.dev 子域或者自定义域就可以用这两个域名访问

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 23, 2024

Bot detected the issue body's language is not English, translate it automatically.


I have the same problem. It seems that the S3 domain cannot be accessed externally. If I configure an R2.dev subdomain or a custom domain, I can use these two domain names to access it.

from chatgpt-next-web-langchain.

mouxangithub avatar mouxangithub commented on June 23, 2024

直接请求 /api/file/xxxx.png 这个路由(图片换成已经上传的),然后看下请求日志中有没有错误信息。

看了下确实是图片跨域不对外访问的问题,可以加个图片域配置,S3域是不对外访问,并且直接访问那个图片返回的内容是
{
"error": true,
"msg": "empty access code"
}

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 23, 2024

Bot detected the issue body's language is not English, translate it automatically.


Directly request the route /api/file/xxxx.png (replace the picture with the one that has been uploaded), and then check whether there is any error message in the request log.

After looking at it, it is indeed a problem that the images are not accessible to the outside world across domains. You can add an image domain configuration. The S3 domain is not accessible to the outside world.

from chatgpt-next-web-langchain.

Hk-Gosuto avatar Hk-Gosuto commented on June 23, 2024

这个是接口鉴权的问题导致的,目前已将该接口的鉴权移除了,更新到最新的主分支代码再尝试一下。

from chatgpt-next-web-langchain.

Issues-translate-bot avatar Issues-translate-bot commented on June 23, 2024

Bot detected the issue body's language is not English, translate it automatically.


This is caused by an interface authentication problem. The authentication of this interface has been removed. Update to the latest main branch code and try again.

from chatgpt-next-web-langchain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.