Closed mtoepfl closed 1 year ago
@mtoepfl You can use the convenience backend provided in the Makefile
make start-backend-docker
That one liner you are using is old, we need to do a full pass in the docs to fix things.
Then, regarding the connection problem, check this out: https://github.com/plone/volto/issues/5168
We still haven't pinpoint why it does happen apparently randomly to some people (MacOS, linux, etc... eg. it didn't happened to me yet).
Hope this helps.
BTW, remember that I have https://github.com/plone/volto/pull/4949 ongoing...
Thank you, for your very fast response. Why I`m not suprised ;-).
Thank you for clarification. Something we can work on next days. I will try, but just found out:
Seems to be only when the response is server-rendered. If I click to to search-icon in the upper right, this works and then back to the Plone-icon the front-page works like a charm too. If I reload the page the connection error appears again.
Then, regarding the connection problem, check this out: #5168
Sorry for not finding this myself. Thought this might be a quite new issue and only looked at the last 10 issues.
We still haven't pinpoint why it does happen apparently randomly to some people (MacOS, linux, etc... eg. it didn't happened to me yet).
As I said above. It only appears in server-side rendering. I`m on node 18 on Fedora Linux.
BTW, remember that I have #4949 ongoing...
Ok thanks. I try to rebase on the registryinownpackage branch. @sneridagh
Describe the bug Volto 17 is unable to connect to backend
First of all, what I want to say, is: thank you! I tried out the very fresh Volto 17 release and everything is very smooth and looks very polished!
I was only hit by a small issue just before reaching the target, when I wanted to perpare for the trainings and sprints.
I know you are very busy now just before the conference, but do you have a quick tip for me? @sneridagh
To Reproduce
For starting the backend I used the examples found here
https://6.docs.plone.org/volto/getting-started/install.html#run-a-volto-ready-plone-docker-container
raises folling error:
so I replaced version-pins with >=:
This works fine. Backend is up and running:
http://localhost:8080/Plone/prefs_install_products_form
shows plone.restapi and plone.volto as activated, but if I access http://localhost:3000 Volto shows following message:
But http://localhost:3000/++api++ responses JSON:
Seems to be fine. Isn`t it?
To install volto I cloned the repository:
nodejs shows:
In the browsers network-tab in dev-tools, I do NOT see any requests to: http://localhost:3000/++api++ And no messages in console.
Expected behavior
Volto is able to connect to backend.
Software (please complete the following information):