-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find a matching sales channel when using storefront:hot-proxy #147
Comments
I have same problem, somebody found a way to fix that? |
Resolved it by setting my shop url (like "http://shopware.test") as a STOREFRONT_PROXY_URL instead of "http://localhost" in .env |
for anyone finding this, if your dev domain is served via |
Hi @kinglouie, may I ask if I change the
Then what should I change for the shop-1.conf:
.env:
/etc/hosts file:
|
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.
The text was updated successfully, but these errors were encountered: