Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
21 stars 12 forks source link

[Bug] OC in prod fails to fetch challenge input data type (404 error) #2657

Closed tschaffter closed 1 month ago

tschaffter commented 2 months ago

Is there an existing issue for this?

What product(s) are you seeing the problem on?

OpenChallenges

Current behavior

Error from the web console:

ERROR 
Object { headers: {…}, status: 404, statusText: "OK", url: "https://openchallenges.io/api/v1/edamConcepts?sections=data", ok: false, name: "HttpErrorResponse", message: "Http failure response for https://openchallenges.io/api/v1/edamConcepts?sections=data: 404 OK", error: {…} }
​
error: Object { timestamp: "2024-04-30T16:08:31.770+00:00", path: "/api/v1/edamConcepts", status: 404, … }
​
headers: Object { normalizedNames: Map(0), lazyUpdate: null, lazyInit: lazyInit()
 }
​
message: "Http failure response for https://openchallenges.io/api/v1/edamConcepts?sections=data: 404 OK"
​
name: "HttpErrorResponse"

Expected behavior

The request should be successful and the data appear in the UI component.

Anything else?

No response

Commit ID

No response

Are you developing inside the dev container?

Code of Conduct

tschaffter commented 1 month ago

The config of the config server for the public preview has been updated to allow the EDAM endpoint. Note that the name of the branch used by the prod server is still "private-preview".

image