search

Home  >  Q&A  >  body text

php - laravel uses Alibaba Cloud oss ​​to upload prompts that it cannot connect

I am using
johnlui
Alibaba Cloud upload plug-in
Github address: https://github.com/johnlui/Al...

Error reported after uploading and submitting
ClientException in HttpServiceClient.php line 93:
[curl] 7: Failed to connect to chengzige.oss-cn-shanghai-internal.aliyuncs.com port 80: Timed out [url ] http://chengzige.oss-cn-shang...

伊谢尔伦伊谢尔伦2755 days ago1055

reply all(1)I'll reply

  • 迷茫

    迷茫2017-06-14 10:51:54

    Well, I just uploaded OSS to Alibaba Cloud today.
    https://help.aliyun.com/docum...

    SDK请使用 http:// 或 https:// + Endpoint 作为初始化的参数。以 华东 2 的Endpoint为例子,为http://oss-cn-shanghai.aliyuncs.com 或者 https://oss-cn-shanghai.aliyuncs.com,而不是用三级域名作为初始化参数(即不使用http://bucket.oss-cn-shanghai.aliyuncs.com作为初始化参数)

    reply
    0
  • Cancelreply