Network requests blocked from React Native app in Vega Studio

:backhand_index_pointing_right: Bug Description


1. Summary

I’m currently developing a React Native app using Vega Studio in VSCode. The app is still in development and has not been published yet.

When I try to make requests from my app to my backend server, the requests are blocked and I don’t receive any response. The issue happens both when using fetch or when trying to load an image directly from my server URL.

  • The app is being tested only on the virtual device provided by Vega.
  • The same API works correctly when called from a WebView inside the app.
  • Other public APIs work fine when called directly from React Native.
  • My server is reachable from the browser and from other tools.
  • The server does not log any incoming request, which means the request is likely being blocked before reaching it.
  • The console in Vega Studio only shows a generic network error without details.

App Name: N/A
App Link on Amazon Appstore N/A
Bug Severity
Select one that applies

  • Impacts operation of app
  • Blocks current development
  • Improvement suggestion
  • Issue with documentation (If selected, please share the doc link and describe the issue)
  • Other

2. Steps to Reproduce

  1. Create a new React Native project in Vega Studio.
  2. Make a simple GETfetch() request to the server.
  3. Observe that the request fails with a generic network error.
  4. Try the same call inside a WebView and confirm it works correctly.

3. Observed Behavior

Explain what actually happened, noting any discrepancies or malfunctions.

When I try to make requests from my app to my backend server, the requests are blocked and I don't receive any response. The issue happens both when using `fetch` or when trying to load an image directly from my server URL.

4. Expected Behavior

Requests to my backend server should be allowed or at least provide detailed error information to help debug the issue.

4.a Possible Root Cause & Temporary Workaround

Fill out anything you have tried. If you don’t know, N/A is acceptable

N/A

5. Logs or crash report

(Please make sure to provide relevant logs as attachment)
image

6. Environment

Please fill out the fields related to your bug below:

  • SDK Version: 0.21.4686
  • App State: Foreground
  • OS Information

NAME=“OS”
OE_VERSION=“4.0.0”
OS_MAJOR_VERSION=“1”
OS_MINOR_VERSION=“1”
RELEASE_ID=“10”
OS_VERSION=“1.1”
BRANCH_CODE=“TV Ship”
BUILD_DESC=“OS 1.1 (TV Ship/10240300)”
BUILD_FINGERPRINT=“1.0.24030.0(9a1d8dfa7da5d600)/10240300N:user/dev-keys”
BUILD_VARIANT=“user”
BUILD_TAGS=“dev-keys”
BUILD_DATE=“Thu Sep 25 10:32:58 UTC 2025”
BUILD_TIMESTAMP=“1758796378”
VERSION_NUMBER=“1002034030030”

Hi @Raul_Flores ,

Welcome to the Amazon Developer Community!

Thanks for the detailed bug report on network requests being blocked in React Native apps. We will reproduce this issue and our team will get back to you with updates.

Warm Regards,
Aishwarya

1 Like

is there any updates on this? still facing same issue

Hi @Raul_Flores and @Sofia_Lozada_Tenorio

We were able to reproduce the issue initially and from the logs it seemed to be an issue with the SSL certificate of the endpoint as that is not signed by a valid CA, hence the requests were failing.
However, later it was not reproducable any more. This seems to be a device specific issue related to URL.
Can you please check and let me know if something has been changed at the API backend?

Warm regards,
Ivy

Hi @Ivy_Mahajan,

Thanks for checking! You were right — it was indeed an issue with the SSL certificate. We’ve corrected it, and everything is now working as intended.

Really appreciate your help on this!

Best regards,
Raúl

1 Like

Thanks for letting us know @Raul_Flores .
I’m closing this topic now, if you have any further questions, do let us know !

Warm regards,
Ivy