के बाद उदाहरण और एक PHP आवेदन तैयार करने और एडब्ल्यूएस लचीला बीनस्टॉक साथ चल रहा है और त्रुटियों प्राप्त करने के लिए ट्यूटोरियल जब मैं पुश करने के लिए प्रयास करें:एडब्ल्यूएस लचीला बीनस्टॉक [रिमोट को अस्वीकार कर दिया] (हुक से इनकार कर दिया)
git aws.push
remote:
remote: error: Internal Error
remote:
To https://MYKEY:20120830T11331124[email protected]git.elasticbeanstalk.us-east-1.amazonaws.com/repos/4d7920466972737420256c6173746963204265616e7374616c6b204170706c69636174696f6e20456e7669726f6e6d656e6463/philsturgeon
! [remote rejected] HEAD -> master (hook declined)
error: failed to push some refs to 'https://MYKEY:20120830T11331124[email protected]git.elasticbeanstalk.us-east-1.amazonaws.com/repos/4d7920466972737420256c6173746963204265616e7374616c6b204170706c69636174696f6e20456e7669726f6e6d656e6463/philsturgeon'
कारण क्या है इस का? Google को कोई विचार नहीं लगता है। मैं मूल रूप से यह सोचता था कि मेरे होस्ट से मेल नहीं खा रहा है, दूसरी बार जब आप aws.config चलाते हैं तो यह होस्ट के लिए नहीं पूछेगा, लेकिन मैन्युअल रूप से .git/config
में कॉन्फ़िगरेशन को बदलने के बाद भी यह वही त्रुटि दे रहा है।
[aws "endpoint"]
us-east-1 = git.elasticbeanstalk.us-east-1.amazonaws.com
ap-northeast-1 = git.elasticbeanstalk.ap-northeast-1.amazonaws.com
eu-west-1 = git.elasticbeanstalk.eu-west-1.amazonaws.com
us-west-1 = git.elasticbeanstalk.us-west-1.amazonaws.com
us-west-2 = git.elasticbeanstalk.us-west-2.amazonaws.com
[alias "aws"]
push = !git aws.elasticbeanstalk.push [email protected]
config = !git aws.elasticbeanstalk.config [email protected]
[aws]
accesskey = MYKEY
secretkey = MYSECRET
region = us-east-1
[aws "elasticbeanstalk"]
host = git.elasticbeanstalk.us-east-1.amazonaws.com
application = My First Elastic Beanstalk Application
environment = philsturgeon
इस config सही होना चाहिए:
तो, क्या हो रहा है यहाँ?
मैं अपना पहला एप्लिकेशन प्राप्त करने के लिए संघर्ष कर रहा हूं, मेरे पास निश्चित रूप से 49 9 अन्य एप्लिकेशन नहीं हैं। –
@ फिलस्टर्जन और अन्य लोग यहां Google द्वारा भेजे गए (जैसे मेरे)। अनुप्रयोगों, वातावरण, और अनुप्रयोग संस्करणों के बीच एक अंतर है। हर बार जब आप एक नया ** संस्करण ** बनाते हैं, तो आप बहुत अधिक धक्का देते हैं तो 500 तक पहुंच सकते हैं। एक सहकर्मी को फिल ने देखा (इस प्रश्न में), लेकिन मुझे एक अन्य प्रश्न में उल्लेख किया गया है (http://stackoverflow.com/questions/9589531/how-to-avoid-a-toomanyapplicationversion-exception-on -aws लोचदार-बीनस्टॉक)। सबसे अच्छा समाधान पुराने संस्करणों को हटाने के लिए है (मान लीजिए कि आपकी त्रुटि वास्तव में कुछ अलग नहीं है।) –
मुझे विश्वास है कि त्रुटि कुछ अलग हो। यह त्रुटि एक नए नए सेटअप से लगातार हो रही थी, लगातार, हर बार, बड़े अंतराल (घंटों या दिन) के साथ, बदसूरत चीज फिर से काम करने के प्रयासों के बीच। –