Code Monkey home page Code Monkey logo

Comments (3)

alphasnow avatar alphasnow commented on May 31, 2024

@wpjscc 使用配置项 domain

from aliyun-oss-laravel.

wpjscc avatar wpjscc commented on May 31, 2024

@wpjscc 使用配置项 domain

domain 配置后貌似有问题,比如使用阿里云的cdn加速服务。

配置domain 后

"Unable to check existence for: storage/app/uploads/protected/647/c01/376/xxxxx.png" on line 19 of /xxxx/vendor/league/flysystem/src/UnableToCheckExistence.php

https://github.com/alphasnow/aliyun-oss-flysystem/blob/343c2fa98fc2af74abccdc81d01732f26b58acec/src/AliyunAdapter.php#L83

这个方法报错

    /**
     * {@inheritdoc}
     */
    public function fileExists(string $path): bool
    {
        try {
            return $this->client->doesObjectExist($this->bucket, $this->prefixer->prefixPath($path), $this->options->getOptions());
        } catch (OssException $exception) {
            throw UnableToCheckExistence::forLocation($path, $exception);
        }
    }

from aliyun-oss-laravel.

alphasnow avatar alphasnow commented on May 31, 2024

捕捉抛出异常的上一个异常查看详细信息
尝试修改"is_cname"=>true

from aliyun-oss-laravel.

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.