Can I have a different port to run my app?
Ushani Balasooriya
My application is developed in a way as it starts on the port 9763 http transport
Also there is a feasibility to change the port by giving an offset to run it in a different port. My question is, in Diego container, is there a particular port where I should write my app to run? Or If i deploy it just as it is, should it be able to run on port 9763? Should I need to configure my app to start it in a different port like 8080 or 8000? If so why and what is that port? Appreciate your help |
|
Re: I need to use mysql as the database. How can I deploy mysql in to PCF? How can I find the mysql docker image
Ushani Balasooriya
Hi Ronak,
I found this. It seems like I dont need to install the mysql seperately as I can use which I find in market place. I created a service. Thanks, |
|
Re: I need to use mysql as the database. How can I deploy mysql in to PCF? How can I find the mysql docker image
Ronak Banka
Hi Ushani,
Containers on cloud foundry are ephemeral, so even if you deploy the mysql image on PCF dev, the moment container will restart you will loose all data. If I am not wrong you get a couple of services with pcfdev, you can check using "cf m" for marketplace, check this https://docs.cloudfoundry.org/devguide/services/managing-services.html Thanks Ronak ᐧ On Thu, Sep 14, 2017 at 11:10 AM, Ushani Balasooriya <ushanib(a)gmail.com> wrote: I think I can get the docker image of mysql and push it in to the pcf. How |
|
Re: I need to use mysql as the database. How can I deploy mysql in to PCF? How can I find the mysql docker image
Ushani Balasooriya
I think I can get the docker image of mysql and push it in to the pcf. How can I run a mysql script against PCF deployed mysql?
|
|
I need to use mysql as the database. How can I deploy mysql in to PCF? How can I find the mysql docker image
Ushani Balasooriya
How can I deploy mysql in to PCF? How can I find the mysql docker image. How can I know the available docker images in pcfdev environment by default. such as tomcat, mysql. eureka, etc
|
|
CF CAB call for September 2017 is next Wednesday, Sept 20th @ 8a PDT [15:00 UTC]
Michael Maximilien
Hi, all,
Quick reminder of the CAB call for September is next Wednesday, Sept 20th @ 8a PDT. All info in link [1]. Remember, no more status update but rather discussions, so come ready with your questions. Also we will have Ashish Jain of SAP giving a presentation / demo of the Service Fabrik [2] which is being submitted for Extensions. Finally, I am looking for one ~15 mins presentation for that day. Please contact me by replying here or on the slack.cloudfoundry.org #CAB channel if you have suggestions and to browse previous and future discussions. Talk to you all next week. I'll send one more reminder on this list next week. Best, dr.max ibm cloud labs sillicon valley, ca usa maximilien.org Sent from my iPhone [1] https://docs.google.com/document/d/1SCOlAquyUmNM-AQnekCOXiwhLs6gveTxAcduvDcW_xI/edit#heading=h.o44xhgvum2we [2] https://github.com/SAP/service-fabrik-broker |
|
Re: [abacus] Abacus v1.0.0 available
Michael Maximilien
Correct. Thanks for sending details Hristo. Of course, README should have
all details ;) With risk of sounding like an ad, I can confirm that on Bluemix, due to the shear amount of data we process we use the Couch-compatible Cloudant service. However, any such DB should work. If you do try something else do let us know. Best, Max On Wed, Sep 13, 2017 at 4:42 AM Hristo Iliev <hsiliev(a)gmail.com> wrote: To try Abacus out you can simply run it locally with the in-memory PouchDB:dr.max Sent from my iPhone http://maximilien.org |
|
Re: Recommendations for Service parameters
Aniruddha Kulkarni
Thank you, this looks like exactly what I was looking for.
Regards, Ani On Tue, Sep 12, 2017 at 11:08 AM, Matt McNeeney <mmcneeney(a)pivotal.io> wrote: Hi Aniruddha, -- -Ani |
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Lucas Reginato
Hi Ushani,
Please try the following: 1) Once your application is deployed, execute: a) cf create-route pcfdev-space tcp.local.pcfdev.io --random-port Creating route tcp.local.pcfdev.io for org pcfdev-org / space pcfdev-space as admin... OK Route tcp.local.pcfdev.io:61015 has been created b) cf map-route <app-name> tcp.local.pcfdev.io --port 61015 2) Access your application https://<url to the app>:61015. You should see your certificate (I am assuming you have configured one). In my example, the port allocated was 61015. But it could be a different port in your case. So please check the port that will be allocated by create-route command. Hope it helps. :) Thanks, -Lucas Reginato On Wed, Sep 13, 2017 at 2:01 PM, Ushani Balasooriya <ushanib(a)gmail.com> wrote: Log without /carbon -- Lucas Reginato |
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Ushani Balasooriya
Hi Ronak,
Im trying to deploy WSO2 IS docker image on PCF. https://github.com/wso2/docker-is/tree/release-5.3.0/dockerfile |
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Ushani Balasooriya
Log without /carbon
2017-09-13T14:59:23.865+05:30 [RTR/0] [OUT] is530.local.pcfdev.io - [2017-09-13T09:29:23.864+0000] "GET / HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0" "192.168.11.1:60056" "10.0.2.15:60055" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"57887b42-bda3-41fd-7d4d-0617df1ef8e4" response_time:0.000888627 app_id:"faf5b9d6-a48f-499e-a5f8-35286c921714" app_index:"0" 2017-09-13T15:11:31.054+05:30 [RTR/0] [OUT] is530.local.pcfdev.io - [2017-09-13T09:41:31.053+0000] "GET / HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0" "192.168.11.1:60150" "10.0.2.15:60055" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"dabe350e-e64e-47e0-5d35-b2f171f3846b" response_time:0.001140777 app_id:"faf5b9d6-a48f-499e-a5f8-35286c921714" app_index:"0" 2017-09-13T15:13:28.399+05:30 [RTR/0] [OUT] is530.local.pcfdev.io - [2017-09-13T09:43:28.397+0000] "GET / HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0" "192.168.11.1:60350" "10.0.2.15:60055" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"910e4607-6d15-41a9-5fa6-a217a2622fb6" response_time:0.001524459 app_id:"faf5b9d6-a48f-499e-a5f8-35286c921714" app_index:"0" |
|
Re: How to start my app in http and https ports?
Ushani Balasooriya
Thanks Daniel
|
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Ronak Banka
Ushani , if you have a git repo for your code and can share, it would be
very easy to debug. ᐧ On Wed, Sep 13, 2017 at 5:18 PM, Ushani Balasooriya <ushanib(a)gmail.com> wrote: Hi Ronak, |
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Ushani Balasooriya
Hi Ronak,
That is a context path of my application. But meantime I also just tried without the "/carbon" and just only with "/". But still no luck. |
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Ushani Balasooriya
Hi Lucas,
Thanks can you guide me how to enable tcp route to the app? I tried below and it failed. sudo cf map-route is5.3.0 local.pcfdev.io --port 5000 Creating route local.pcfdev.io:5000 for org pcfdev-org / space pcfdev-space as admin... FAILED Error resolving route: Server error, status code: 400, error code: 210001, message: The route is invalid: Port is supported for domains of TCP router groups only. |
|
Re: [abacus] Abacus v1.0.0 available
To try Abacus out you can simply run it locally with the in-memory PouchDB:
toggle quoted message
Show quoted text
npm run build npm start npm run demo npm stop We use a limited set of DB operations to support CouchDB 1 & 2 and MongoDB 2 & 3. You can deploy Abacus as BOSH release or as a set of applications. Therefore we allow the database to be simply an URL in Abacus applications environment or to be bound as a service. IBM use CouchDB/Cloudant with the URL approach afaik. In SAP we use custom BOSH release MongoDB and ServiceFabrik's service broker. 2017-09-13 0:27 GMT+03:00 Mike Youngstrom <youngm(a)gmail.com>: Great! I haven't attempted to use Abacus yet. Is there a |
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Ronak Banka
Hi Ushani,
From logs what I can see is that application is trying to access "/carbon" route instead of "/", which is https://is530.local.pcfdev.io/carbon how are the application routes configured? you can configure the path during cf push Thanks Ronak ᐧ On Wed, Sep 13, 2017 at 4:31 PM, Lucas Reginato <lucas.reginato(a)gmail.com> wrote: Hi Ushani, |
|
Re: I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Lucas Reginato
Hi Ushani,
I have the same experience, and this is what I found: 1) If your application uses HTTP, everything works just fine. You will access the HTTPS endpoint (provided by the Load Balancer) and you can access your app. 2) If your application uses HTTPS, you will receive a 502 (Bad Gateway) when you try to access it. This happens because the GoRouter only talks HTTP to the application. I mean, PCF Dev will provide you a HTTPS endpoint, but that is the HTTPS Load Balancer endpoint. The Load Balancer will send the HTTPS request to the GoRouter layer, and GoRouter will only talk HTTP to the application. So, if the application talks HTTPS, nahhhh, bad communication, and the request fails with a 502. I was able to enable HTTPS in my application by creating a TCP route to my application. I hope that helps. And I would like to listen what others engineers done to fix this. Thanks, -Lucas Reginato On Wed, Sep 13, 2017 at 11:58 AM, Ushani Balasooriya <ushanib(a)gmail.com> wrote: I started to access http and https bpth. But it gives me the below error -- Lucas Reginato |
|
I keep on getting 502 Bad Gateway: Registered endpoint failed to handle the request.
Ushani Balasooriya
I started to access http and https bpth. But it gives me the below error when I browse the app.
I have installed PCF dev in my local machine. This is my route: Routeshttps://is530.local.pcfdev.io 2017-09-13T15:21:45.139+05:30 [RTR/0] [OUT] is530.local.pcfdev.io - [2017-09-13T09:51:45.137+0000] "GET /carbon HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0" "192.168.11.1:60550" "10.0.2.15:60055" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"66256b25-32b9-4769-72f0-add0592e0b59" response_time:0.002344385 app_id:"faf5b9d6-a48f-499e-a5f8-35286c921714" app_index:"0" 2017-09-13T15:22:15.846+05:30 [RTR/0] [OUT] is530.local.pcfdev.io - [2017-09-13T09:52:15.845+0000] "GET /carbon HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0" "192.168.11.1:60550" "10.0.2.15:60055" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"524a30a6-8cb4-44cc-7937-96a7fcae20f5" response_time:0.000872472 app_id:"faf5b9d6-a48f-499e-a5f8-35286c921714" app_index:"0" 2017-09-13T15:22:19.309+05:30 [RTR/0] [OUT] is530.local.pcfdev.io - [2017-09-13T09:52:19.308+0000] "GET /carbon HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0" "192.168.11.1:41342" "10.0.2.15:60055" x_forwarded_for:"-" x_forwarded_proto:"http" vcap_request_id:"c32925f5-d994-4e42-606a-86b5f52159f4" response_time:0.000675021 app_id:"faf5b9d6-a48f-499e-a5f8-35286c921714" app_index:"0" 2017-09-13T15:22:25.925+05:30 [RTR/0] [OUT] is530.local.pcfdev.io - [2017-09-13T09:52:25.924+0000] "GET /carbon HTTP/1.1" 502 0 67 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0" "192.168.11.1:41342" "10.0.2.15:60055" x_forwarded_for:"-" x_forwarded_proto:"http" vcap_request_id:"183c95fe-2619-4ecb-7739-585f7763d9f1" response_time:0.000756516 app_id:"faf5b9d6-a48f-499e-a5f8-35286c921714" app_index:"0" |
|
Website Solution
amily sen <amily.sen@...>
Hi There,
This is *Amily**,* I’m an (Online Marketing Executive) We are an India base IT company. We have a good creative team to design & develop a eye catching website for your business. We are offering a great offer to get a new business website. Please let me know if you are interested so that we can provide you more details. You can give me your *Skype Id / Phone Number* to discuss more. Regards, *Amily* Online Marketing Executive |
|