I am trying to setup samples and facing issues.
Modified /api-platform-samples-master/tools/setup.sh
org="abc" username="yyy@xxx.com" url="http://xx.xxx.x.xxx:9000" -(url is with IP address for xx.xxx.x.xxx)
env="dev2" api_domain="xxx.com"
apigee edge uri:
& when it tries to deploy a sample proxy i see below error
Import failed to /v1/organizations/xxx/apis?action=import&name=variables with status 404:
==
Typically when I create a sample proxy and deploy the URI shows as below
http://xx.xxx.x.xxx:9002/v1/weather
Environment configruation:
Virual Hosts
Name
default
Port
9002
Alias
xx.xxx.x.xxx:9002
==
Question:
How I setup samples with the proper configurations & get it deployed.
The servers are in DMZ and not accessible outside n/w.We downloaded samples from github and trying to setup samples manually.
please advice.
-Vinay
Solved! Go to Solution.
Please ignore the post as I was using incorrect URL.Pointed to Edge management server.
Complete stack trace:
Import failed to /v1/organizations/xxx/apis?action=import&name=variables with status 404: <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <title>Apigee</title> <meta charset="${_response_encoding}"> <link rel="shortcut icon" type="image/icon" href="https://community.apigee.com/favicon.ico"> <link rel="stylesheet" media="screen" href="https://community.apigee.com/public/stylesheets/bootstrapThemeOrange.css"> <link rel="stylesheet" media="screen" href="https://community.apigee.com/public/stylesheets/accountStatic.css"> <link rel="stylesheet" media="screen" href="https://community.apigee.com/public/stylesheets/apigee404.css"> <script src="/public/javascripts/jquery-1.7.1.min.js" type="text/javascript" charset="${_response_encoding}"></script> <script src="/public/javascripts/underscore-min.js" type="text/javascript" charset="${_response_encoding}"></script> <script type="text/javascript"> window.ACCOUNT_CONFIG = { pwdMinLength: 8, pwdValidationRegex: '' }; </script> <script src="/platform/components/bootstrap/js/bootstrap-dropdown.js" type="text/javascript"></script> </head> <body> <script src="/public/javascripts/jquery-custom.js" type="text/javascript"></script> <!--[if lte IE 8]> <div style="margin-top: 40px"> <strong>Warning</strong> <![if lt IE 8]> You are using an outdated, insecure browser. <a href="http://whatbrowser.org/">Upgrade your browser</a> to access this site. <![endif]> <![if IE 8]> Apigee doesn't work well with IE 8. Please <a href="http://windows.microsoft.com/ie/"> upgrade to the latest version of Internet Explorer</a> or use a recent version of another <a href="http://browsehappy.com/">modern browser</a>. <![endif]> </div> <script type="text/javascript"> $(document).ready(function() { $('#loginContainer').hide(); }); </script> <![endif]--> <!--[if lt IE 9]> <script src="components/es5-shim/es5-shim.js" type="text/javascript"></script> <![endif]--> ; <div org="${organization}"> <div> <div> <span></span> <span><span></span></span> </div> </div> </div> <div> <div></div> <div> <h1>Oops, something went wrong!</h1> <div> <div>404</div> <div> Sorry, but the page you're looking for can't be found.<br/> Try checking the URL for errors and refresh your browser.<br/><br/> Keep getting this page? Report this to our <a href="mailto:support@apigee.com">support team</a>. </div> </div> </div> </div> <div> <div> <div> <div> <p>© <script>document.write(new Date().getFullYear());</script> Apigee Corp. All rights reserved. Version 4.15.04.00</p> </div> </div> </div> </div> <script type="text/javascript"> var _gaq = _gaq || []; </script> <script type="text/javascript"> if (window.top.frames.length !== 0) { window.top.location=self.document.location; } </script> </body> </html> If 'State: deployed', then your API Proxy is ready to be invoked. Run 'invoke.sh' bash-4.1$
Please ignore the post as I was using incorrect URL.Pointed to Edge management server.
Thanks for letting the community know.
Thank you, Vinay! I was just about to look into this. You saved me some time. Much appreciated. - Floyd
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |