• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. User Guide
  4. OBS Console Operation Guide
  5. Troubleshooting
  6. Object URL Cannot Be Opened Using a Browser

Object URL Cannot Be Opened Using a Browser

Question

Why cannot an object URL be opened using a browser?

Answer

If the Bucket Policy rules forbid the user from accessing the object or Read is not assigned to Anonymous User in the ACL of the object, the user cannot open the object URL using a browser.

If Read for an object is assigned to Anonymous User but the Bucket Policy rules forbid the user from accessing the object, the user cannot open the object URL using a browser because the priority of Bucket Policy is higher than that of the ACL.

You can solve this problem as follows: (Perform 1 to 6 to assign Read for the object to Anonymous User or perform 7 to 8 to check whether the Bucket Policy rules forbid the user from accessing the object.)

  1. Log in to OBS Console.
  2. In the bucket list, click the target bucket to go to the Summary page.
  3. In the navigation tree on the left, click Permissions to go to the permission management page.
  4. In Bucket ACL, click Edit next to Anonymous User.
  5. Select Read next to Anonymous User.
  6. Click Save.
  7. Log in to OBS Console.
  8. In the bucket list, click the target bucket to go to the Summary page. In the navigation tree on the left, choose Permissions > Bucket Policy > Advanced Setting. If there are Bucket Policy rules that forbid the user from accessing the object, delete the Bucket Policy rules and try again.