How to push the Flask python web application into Pivotal cloud foundry using the private channels to set the...











up vote
0
down vote

favorite












When i try to do use the public channel to push the web app to PCF, it is working.
But when it try to change the channel link to my organization private repository i am able yo push the app to PCF but the issue when trying to view the route is 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist.



Is there any format to be maintained for specifying the private repository channels.



Below is my environment.yml and manifest.yml file which is working for public channel:



environment.yml



name: example-environment

dependencies:

- python=3.5.6
- numpy=1.14.0
- scipy=1.0.0
- pandas=0.22.0
- flask=0.12.2

channels:

- https://repo.continuum.io/pkgs/main
- nodefaults


manifest.yml



--
applications:
- name: conda-test10
memory: 1g
disk_quota: 2GB
buildpack: python_buildpack
env:
CONDA_SSL_VERIFY: /etc/ssl/certs/ca-certificates.crt









share|improve this question
























  • You need to include more details. What happens when you try to push your app using your internal channels? Include specific error messages and relevant log output. Please also keep in mind that Pivotal Web Services (I see you're using the cfapps.io domain) is on the public Internet, so any Conda repos you use will need to be accessible from the public Internet. If they are "internal", this may require opening firewall rules or other network changes.
    – Daniel Mikusa
    Nov 11 at 17:58












  • Thanks for the response. When I try to push the app using private channel, I am able to push the app and also it creates a route. But when i try to access the route, I am getting 404 route not found error. I think bcoz of public domain I used, the route is not mapped to my app which is trying to use private conda repository
    – Karthi Keyan
    Nov 11 at 18:03












  • If you get 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist then your app is not running. This message comes from the Gorouter and is saying that it does not know of any app associated with the route requested.
    – Daniel Mikusa
    Nov 11 at 18:18










  • But even when I get 404 route not found error, I could see that the app is in started status also route get created once it is pushed to PCF. So my guess is to change the domain and try to push the app and the map the route to the respective app. Please correct me if my understanding is wrong. Thanks again
    – Karthi Keyan
    Nov 11 at 18:23












  • The 404 means that route is not mapped to an app or the app it's mapped to is not running, so yes if your app is running it could be that you haven't mapped a route or the route mapped is not what you're trying to access. I'm just guessing though. The bottom line is you need to post more details, like the output from cf push, before anyone can really help.
    – Daniel Mikusa
    Nov 12 at 12:05















up vote
0
down vote

favorite












When i try to do use the public channel to push the web app to PCF, it is working.
But when it try to change the channel link to my organization private repository i am able yo push the app to PCF but the issue when trying to view the route is 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist.



Is there any format to be maintained for specifying the private repository channels.



Below is my environment.yml and manifest.yml file which is working for public channel:



environment.yml



name: example-environment

dependencies:

- python=3.5.6
- numpy=1.14.0
- scipy=1.0.0
- pandas=0.22.0
- flask=0.12.2

channels:

- https://repo.continuum.io/pkgs/main
- nodefaults


manifest.yml



--
applications:
- name: conda-test10
memory: 1g
disk_quota: 2GB
buildpack: python_buildpack
env:
CONDA_SSL_VERIFY: /etc/ssl/certs/ca-certificates.crt









share|improve this question
























  • You need to include more details. What happens when you try to push your app using your internal channels? Include specific error messages and relevant log output. Please also keep in mind that Pivotal Web Services (I see you're using the cfapps.io domain) is on the public Internet, so any Conda repos you use will need to be accessible from the public Internet. If they are "internal", this may require opening firewall rules or other network changes.
    – Daniel Mikusa
    Nov 11 at 17:58












  • Thanks for the response. When I try to push the app using private channel, I am able to push the app and also it creates a route. But when i try to access the route, I am getting 404 route not found error. I think bcoz of public domain I used, the route is not mapped to my app which is trying to use private conda repository
    – Karthi Keyan
    Nov 11 at 18:03












  • If you get 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist then your app is not running. This message comes from the Gorouter and is saying that it does not know of any app associated with the route requested.
    – Daniel Mikusa
    Nov 11 at 18:18










  • But even when I get 404 route not found error, I could see that the app is in started status also route get created once it is pushed to PCF. So my guess is to change the domain and try to push the app and the map the route to the respective app. Please correct me if my understanding is wrong. Thanks again
    – Karthi Keyan
    Nov 11 at 18:23












  • The 404 means that route is not mapped to an app or the app it's mapped to is not running, so yes if your app is running it could be that you haven't mapped a route or the route mapped is not what you're trying to access. I'm just guessing though. The bottom line is you need to post more details, like the output from cf push, before anyone can really help.
    – Daniel Mikusa
    Nov 12 at 12:05













up vote
0
down vote

favorite









up vote
0
down vote

favorite











When i try to do use the public channel to push the web app to PCF, it is working.
But when it try to change the channel link to my organization private repository i am able yo push the app to PCF but the issue when trying to view the route is 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist.



Is there any format to be maintained for specifying the private repository channels.



Below is my environment.yml and manifest.yml file which is working for public channel:



environment.yml



name: example-environment

dependencies:

- python=3.5.6
- numpy=1.14.0
- scipy=1.0.0
- pandas=0.22.0
- flask=0.12.2

channels:

- https://repo.continuum.io/pkgs/main
- nodefaults


manifest.yml



--
applications:
- name: conda-test10
memory: 1g
disk_quota: 2GB
buildpack: python_buildpack
env:
CONDA_SSL_VERIFY: /etc/ssl/certs/ca-certificates.crt









share|improve this question















When i try to do use the public channel to push the web app to PCF, it is working.
But when it try to change the channel link to my organization private repository i am able yo push the app to PCF but the issue when trying to view the route is 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist.



Is there any format to be maintained for specifying the private repository channels.



Below is my environment.yml and manifest.yml file which is working for public channel:



environment.yml



name: example-environment

dependencies:

- python=3.5.6
- numpy=1.14.0
- scipy=1.0.0
- pandas=0.22.0
- flask=0.12.2

channels:

- https://repo.continuum.io/pkgs/main
- nodefaults


manifest.yml



--
applications:
- name: conda-test10
memory: 1g
disk_quota: 2GB
buildpack: python_buildpack
env:
CONDA_SSL_VERIFY: /etc/ssl/certs/ca-certificates.crt






python flask cloudfoundry pivotal-cloud-foundry






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 at 17:54









Daniel Mikusa

5,2011813




5,2011813










asked Nov 10 at 2:22









Karthi Keyan

61




61












  • You need to include more details. What happens when you try to push your app using your internal channels? Include specific error messages and relevant log output. Please also keep in mind that Pivotal Web Services (I see you're using the cfapps.io domain) is on the public Internet, so any Conda repos you use will need to be accessible from the public Internet. If they are "internal", this may require opening firewall rules or other network changes.
    – Daniel Mikusa
    Nov 11 at 17:58












  • Thanks for the response. When I try to push the app using private channel, I am able to push the app and also it creates a route. But when i try to access the route, I am getting 404 route not found error. I think bcoz of public domain I used, the route is not mapped to my app which is trying to use private conda repository
    – Karthi Keyan
    Nov 11 at 18:03












  • If you get 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist then your app is not running. This message comes from the Gorouter and is saying that it does not know of any app associated with the route requested.
    – Daniel Mikusa
    Nov 11 at 18:18










  • But even when I get 404 route not found error, I could see that the app is in started status also route get created once it is pushed to PCF. So my guess is to change the domain and try to push the app and the map the route to the respective app. Please correct me if my understanding is wrong. Thanks again
    – Karthi Keyan
    Nov 11 at 18:23












  • The 404 means that route is not mapped to an app or the app it's mapped to is not running, so yes if your app is running it could be that you haven't mapped a route or the route mapped is not what you're trying to access. I'm just guessing though. The bottom line is you need to post more details, like the output from cf push, before anyone can really help.
    – Daniel Mikusa
    Nov 12 at 12:05


















  • You need to include more details. What happens when you try to push your app using your internal channels? Include specific error messages and relevant log output. Please also keep in mind that Pivotal Web Services (I see you're using the cfapps.io domain) is on the public Internet, so any Conda repos you use will need to be accessible from the public Internet. If they are "internal", this may require opening firewall rules or other network changes.
    – Daniel Mikusa
    Nov 11 at 17:58












  • Thanks for the response. When I try to push the app using private channel, I am able to push the app and also it creates a route. But when i try to access the route, I am getting 404 route not found error. I think bcoz of public domain I used, the route is not mapped to my app which is trying to use private conda repository
    – Karthi Keyan
    Nov 11 at 18:03












  • If you get 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist then your app is not running. This message comes from the Gorouter and is saying that it does not know of any app associated with the route requested.
    – Daniel Mikusa
    Nov 11 at 18:18










  • But even when I get 404 route not found error, I could see that the app is in started status also route get created once it is pushed to PCF. So my guess is to change the domain and try to push the app and the map the route to the respective app. Please correct me if my understanding is wrong. Thanks again
    – Karthi Keyan
    Nov 11 at 18:23












  • The 404 means that route is not mapped to an app or the app it's mapped to is not running, so yes if your app is running it could be that you haven't mapped a route or the route mapped is not what you're trying to access. I'm just guessing though. The bottom line is you need to post more details, like the output from cf push, before anyone can really help.
    – Daniel Mikusa
    Nov 12 at 12:05
















You need to include more details. What happens when you try to push your app using your internal channels? Include specific error messages and relevant log output. Please also keep in mind that Pivotal Web Services (I see you're using the cfapps.io domain) is on the public Internet, so any Conda repos you use will need to be accessible from the public Internet. If they are "internal", this may require opening firewall rules or other network changes.
– Daniel Mikusa
Nov 11 at 17:58






You need to include more details. What happens when you try to push your app using your internal channels? Include specific error messages and relevant log output. Please also keep in mind that Pivotal Web Services (I see you're using the cfapps.io domain) is on the public Internet, so any Conda repos you use will need to be accessible from the public Internet. If they are "internal", this may require opening firewall rules or other network changes.
– Daniel Mikusa
Nov 11 at 17:58














Thanks for the response. When I try to push the app using private channel, I am able to push the app and also it creates a route. But when i try to access the route, I am getting 404 route not found error. I think bcoz of public domain I used, the route is not mapped to my app which is trying to use private conda repository
– Karthi Keyan
Nov 11 at 18:03






Thanks for the response. When I try to push the app using private channel, I am able to push the app and also it creates a route. But when i try to access the route, I am getting 404 route not found error. I think bcoz of public domain I used, the route is not mapped to my app which is trying to use private conda repository
– Karthi Keyan
Nov 11 at 18:03














If you get 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist then your app is not running. This message comes from the Gorouter and is saying that it does not know of any app associated with the route requested.
– Daniel Mikusa
Nov 11 at 18:18




If you get 404 Not Found: Requested route ('conda-test1.cfapps.io') does not exist then your app is not running. This message comes from the Gorouter and is saying that it does not know of any app associated with the route requested.
– Daniel Mikusa
Nov 11 at 18:18












But even when I get 404 route not found error, I could see that the app is in started status also route get created once it is pushed to PCF. So my guess is to change the domain and try to push the app and the map the route to the respective app. Please correct me if my understanding is wrong. Thanks again
– Karthi Keyan
Nov 11 at 18:23






But even when I get 404 route not found error, I could see that the app is in started status also route get created once it is pushed to PCF. So my guess is to change the domain and try to push the app and the map the route to the respective app. Please correct me if my understanding is wrong. Thanks again
– Karthi Keyan
Nov 11 at 18:23














The 404 means that route is not mapped to an app or the app it's mapped to is not running, so yes if your app is running it could be that you haven't mapped a route or the route mapped is not what you're trying to access. I'm just guessing though. The bottom line is you need to post more details, like the output from cf push, before anyone can really help.
– Daniel Mikusa
Nov 12 at 12:05




The 404 means that route is not mapped to an app or the app it's mapped to is not running, so yes if your app is running it could be that you haven't mapped a route or the route mapped is not what you're trying to access. I'm just guessing though. The bottom line is you need to post more details, like the output from cf push, before anyone can really help.
– Daniel Mikusa
Nov 12 at 12:05

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53235501%2fhow-to-push-the-flask-python-web-application-into-pivotal-cloud-foundry-using-th%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53235501%2fhow-to-push-the-flask-python-web-application-into-pivotal-cloud-foundry-using-th%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Guess what letter conforming each word

Port of Spain

Run scheduled task as local user group (not BUILTIN)