0

I have an error when running in connected mode (jss start:connected)

[HPM] Error occurred while trying to proxy request /sitecore/shell/-/jssmedia/xlbygg/data/media/img/sc_logo.ashx from localhost:3000 
to http://localhost:3043 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

But when I run with jss start it works (my graphQL stops working though).

Why is it using proxy for my images in connected mode?

  • Do you have SXA installed as well? – Mark Cassidy May 10 at 10:13
  • Not that I know of, how do I check that? – devzero May 10 at 10:43
  • Actually, this error doesn't indicate that. Looks to me like your credentials have not been setup correctly. Did you run jss setup? – Mark Cassidy May 10 at 10:49
  • Yes, and everything seems to be working but, jss start (graphql not working), jss start:connected (images not working) and going directly on sitecore (dev.xlbygg.no) (graphql not working) all give different results – devzero May 10 at 10:53
3

This error happens when you run jss start:connected and it opens a tab in the same browser that you've used to log into the Sitecore instance. If you open a new incognito browser and go to http://localhost:3000/ then you connected app should open fine, with images, and without errors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.