Open EdgeCaseLord opened 4 months ago
It looks like it's receiving an integer for the api version, while expecting a string (and then erroring because it's trying to compare a regex to an integer instead of a string) here: https://github.com/fog/fog-openstack/blob/master/lib/fog/openstack/auth/token.rb#L17
It looks like it's expecting something like "v3"
, but receiving something like 3
. Are you setting this value in the config for fog-openstack? It looked like it might be a config value, rather than something coming back from a call, but I haven't used this codebase in a very long time.
No, I'm setting this value in the Rails credentials. But yes, what you say is exactly what Copilot said. Should be an easy fix. I'll try v3, too, but I don't think that it will work
As expected, same error when using "v3".
Using my patched version, the bug is gone but I still get an authentication error. At least one step ahead ^^'
I have a rather fresh install of activestorage-openstack, which seems to build upon fog-openstack.
I've tried to upload a test jpg file to my Infomaniak s3 comp object storage, but I get this error:
It works when I use config.active_storage.service = :local but that's not the intention.
Copilot keeps telling me that I should fork your gem, rewrite it and try again.
I have already tried @chaadow's version but that has the same error
Please let me know if I can help