menu

Saleor Commerce

The world’s fastest growing open-source e-commerce platform with billions of dollars transacted. Powered by Python, GraphQL, ReactJS and PWA.

Channels
# All channels
view-forward
# General
view-forward
# Announcements
view-forward
# Design
view-forward
# Development
view-forward
# Saleor 3.0
view-forward
# Saleor Features
view-forward
Team

Network error: Failed to fetch

March 20, 2020 at 5:06am

Network error: Failed to fetch

March 20, 2020 at 5:06am
I setup saleor storefront with the API_URI for my saleor GraphQL API, but I get this error Network error: Failed to fetch and a blank screen
Screen Shot 2020-03-20 at 1.03.17 AM.png

March 20, 2020 at 6:18am
That means storefront cannot fetch graphql requests. You can see in browser dev console (network tab) where is it trying to fetch it from and why it fails.
  • reply
  • like

March 20, 2020 at 4:13pm
Thanks . It fails because of this error blocked:mixed content. My storefront is served over HTTPS. However, my Saleor GraphQL is served over HTTP. A quick search on stackoverflow, shows that web browsers will block content from HTTP.
Edited
  • reply
  • like

July 14, 2020 at 3:37pm
was your issue been solved? If yes, how could you fix it? Thank you
  • reply
  • like