scope
scope copied to clipboard
Problem: can't declare Storage Service hosts in uppercase
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"}