on 2022 Aug 16 2:53 PM
Hey guys,
I'm running SAP Commerce CX reciple 2105 on my windows machine.
Everything is working properly, but I get an error in SmartEdit while trying to open any page of the powertools site.
Error message:
Powertools.local has refused a connection.

In the console I get the following error:

What I did so far:
Request clarification before answering.
One follow up question on this, I got the same problem and as you mentioned the flag change did work but it also made the b2b site as accessible to anonymous user. How to keep b2b site locked for anonymous user and still use smartedit, is there a way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
seder001 See the issue is that powertools is a secure portal by default in new 2211 version. So, you cannot access the portal/website without login. Same behavior is happening in smartedit as well. To bypass it changing the flag of website "authentication required" to false will allow you to browse the site like an anonymous user and use it in smartedit as well, but, this will basically make the powertools site unprotected and behave like a B2C site. So, anyone can see the content without performing login.
Another workaround I found was that to use the powertools in smartedit, go to the login page first and perform a login with a storefront user. Now that the session is established with a logged-in user, you can easily move around to all the pages in smartedit. Please try this workaround and let me know if you still face issue.
Thank you for your answer saurabh.bhagwat,
The reason, why I disabled authentication and tried this approach was, that the no site was accessible in Smartedit.
I saw the loading circle and it disallowed me to click or do anything. Which drove me crazy but disabling authentication solved the issue, but now I have other problems as you mentioned.
Cheers,
Serdar
I've found a workaround on stackoverflow: https://stackoverflow.com/a/60078133
You have to login with a B2BCustomer in the "real" storefront and then it works in smartedit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found a solution:
just go to Backoffice WCMS/Websites, choose the powertools store and change the "authentification required" to false. It disables the login page which appears automatically after opening the storefront, which leads to the error message in smartedit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.