You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
world.openfoodfacts.net produces a 502 Bad Gateway error. Using world.openfoodfacts.org works.
curl -X GET "https://world.openfoodfacts.net/api/v2/search?brands_tags=lu&page=24&page_size=24" \
-H 'accept: application/json'
It seems this is redirected to proxy1.openfoodfacts.org:
world.openfoodfacts.net canonical name = proxy1.openfoodfacts.org.
Querying proxy1.openfoodfacts.org directly gives the following error:
curl: (60) SSL: no alternative certificate subject name matches target host name 'proxy1.openfoodfacts.org'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Steps to reproduce the behavior
Make a curl request on world.openfoodfacts.net.
Expected behavior
Not getting a 502 error.
Type of device
REST-API
The text was updated successfully, but these errors were encountered:
What
In documentation : https://openfoodfacts.github.io/openfoodfacts-server/api/ref-v2/#get-/api/v2/search
world.openfoodfacts.net
produces a 502 Bad Gateway error. Usingworld.openfoodfacts.org
works.It seems this is redirected to
proxy1.openfoodfacts.org
:Querying
proxy1.openfoodfacts.org
directly gives the following error:Steps to reproduce the behavior
world.openfoodfacts.net
.Expected behavior
Not getting a 502 error.
Type of device
The text was updated successfully, but these errors were encountered: