Rails 4 Carrierwave, Amazon S3, Fog error -


इस त्रुटि को प्राप्त करना

Excon :: त्रुटियाँ :: SocketError (getaddrinfo: नाम या सेवा ज्ञात नहीं है ( SocketError)):

नियंत्रक

  def बनाओ @gamepic = gamepic.new (gamepic_params) अगर @ gamepic.save flash [: नोटिस] = "सफलतापूर्वक बनाई गई तस्वीर।" redirect_to @ gamepic.gallery अन्य रेंडर: एक्शन = & gt; 'नया' एंड एंड   

कैरियरवाव कॉन्फ़िग

  कैरियरवाव। कॉन्फ़िग करें | कॉन्फ़िग | Config.root = Rails.root.join ('tmp') config.cache_dir = 'carrierwave' config.storage =: कोहरे config.fog_credentials = {: प्रदाता = & gt; 'एडब्ल्यूएस', # आवश्यक: aws_access_key_id = & gt; '---', # आवश्यक: aws_secret_access_key = & gt; '---, # आवश्यक: क्षेत्र = & gt; 'us-west-2', # वैकल्पिक, 'us-east-1' के लिए चूक: host = & gt; 's3.example.com', # वैकल्पिक, शून्य करने के लिए डिफ़ॉल्ट: अंत बिंदु = & gt; 'Https://s3.example.com:8080' # वैकल्पिक, defaults to nil} config.fog_directory = '---' # आवश्यक config.fog_public = false # वैकल्पिक, सही config.fog_attributes = {'कैश- नियंत्रण '= & gt; अधिकतम-आयु = 315576000'} # वैकल्पिक, {} समापन के लिए चूक   

क्षेत्र सही है और निर्देशिका भी है

कोई भी विचार क्या हो सकता है समस्या हो सकती है?

"धुंध" से स्विच करने का प्रयास करें एक्सकॉन ऐसी लाइब्रेरी है जो "धुंध" क्लाउड सेवाओं के साथ इंटरैक्ट करने के लिए आंतरिक रूप से उपयोग करती है।

उत्तर पोस्ट के अनुसार किया गया था।

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -