alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.52k stars 214 forks source link

🐛 [Mealie] iOS Shortcuts Broken #1610

Open broyuken opened 3 days ago

broyuken commented 3 days ago

Description

Ever since upgrading the addon to the current version, my iOS shortcuts don't work. They bring me to a 404 page, and in the logs I see a 405 error code, Method Not Allowed.

Reproduction steps

Import iOS shortcut, fill out api key and gemini key and url, click import from a picture, scan a url or any option, and it fails. This used to work prior to upgrading.

Addon Logs

INFO     2024-10-15T16:42:53 - [127.0.0.1:43254] 200 OK "GET /api/app/about HTTP/1.1"
DEBUG    2024-10-15T16:42:53 - Running minutely callbacks
DEBUG    2024-10-15T16:42:53 - Language set to en
INFO     2024-10-15T16:43:01 - [10.0.86.111:0] 405 Method Not Allowed "POST /api/recipes/create-url HTTP/1.1"
[15/Oct/2024:16:43:01 -0400] 405 10.0.86.111(172.30.32.1) POST /api/recipes/create-url HTTP/1.1 (BackgroundShortcutRunner/3036.0.7 CFNetwork/1568.100.1.2.1 Darwin/24.0.0)
INFO     2024-10-15T16:43:02 - [10.0.86.111:0] 200 OK "GET /api/users/self HTTP/1.1"
[15/Oct/2024:16:43:02 -0400] 200 10.0.86.111(172.30.32.1) GET /api/users/self HTTP/1.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.37 Mobile/15E148 Safari/604.1)
INFO     2024-10-15T16:43:24 - [127.0.0.1:55416] 200 OK "GET /api/app/about HTTP/1.1"
INFO     2024-10-15T16:43:41 - [10.0.86.138:0] 200 OK "GET /api/households/shopping/lists?perPage=-1 HTTP/1.1"
[15/Oct/2024:16:43:41 -0400] 200 10.0.86.138(172.30.32.1) GET /api/households/shopping/lists?perPage=-1 HTTP/1.1 (AioMealie/0.9.3)
INFO     2024-10-15T16:43:41 - [10.0.86.138:0] 200 OK "GET /api/households/shopping/items?queryFilter=shoppingListId%3D35965614-616a-41ce-8ac0-17f65fa7fdb6&orderBy=position&orderDirection=asc&perPage=-1 HTTP/1.1"
[15/Oct/2024:16:43:41 -0400] 200 10.0.86.138(172.30.32.1) GET /api/households/shopping/items?queryFilter=shoppingListId%3D35965614-616a-41ce-8ac0-17f65fa7fdb6&orderBy=position&orderDirection=asc&perPage=-1 HTTP/1.1 (AioMealie/0.9.3)
INFO     2024-10-15T16:43:54 - [127.0.0.1:43292] 200 OK "GET /api/app/about HTTP/1.1"
INFO     2024-10-15T16:44:24 - [127.0.0.1:58488] 200 OK "GET /api/app/about HTTP/1.1"
INFO     2024-10-15T16:44:35 - [10.0.86.111:0] 200 OK "GET /api/groups/self HTTP/1.1"
[15/Oct/2024:16:44:35 -0400] 200 10.0.86.111(172.30.32.1) GET /api/groups/self HTTP/1.1 (BackgroundShortcutRunner/3036.0.7 CFNetwork/1568.100.1.2.1 Darwin/24.0.0)
INFO     2024-10-15T16:44:42 - [10.0.86.111:0] 405 Method Not Allowed "POST /api/recipes/create-url HTTP/1.1"
[15/Oct/2024:16:44:42 -0400] 405 10.0.86.111(172.30.32.1) POST /api/recipes/create-url HTTP/1.1 (BackgroundShortcutRunner/3036.0.7 CFNetwork/1568.100.1.2.1 Darwin/24.0.0)
INFO     2024-10-15T16:44:43 - [10.0.86.111:0] 200 OK "GET /api/users/self HTTP/1.1"
[15/Oct/2024:16:44:43 -0400] 200 10.0.86.111(172.30.32.1) GET /api/users/self HTTP/1.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.37 Mobile/15E148 Safari/604.1)
INFO     2024-10-15T16:44:55 - [127.0.0.1:47038] 200 OK "GET /api/app/about HTTP/1.1"

Architecture

amd64

OS

HAos

alexbelgium commented 3 days ago

Hi, you should ask on the main mealie github if it is due to the v2 app. I can't help from the add-on side expect if a functionality of the app is not properly applied.

broyuken commented 3 days ago

I don't see anything about 2.0 on the main mealie site. Where do I find information on this?