scope icon indicating copy to clipboard operation
scope copied to clipboard

Problem: can't declare Storage Service hosts in uppercase

Open jraddaoui opened this issue 5 years ago • 0 comments

The hostname gets transformed to lowercase by urlparse causing mismatches when the SS host and the SS callback Origin header are declared with any uppercase char. Error from the SS logs:

INFO      2019-08-17 10:40:15  locations.models.package:package:run_post_store_callbacks:1653:  Executing post_store_dip callback: https://scope.com/api/v1/dip/89f1f7e0-2b4c-489a-a8ce-fd0eb11eb13c/stored
ERROR     2019-08-17 10:40:15  locations.models.package:package:run_post_store_callbacks:1656:  Error in post_store_dip callback: {"detail":"SS host not configured for Origin: https:/SS.com:8000"}

jraddaoui avatar Aug 20 '19 11:08 jraddaoui