R
Railway17mo ago
samismx

This request has been blocked; the content must be served over HTTPS.

Hi, I'm trying to get my front end service to make an API call to my back end service via private networking. So I'm trying to make an API call to my back end service and I'm getting this error:
Mixed Content: The page at 'https://halbert-preview-6d1b.up.railway.app/' was loaded over HTTPS, but requested an insecure resource 'http://halbert-service/v1/letters'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://halbert-preview-6d1b.up.railway.app/' was loaded over HTTPS, but requested an insecure resource 'http://halbert-service/v1/letters'. This request has been blocked; the content must be served over HTTPS.
If my back end service doesn't need to be exposed w/ a public/custom domain and lives in a private network only my front end has access to, does the back end need to be secured with SSL? If so, how do I do it w/o publicly exposing with a domain name?
2 Replies
Percy
Percy17mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy17mo ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server