-
Notifications
You must be signed in to change notification settings - Fork 29
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 connect to Grocy #492
Comments
That's odd - are you saying that you are able to ping the Grocy server from within the Recipe Buddy container? If so I can't think of a reason you wouldn't be able to connect from one to the other... What version of Grocy are you running? |
Correct, with the sh shell in the recive buddy container, I can ping the grocy IP and port. I installed grocy as a homeassistant addon a week ago, apparrently it's running Version 4.0.3, there seems to be a newer Version available 4.2.0. |
I tried again, completely new containers, latest recipe-buddy and latest grocy 4.2.0, I tried many methods to connect the containers, network mode, host mode, all that stuff but still no success. It would be great to have more details on on where it fails in the logs |
@lionelripoll port 8123 only runs the homeassistant webui, it has nothing to do with grocy, there was an option to open a port or network for the grocy addon configuration, use that and then you can use the grocy api with the port you set there. |
I was hoping to be able to use grocy with this project but making items manually in grocy is too annoying for me so I will have to uninstall grocy, I'm willing to try it again sometime if the Software works |
I was having a similar issue, except I wasn't even getting an error on the settings page. I had get into the docker console to ping items. However, what I found MOST useful in troubleshooting was getting into Grocy's API browser, and using the API key assigned for Recipe Buddy. That allowed me to determine that the API was not being accessed by Recipe Buddy at all. Since I have Grocy running in a Grocy-specific network configuration in Docker (to let it work properly with BarcodeBuddy), RecipeBuddy needs to
The cURL command won't work directly in the Docker command line without some adjustments, but this is the cURL that finally worked: curl -X 'GET' So for "GROCY_BASE_URL", the correct setting was "grocy_internal_container_ip:80", rather than "docker_host_ip:9283". Steps for resolution:
|
I'm having a similar issue using Grocy 4.2.0 and latest RecipeBuddy image. I'm getting the "Not connected" error in the setting tab I've quickly tried @sidial01 solution / workaround but I wasn't able to get it to work, will try a little bit more focused later. |
Installed Grocy using the default instructions (but with Portainer), and it was added in a separate network in Docker. Same goes for RB. So I think it is important that the owner adds this for clarity in the doc/readme.
This is important to know. Helped me. |
I wanted to try out the Application, wanted to add a Recipe but I couldn't choose any Products, in the Settings I saw the message "Not connected to Grocy, Unable to connect to Grocy - check your URL and API key"
In Grocy at the API Keys, it says Last used is Never for my recipe-buddy api key
I can ping my Server from the container and added other Applications like Grocy Android with a differrent API Key before.
I tried a new API key and tried my nginx proxy manager domain and ip+port.
Here is my docker compose which I run in Portainer
The text was updated successfully, but these errors were encountered: