3,278 questions
0
votes
1
answer
79
views
http 404 when switching to a different proxy
Context: I have a Cloudfoundry app running on Ruby 3.0. I'm using a forward proxy to access an external API and that proxy is going away soon so I have to switch to a new service.
Problem: When I ...
0
votes
0
answers
24
views
When scaling down a cloud foundry app, (how) can I specify which instances should be terminated?
I'm running a cloud foundry app with multiple instances, that I usually scale manually. The app processes fairly large tasks, one task can take between a few minutes to a few hours.
Now, when I need ...
0
votes
1
answer
92
views
How to serve static files on CloudFoundry?
I have a svelte project that basically is a database of links to internal or external files represented visually as a table. Nothing uber-fancy.
So, I've read in other post on StackOverflow that I ...
0
votes
0
answers
55
views
How to override start CMD of Docker Image on Cloud Foundry?
I am trying to deploy the standard OTel Collector Contrib Docker image to Cloud Foundry.
Following OTel's documentation of how to configure the collector I am trying to inject the OTel collector's ...
1
vote
0
answers
45
views
Change Backend URL based on Deployment Space in React UI - MTA
We are using React for our UI project and backend is in Spring Boot.
We are trying to deploy our application in canary landscape in 4 different cf spaces, say, dev, test, e2e, and demo.
We are using ...
1
vote
2
answers
360
views
Chrome crashes without any errors when I open a web page made with web components
Chrome crashes when I open a webpage written with Web Components.
It started happening with version 128.0.6613.113. I have the latest version installed:
128.0.6613.120, even with this version chrome ...
0
votes
1
answer
45
views
Hazelcast data sync with cloud foundary pools
I have one application running in two cloud foundary servers. I have hazelcast in-memory caching enabled for these two pools. The nodes are not in sync so one node has updated data but the other has ...
0
votes
1
answer
44
views
Is it possible to download the existing buildpacks filename ".zip" from cloud Foundry to my local machine?
We have API for Get a Buildpack, but I cant find download option here
Content-Type: application/json
{
"guid": "fd35633f-5c5c-4e4e-a5a9-0722c970a9d2",
"created_at&...
2
votes
1
answer
816
views
Why changing just the `sap.app/id` in the manifest.json causes app to crash?
I have a SAP CAP Full Stack app. I also have some custom UI5 code - XML Views and JS controllers.
Everything is working fine, but if I just change the sap.app/id section in the manifest.json file (...
1
vote
0
answers
251
views
How to call a python API protected by XSUAA?
I followed the following tutorial ( https://developers.sap.com/tutorials/btp-cf-buildpacks-python-create.html ). When I just call the backend via a browser it just works.
I modified the backend so ...
0
votes
1
answer
203
views
Cloud Foundry Java Client in Springboot: login through /oauth/token fails
I have a spring boot project which interacts with Cloud Foundry
I have the following code:
CloudFoundryController.java:
package com.backend
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
...
0
votes
1
answer
287
views
Cloud Foundry : Java Build Pack : Opentelemtry Javagent extension integration with jar from a repo
With the newly added ability on Java build pack to support monitoring using Opentelemetry javaagent is nice. We have written extensions to this javagent for monitoring our custom libraries - we can ...
0
votes
2
answers
357
views
Trying to update Spring Cloud Dataflow v2.9.4 to 2.11.2 on Pivotal CloudFoundry but getting errors during deployment
I am trying to update our instance of Spring Cloud DataFlow from 2.9.4 to 2.11.2 but I'm getting errors during deployment to our PCF (Pivotal CloudFoundry) environment. I am totally unsure about what ...
0
votes
1
answer
189
views
Cloudfoundry Laravel "Could not open input file: artisan"
I am trying to push a Laravel application with the CF CLI.
I created a new Laravel application, a manifest.yml and tried to deploy it but got the error "Could not open input file: artisan".
...
0
votes
1
answer
223
views
ERR: Error LinekageError occured while cf push?
I'm trying to create a maven java project with spring boot and deploy it to SAP BTP.
the generated project from spring boot version is 3.2.1 and i have checked the java version is 17 as shown below.
...
0
votes
0
answers
22
views
Cloud Foundry - can we auto scale app based on number of concurrent users
Cloud Foundry - can we auto scale app based on number of concurrent users
e.g would this be a custom metric and how does this work ?
0
votes
1
answer
286
views
Hazelcast instances not connecting to Master over TCP
I'm using Hazelcast (v5.2.1) in embedded mode, within my Spring Boot application, with a TCP IP configuration, I'm experiencing an intermittent issue where new instances will not attempt to connect to ...
-2
votes
1
answer
2k
views
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action
I am trying to deploy a Flask hello world application on Cloud Foundry using GitHub Actions. I am getting below error while running main.yml file:
Can't find 'action.yml', 'action.yaml' or 'Dockerfile'...
0
votes
1
answer
405
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 ...
1
vote
1
answer
338
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
0
votes
1
answer
286
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 ...
0
votes
1
answer
139
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 ...
1
vote
1
answer
805
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 ...
0
votes
1
answer
252
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 ...
1
vote
1
answer
516
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....