Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError (Signing key must be provided) #16

Open
KoditkarVedant opened this issue Jan 20, 2018 · 5 comments
Open

ArgumentError (Signing key must be provided) #16

KoditkarVedant opened this issue Jan 20, 2018 · 5 comments

Comments

@KoditkarVedant
Copy link

I'm having this configuration. I'm tring to use the gem with Azure Storage Emulator dev account. but I keep getting ArgumentError (Signing key must be provided) error. Please help.

has_attached_file   :upload, styles: { thumbnail: ["80x44#"] },
    storage: :azure,
    azure_credentials: {
      access_key_id: "devstoreaccount1",
      secret_access_key: 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=='
    },
    container: "cco-uploads",
    path: ":attachment/:basename:dotextension"
@jordanyaker
Copy link
Contributor

jordanyaker commented Jan 25, 2018

I haven't ever had the chance to test it with the storage emulator due to all of my Rails work heretofore being done on either Mac OS or Linux.

Can you get me a full stack trace on the error?

@abhinaykumar
Copy link

Try updating your gem to latest version: gem 'paperclip-azure', '~> 1.0', '>= 1.0.4'

@duacos
Copy link

duacos commented May 2, 2019

Hi @KoditkarVedant are you still having the same problem? let us know if something worked for you

@KoditkarVedant
Copy link
Author

KoditkarVedant commented May 10, 2019

@duacos I really appreciate your support but I am not using this gem anymore. If this issue is already been fixed in latest release you can close this

@jbanahan
Copy link

jbanahan commented Oct 6, 2021

I'm working on migrating our application from aws to azure and seeing something similar after just swapped the gems and configs around.

I think this might be some sort of permissions issue on the container, but haven't found anything.

rails_1    | I, [2021-10-06T18:20:49.025872 #1]  INFO -- : Completed 500 Internal Server Error in 141ms (ActiveRecord: 16.1ms)
rails_1    | F, [2021-10-06T18:20:49.031494 #1] FATAL -- : 
rails_1    | ArgumentError (Signing key must be provided):
rails_1    |   app/controllers/attachments_controller.rb:26:in `block in create'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants