Unable to find a matching sales channel when using storefront:hot-proxy

derweili created this issue on 2021-02-26 · The issue is replied 0 times

I installed the dev template as described in the docs, which worked well. My dev install is fully functional on the local storefront-dev.test URL.

I then created a new theme and called ./psh.phar storefront:hot-proxy

When trying to access proxy URL under http://localhost:9998/ I get following error:

Unable to find a matching sales channel for the request: http://shopware-dev.test:9998/". Please make sure the domain mapping is correct.

I then tried to add the http://localhost:9998/ as an additional domain to the sales channel but this is not possible because the port is always striped out from the URL field.

I also tried to set {% set isHMRMode = true %} in the base.html.twig template as described in many help forums but no success.

What am I doing wrong?

I'm using laravel valet as the dev environment.

More Details About Repo
Owner Name shopware
Repo Name development
Full Name shopware/development
Language PHP
Created Date 2018-05-03
Updated Date 2021-11-05
Star Count 181
Watcher Count 41
Fork Count 159
Issue Count 14

YOU MAY BE INTERESTED

Issue Title State Comments Created Date Updated Date Closed Date
Unable to install on Oracle Linux open 0 2019-06-27 2021-10-30 -
multiple headers open 3 2021-07-13 2021-11-25 -
-r flag in authenticate open 0 2021-09-24 2021-10-17 -
Yalc assumes npm workflow closed 0 2019-07-11 2021-10-15 2021-02-06
Add support for anchor links open 7 2020-10-27 2021-11-05 -
bug: Federation _entities field/entity fetchers do not catch failed CompletionStage properly closed 2 2021-11-08 2021-11-16 2021-11-11
Outline support? Like the one in MarkdownX closed 4 2021-06-22 2021-11-14 2021-07-08
Possibility of backporting Buffer fix to 5.x closed 3 2021-10-14 2021-11-12 2021-10-14
Совместимость сборки с jitpack.io closed 2 2019-11-08 2021-11-01 2021-01-22
Incorrect ribbon CSS (container, side right) open 0 2021-08-04 2021-11-16 -