-
Notifications
You must be signed in to change notification settings - Fork 5
Labels
FeedbackFeedback through frontendFeedback through frontendt:bugIssue that prevents to perform a certain task, features that don't work as tIssue that prevents to perform a certain task, features that don't work as t
Milestone
Description
Long Story Short
Got an error from the webserver when trying to run map_function.
mmux-vite-backend-1 | 2025-06-15 17:10:16,142 - werkzeug - INFO - 172.19.0.4 - - [15/Jun/2025 17:10:16] "GET /flask/health HTTP/1.1" 200 -
mmux-vite-backend-1 | 2025-06-15 17:10:30,819 - urllib3.connectionpool - DEBUG - https://api.sim4life-staging.cloud:443 "POST /v0/functions/eea21c0d-6c2b-4cf4-91d1-116e6550cb22:map HTTP/1.1" 502 64
mmux-vite-backend-1 | 2025-06-15 17:10:30,820 - flask_workflows - ERROR - Error while performing LHS sampling on function eea21c0d-6c2b-4cf4-91d1-116e6550cb22: (502)
mmux-vite-backend-1 | Reason: Bad Gateway
mmux-vite-app-1 | {"level":"error","ts":1750007430.8263645,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.19.0.1","remote_port":"36050","client_ip":"172.19.0.1","proto":"HTTP/1.1","method":"POST","host":"localhost:8888","uri":"/flask/lhs_sampling","headers":{"Sec-Ch-Ua-Mobile":["?0"],"Origin":["http://localhost:8888"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Dest":["empty"],"Sec-Ch-Ua-Platform":["\"Linux\""],"Content-Type":["text/plain;charset=UTF-8"],"Connection":["keep-alive"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36"],"Referer":["http://localhost:8888/"],"Sec-Ch-Ua":["\"Chromium\";v=\"136\", \"Google Chrome\";v=\"136\", \"Not.A/Brand\";v=\"99\""],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Mode":["cors"],"Accept-Language":["en-US,en;q=0.9"],"Content-Length":["249"]}},"bytes_read":249,"user_id":"","duration":126.717250112,"size":299,"status":500,"resp_headers":{"Via":["1.1 Caddy"],"Content-Type":["application/json"],"Content-Length":["299"],"Server":["Werkzeug/3.1.3 Python/3.11.13"],"Date":["Sun, 15 Jun 2025 17:10:30 GMT"]}}
mmux-vite-backend-1 | HTTP response headers: HTTPHeaderDict({'Content-Length': '64', 'Content-Type': 'application/json', 'Date': 'Sun, 15 Jun 2025 17:08:24 GMT', 'Server': 'uvicorn'})
mmux-vite-backend-1 | HTTP response body: {"errors":["Staging_wb-api-server service unexpectedly failed"]}
mmux-vite-backend-1 | Trying a second time produced:
"error": (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Content-Length': '153', 'Content-Type': 'application/json', 'Date': 'Sun, 15 Jun 2025 17:14:33 GMT', 'Server': 'uvicorn'})
HTTP response body: {\"errors\":[\"Oops! Something went wrong, but we've noted it down and we'll sort it out ASAP. Thanks for your patience! [OEC:4f0651a20347-1750008029922]\"]}"
Expected Behavior
As in previous ocassions, the map runs without issues (well, we were having the timeout sometimes, but this is new).
Steps to reproduce
Used the MMUX service to run the map_function of the functions API.
Environment
sim4life-staging.cloud
Additional context
I just registered this function through the frontend - but I have already done so previously and did not have this issue.
Metadata
Metadata
Assignees
Labels
FeedbackFeedback through frontendFeedback through frontendt:bugIssue that prevents to perform a certain task, features that don't work as tIssue that prevents to perform a certain task, features that don't work as t