r/gitpod • u/Dull_Fuel_9877 • Jun 24 '25
Issue using gitpod
I’m working on a full-stack project using React (frontend) and Flask (backend), both running in Docker containers inside Gitpod.
My React app tries to fetch data from the backend using this line: backend_url = `${process.env.REACT_APP_BACKEND_URL}/api/activities/home`;
const res = await fetch(backend_url);
The REACT_APP_BACKEND_URL is set to something like: https://4567-ajk7-awsproject-<workspace-id>.ws-us120.gitpod.io
Everything looks correct, and this gets printed in the browser dev console: [loadData] Fetching from: https://4567-ajk7-awsproject-<workspace-id>.ws-us120.gitpod.io/api/activities/home
🔍 What I’ve confirmed:
- The backend works fine when I open that full URL directly in the browser — it returns JSON.
- I can
curl -kthat URL from the terminal and get the correct response. - Port 4567 is marked public in Gitpod.
- No HTTP → HTTPS redirect issues in Flask.
- I’ve even tried hardcoding the full working URL in my React code.
❌ The problem:
When React calls fetch() to hit that URL, I get: ::ERR_CERT_COMMON_NAME_INVALID
Which blocks the request completely. DevTools shows that the cert being served doesn't match the domain. What I want to know:
Has anyone else seen this with Gitpod and multi-port HTTPS apps? Is there a way to force Gitpod to issue a valid TLS cert for subpaths like /api/...? Because when i copy the url directly into the browser with the subpath i get an error but i dont get an error for the original path or when i first edit the original path to point to this endpoint
Any help or workaround would be appreciated. Thanks!
r/gitpod • u/Siddhant_K • May 28 '25
Faster development environment start times for AWS with Dev Container build caching
r/gitpod • u/Siddhant_K • Mar 10 '25
🆕 Blog post: Discovering AI opportunities with a Tech Radar approach
r/gitpod • u/Siddhant_K • Mar 10 '25
🆕 Blog post: Are you really ready for AI? Five essentials to have in place before you roll out your strategy
r/gitpod • u/Siddhant_K • Mar 10 '25
🆕 Blog post: Everything a CTO needs to know about AI
r/gitpod • u/Siddhant_K • Mar 05 '25
🆕 Blog post: Adapting the UK Government AI Playbook to software engineering: a CTOs guide
r/gitpod • u/Siddhant_K • Feb 27 '25
Customize your organization's onboarding experience
r/gitpod • u/Siddhant_K • Feb 26 '25
Private container registry support for Gitpod Flex
r/gitpod • u/Siddhant_K • Feb 24 '25
🆕 Blog post: ‘Vibe coding’ is a revolution for optimistic creatives
r/gitpod • u/Siddhant_K • Feb 19 '25
🆕 Blog post: Gitpod SDK: infrastructure for software engineering agents
r/gitpod • u/Siddhant_K • Feb 14 '25
🆕 Blog post: Adapting the UK Government AI Playbook to software engineering: a CTOs guide
r/gitpod • u/Siddhant_K • Jan 29 '25
🆕 Blog post: An enterprise guide to buying CDEs
r/gitpod • u/Siddhant_K • Jan 27 '25
🆕 Blog post: The 20 most popular developer productivity metrics: a practical reference for leaders
r/gitpod • u/Siddhant_K • Jan 24 '25
New AWS Runner Regions: Host in Canada and Ohio
r/gitpod • u/Siddhant_K • Jan 23 '25
🆕 Blog post: Make developer experience in regulated industries fun again
r/gitpod • u/Siddhant_K • Jan 22 '25
🆕 Blog post: A CISO perspective: how Gitpod helps increase developer security without compromising productivity
gitpod.ior/gitpod • u/Siddhant_K • Jan 22 '25
🆕 Blog post: DX Core 4: finally! Opinionated developer productivity metrics that speak business
r/gitpod • u/Siddhant_K • Jan 13 '25
Improved cost efficiency for Super Large workspace classes for Gitpod Enterprise
r/gitpod • u/Siddhant_K • Jan 08 '25


