Questions tagged [cloud-foundry]

Cloud Foundry is an open Platform-as-a-Service (PaaS), providing a choice of clouds, developer frameworks and application services. It is an open-source project and is available through a variety of private cloud distributions and public cloud instances, including CloudFoundry.org.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

How run the pgadmin4 docker image in the cloud foundry environment?

Our company uses the cloud foundry for the cloud services. Currently i need the docker container solution to analyse the connected databases in the cloud foundry context. I try to deploy with cf tool ...
Eduardo44's user avatar
0 votes
1 answer
28 views

How to use the java-buildpack together with the apt-buildpack?

What I am trying to accomplish I'm trying to get a Spring Boot application running on Cloud Foundry, which also need some things that need to be installed with apt. To install said things, I'm using ...
Puck's user avatar
  • 33
-1 votes
0 answers
19 views

CORS Error in module federation microfrontend approach for angular (host and remote) app when deployed on cloud foundry platform

I have created an host and remote angular app with module federation approach . The host app is build on angular 14 version while the remote app is build on angular 16 version . In local I am able to ...
user22270427's user avatar
-1 votes
0 answers
18 views

How to create automatic heap dump for JAVA 11 in case of memory increase

I need help regarding creation of automatic heap dump on JAVA 11 based applications. We updated our cloud foundry based java applications from JAVA 8 to JAVA 11 so the procedure I used to know is not ...
Strashim's user avatar
0 votes
1 answer
21 views

Getting java.io.IOException: Cannot run program "cf": error=2, No such file or directory error when I execute cf commands using java

Getting java.io.IOException: Cannot run program "cf": error=2, No such file or directory error when I execute cf commands using java code Runtime.getRuntime().exec(testCommand); in MAC. ...
vinod's user avatar
  • 1
1 vote
1 answer
43 views

Failed to compress build artifacts: exit status 2 [closed]

Error while pushing application to Cloud Foundry after the installation of packages. Type of application: Next.js
ayeshas7's user avatar
1 vote
1 answer
27 views

CF Push failed with could not find a version of dotnet-runtime to install

At global.json I'm defining my .NET SDK Version which is 6.0.302. The azure Pipeline restores, builds and publishes with this version the .NET App. TargetFramework in *.csproj is set to net6.0 this is ...
Joe's user avatar
  • 11
0 votes
1 answer
50 views

Unable to connect to Cloud Foundry Redis cups when Upgrading to Spring Boot 3.1

I am upgrading an existing Spring Boot Project from 2.6.14 to 3.1.1. After my upgrade I am no longer able to connect to Redis using my cups in Tanzu Cloud Foundry. The cups is working for both ...
Julie Dougherty's user avatar
1 vote
1 answer
27 views

How to map a route in Pivotal Cloud Foundry to a landing page

I want PCF (Pivotal Cloud Foundry) route to a landing page. I have an application called app-service, it has a landing page which can be accessed by the link localhost:8080/app-service/info. How can I ...
Sambit's user avatar
  • 7,605
0 votes
0 answers
33 views

Warning: failed to read path from javaldx terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'

I have a dash app on Cloud Foundry calling headless libreoffice like so: env = os.environ.copy() env["HOME"] = os.getcwd() env['PATH'] = '/usr/local/bin:/usr/bin:/bin:/home/vcap/deps/0/apt/...
Başak's user avatar
  • 1
0 votes
0 answers
14 views

TKGI - How to restart Bosh Director by SSH in to Bosh VM

I am using TKGI to deploy my applications on Clusters. Suddenly we lost access to our Clusters, We are successfully able to login to TKGI but when we try to get credentials for a specific cluster, by ...
sunil's user avatar
  • 177
0 votes
0 answers
12 views

Cloud Foundry docker image deployment & blue-green deployment

Is Cloud Foundry blue-green deployment and especially cf-blue-green-deploy plugin compatible with docker image deployment?
Stephan Prat's user avatar
0 votes
1 answer
27 views

Can a Cloud Foundry app talk to a service running on the Diego cell host?

Can a process running inside a Cloud Foundry app container be enabled to create a TCP connection to a port opened by a process running on the Diego Cell hosting the container? If so, are there ...
Jan's user avatar
  • 341
0 votes
1 answer
43 views

sh: 1: rimraf not found - Cloud Foundry & Node.js

I want to deploy my node.js app to CloudFoundry. Here are the initial build & dependencies scripts within my package.json: "scripts": { "build": "rimraf dist &&...
Dawienchi's user avatar
0 votes
0 answers
56 views

To update specific Item in credhub

I have a few secrets maintained in credhub service in PCF. There are many secrets associated to the application maintained in one credhub service. My question is how can we edit a single secret ...
Sanal Kumaran's user avatar
0 votes
0 answers
22 views

How to retrieve a client secret from UAA

I am using UAA as an OAuth2 provider. I created a client using /oauth/client API endpoint with a client_secret that I have forgotten. I tried the list clients API endpoint but it did not provide me ...
Ayush Ujjwal's user avatar
0 votes
1 answer
43 views

Can a Cloud Foundry app ssh to itself with key authentication?

I have a CF app that needs access to an sftp server for integration testing and I'd like to take advantage of the local container being configured to enable it to act as one. I understand it's ...
Peter Alfvin's user avatar
  • 28.6k
0 votes
1 answer
27 views

Are exported environment variables set in .profile.d scripts persistent in cloudfoundry container?

I am quite new in developing a custom buildpack. I want to set some container level environment variables. I added the export commands in a created script under /bin/supply . # setup defaults mkdir -p ...
sailhenz's user avatar
  • 1,052
0 votes
0 answers
106 views

Too many open files Error in Cloud Foundry

I have a java (tomcat / spring based) cloud multi-tenant application running on cloud foundry, which uses a cloud database. We use tomcat jdbc for connection pooling with maximum 8 connections per ...
Kumar's user avatar
  • 1,520
0 votes
0 answers
14 views

How to format properly 'X-Cf-App-Instance'?

Has someone tried to specify explicitly what instance of an application on CF should receive a request? I try to add a special header in form of 'X-Cf-App-Instance': '19eb77aa-4bbc-4e01-47a7-faac:1' ...
Anton Kolotaev's user avatar
1 vote
1 answer
101 views

Migrating Spring Cloud Connectors to java-cfenv in Cloudfoundry causes TLS failure with Rabbit-MQ service

While upgrading Spring Cloud Services from 2.4.1 to 3.5.5, we are seeing issues with the app not able to connect to Rabbit MQ service in cloud foundry. It throws the following exception:- c.r.client....
Aravind1986's user avatar
0 votes
0 answers
77 views

Buildpack Lifecycle to Docker Image in Cloudfoundry

I am trying to deploy a docker image to a cloud application that was originally created with a build pack, however I am receiving a "Docker cannot be configured for a buildpack lifecycle app"...
Adam Buckingham's user avatar
0 votes
0 answers
23 views

How to connect to in-premise LDAP or consume LDAP type destination in cloud foundry using Java

im migrating a java (jersey) api application from SAP cloud NEO to sap cloud CF (cloud foundry). in CF you need to use the connectivity service to get a jwt token and use it to authentication against ...
Asaf Magen's user avatar
0 votes
1 answer
60 views

.NET long running BackgroundService on PCF

I wanted to confirm is it OK to deploy long running BackgroundService on PCF? Because from what I know PCF is not the best option to deploy long running services, some people I have talked to say to ...
Keep Learning's user avatar
0 votes
0 answers
76 views

Trying to Hit an HTTP request on a specific instance using cloud foundry cli tool

As part of my POC ,I am trying to hit an http request in pcf using cf cli tool , Sometimes I get proper response as expected sometimes I get below error : **400 Bad Request: Requested instance ('1') ...
Abby's user avatar
  • 51
1 vote
0 answers
143 views

After upgrading to Spring Boot 3, PCF Gorouter emits different x-b3-traceid

As sleuth project is moved into the Micrometer Tracing project as of SpringBoot 3, having issue with x_b3_traceid when deploying the application to PCF. Before Springboot 3, used to get the same ...
Prince's user avatar
  • 11
0 votes
1 answer
267 views

.Net core session issue with StackExchangeRedis on multiple instances

We have a .Net core 6 project deployed to multiple instances on PCF (Pivotal cloud foundry). We use Microsoft.Extensions.Caching.StackExchangeRedis 6.0 and StackExchange.Redis 2.6.66 The problem is ...
Daisy007's user avatar
0 votes
0 answers
57 views

CORS error when Apps Manager calls cloudfoundryapplication endpoint

I have two applications with exact same CORS settings and same configuration. Enabled health and info actuators on both: management: endpoints: web: base-path: /manage exposure: ...
xbmono's user avatar
  • 2,074
0 votes
0 answers
59 views

move2kube PCF migration to EKS

Proposing to use move2kube for migration of large PCF app(s) to AWS EKS. I have tried a basic hello world it seems to logically convert without errors. Will it work, any gotchas etc that I need to be ...
Sam-T's user avatar
  • 1,857
0 votes
1 answer
52 views

Docker image can bind low port locally, but not in Cloudfoundry

I'm trying to run the dpage/pgadmin4 image in CloudFoundry. If I run the image on my machine, the server starts and listens on port 80: $ docker run -t -e "PGADMIN_DEFAULT_EMAIL=a@b.com" -e &...
Coderer's user avatar
  • 25.8k
0 votes
0 answers
10 views

What does "VCAP" mean in the environment variables VCAP_APPLICATION and VCAP_SERVICES of Cloud Foundry? [duplicate]

Cloud Foundry provides deployed applications with two environment variables VCAP_APPLICATION and VCAP_SERVICES that provide context information about the environment that the app runs in and its bound ...
Florian's user avatar
  • 4,821
0 votes
1 answer
26 views

Cloud Foundry instance suddenly deleted by itself

The other day, an instance of cloud foundry was suddenly deleted without permission. The organization and space still exist, but only the instance seems to have been deleted en masse. If you know the ...
m1ckeeeey's user avatar
0 votes
1 answer
388 views

How to calculate average of HTTP Request Latency in milliseconds in app metrics using PromQL?

My spring boot application is deployed in PCF. In PCF, there is App metrcis which show 'HTTP Request Count (per minute)', 'HTTP Request Latency in milliseconds' reports using PromQL query. And for '...
Rahul's user avatar
  • 109
0 votes
0 answers
42 views

How to run a bash command from a second terminal without closing the first one

I have the following problem. In Cloud foundry, if you want to access to a service instance you have first to create an SSH Tunnel to a host app, then from a second shell access the service. So in my ...
Ciro's user avatar
  • 41
0 votes
0 answers
43 views

PHP => reading env variables from Cloud foundry container not working using PHP

i tried bellow methods but still was not able to read the env variables in PHP code for cloud foundry $name = $_ENV['MY_APP_NAME']; $name = $_SERVER['MY_APP_NAME']; $name = getenv('MY_APP_NAME'); ...
Renukesh Deshpande's user avatar
0 votes
0 answers
31 views

laravel on cloud foundry setup - PDO problem

I am trying to put laravel on CF. I managed to push laravel onto CF. but when I tried to run artisan migrate, I am getting the error In Connection.php line 120: Class "PDO" not found I ...
dan's user avatar
  • 729
0 votes
1 answer
669 views

SAP CAP Node.JS Odata 404 error on destination service after upgrade to CDS v6

I would appreciate your help with this issue. -- Note - to get past the Spam filter, I have had to remove references through this question to "those things you send electronically over the ...
vince reynolds's user avatar
2 votes
1 answer
29 views

Pushing golang app to cloud-foundry throws error in logs

I have a go app in the main.go file which has a server. The server is running on localhost:9090. I have my manifest.yaml: applications: - name: golang-app buildpacks: - https://github.com/...
Zwen2012's user avatar
  • 3,360
1 vote
1 answer
81 views

Does cloud foundry nodejs buildpack ignore the prepare script during `npm install`?

I have a web app, nextjs, that gets deployed to Cloud Foundry through a Jenkins pipeline and using a manifest.yml. In the manifest, I'm declaring it to use a nodejs-buildpack, and set the command ...
medev21's user avatar
  • 2,469
0 votes
1 answer
115 views

IBM Cloud Code Engine: App works locally, but does not become ready in Code Engine

I have a Node.js app. It works fine when run locally and when deployed to Cloud Foundry. Now, I tried to move this app to IBM Cloud Code Engine. It builds ok, but it does not seem to become ready ...
data_henrik's user avatar
  • 16.7k
1 vote
1 answer
152 views

Spring app running on Cloud foundry failing to start due to java.lang.NoClassDefFoundError: jakarta/servlet/ServletContainerInitializer

Running into the following issue since I have added spring-boot-parent as the parent in the base pom file. There are no jakarta related dependencies in the project. Attached is the maven dependency ...
Boudhayan Dev's user avatar
0 votes
1 answer
92 views

Access Values from Cloud foundry Vcap Services for values not in JSON

How to access VCAP values for this JSON setup in VCAP. System-Provided: { "VCAP_SERVICES": { "user-provided": [ { "binding_name": null, "credentials&...
gowtham g's user avatar
0 votes
0 answers
292 views

NextJS Node Modules are large in size due to `swc` files

I'm running into an issue with NextJS node modules. In a work comp, I used create-next-app with TS. After installation, I noticed the node_module folder size is about 1.4GB; extremely high. Its got ...
medev21's user avatar
  • 2,469
0 votes
0 answers
20 views

Script for reading CloudFoundry external service credential

We are using CloudFoundry for hosting our micro services. Also, there is an external service related to SQLMX with credentials like username, password, connectionProperties, etc. Can we write a script ...
copenndthagen's user avatar
0 votes
0 answers
153 views

Spring boot application crashing on PCF (Pivotal Cloud Foundry) cloud

I have deployed my spring boot application on PCF (Pivotal Cloud Foundry) cloud and it was running fine since last many days but suddenly from last 24 hours, this application is started crashing in ...
Rahul's user avatar
  • 109
0 votes
0 answers
114 views

Application on SAP Cloud Foundry - OAuth 2.0 - Error: Something went amiss

I have been delevopping and deploying a python application for the SAP Cloud Foundry and trying to implement an authentication check using OAuth2.0. Using this Tutorial. Link to Code Note: I excluded ...
NHero's user avatar
  • 1
0 votes
0 answers
174 views

Pivotal Spring Cloud Services Dependencies v3.5.0 - 401 - Unauthorized Error - when communicating with Config Server

We recently migrated our application to Spring Boot 2.7.6 as part of this migration we also upgraded Spring Cloud Service Dependencies version to 3.5.0 (BOM) implementation platform('io.pivotal.spring....
Sabari's user avatar
  • 127
0 votes
0 answers
94 views

Keycloak.X (quarkus based) on CloudFoundry

we want to deploy keycloak.X to cloudfoundry. I found older approaches (How to deploy keycloak to cloudfoundry) with two options: wrapping it as a Spring application (see [1], but this project does ...
markus's user avatar
  • 511
0 votes
0 answers
233 views

Cloud Foundry App is showing 5GB of memory usage but heap dump shows just few MBs

I have a Spring based JAVA Web App deployed in Cloud Foundry (running on Tomcat8 and compiled on JAVA8). After couple of calls (payload size is 15MB per request) to application the memory rises to 5GB....
Kumar's user avatar
  • 1,520
1 vote
0 answers
171 views

"You are not authorized to perform the requested action cf route sharing" while setup of route sharing

I'm trying to share a route between 2 spaces to avoid downtime while moving an app from a space (originspace) into another space (otherspace). We're using SAP BTP Cloud Foundry runtime for the app I ...
Daniela Betancourt's user avatar

1
2 3 4 5
66