Openstack swift don't support http url

hi, I’m using QNAP as backup dest. QNAP have a QuObject can provide S3 and openstack swift service. It can change between http and https.
if I use swift without https, seemed duplicacy auto add a https befroe the swift URL and cause error below:

Failed to load the OpenStack Swift storage at swift://api key@qnap-url/auth/v1.0/yangbo: Get https://qnap-url/auth/v1.0: http: server gave HTTP response to HTTPS client

is this normal?

1 Like

You can force http connections by adding the protocol argument:

swift://user@auth_url/container/path?protocol=http

This is undocumented, but according to the following code it should work:

thanks, It worked OK, just add that.

I just added to the Guide:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.