ydb-platform / ydb

YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions
https://ydb.tech
Apache License 2.0
3.72k stars 507 forks source link

Viewer /healthcheck CORS error #1453

Open StekPerepolnen opened 5 months ago

StekPerepolnen commented 5 months ago

-- the browser says that because of the CORS it does not work, the request itself it is most likely that there are not enough headers on the backup in response, you need a ticket for editing

also found the some problem with getting database list, cluster handler

StekPerepolnen commented 5 months ago

it seems related

Access to XMLHttpRequest at '/viewer/json/healthcheck?merge_records=true&tenant=%2Fkz_global%2Fydbc' from origin has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
vendors.ebde2049.js:2 
       GET /viewer/json/healthcheck?merge_records=true&tenant=%2Fkz_global%2Fydbc net::ERR_FAILED 200 (Ok)
StekPerepolnen commented 5 months ago

https://github.com/ydb-platform/ydb/pull/2174

StekPerepolnen commented 4 months ago

мерж 24-1 https://github.com/ydb-platform/ydb/pull/2318