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
The provider EDC control plane returns an HTTP status code 502 (bad gateway). In the error message it, however, says http status code 405 (method not allowed).
Example: [ { "message": "org.eclipse.edc.spi.http.EdcHttpClientException: Server response to Request{method=POST, url=https://edc.apps.int.ocp.cx.dps.oncite.cloud/api/v1/dsp/catalog/request, headers=[Content-Type:application/json, Authorization:ey...]} was not successful but was 405: <html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 405 HTTP method POST is not supported by this URL</title>\n</head>\n<body><h2>HTTP ERROR 405 HTTP method POST is not supported by this URL</h2>\n<table>\n<tr><th>URI:</th><td>/api/v1/dsp/catalog/request</td></tr>\n<tr><th>STATUS:</th><td>405</td></tr>\n<tr><th>MESSAGE:</th><td>HTTP method POST is not supported by this URL</td></tr>\n<tr><th>SERVLET:</th><td>org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-7e8279e5</td></tr>\n</table>\n<hr/><a href=\"https://eclipse.org/jetty\">Powered by Jetty:// 11.0.15</a><hr/>\n\n</body>\n</html>\n", "type": "BadGateway", "path": null, "invalidValue": null } ]
In the above example it says that the endpoint https://edc.apps.int.ocp.cx.dps.oncite.cloud/api/v1/dsp/catalog/request does not support the POST method.
Expected behavior
It is expected that the endpoint {{PROVIDER_EDC_URL}}/api/v1/dsp/catalog/request accepts POST calls, so that the catalog can be fetched.
Screenshots/Error Messages
[ { "message": "org.eclipse.edc.spi.http.EdcHttpClientException: Server response to Request{method=POST, url=https://edc.apps.int.ocp.cx.dps.oncite.cloud/api/v1/dsp/catalog/request, headers=[Content-Type:application/json, Authorization:ey...]} was not successful but was 405: <html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 405 HTTP method POST is not supported by this URL</title>\n</head>\n<body><h2>HTTP ERROR 405 HTTP method POST is not supported by this URL</h2>\n<table>\n<tr><th>URI:</th><td>/api/v1/dsp/catalog/request</td></tr>\n<tr><th>STATUS:</th><td>405</td></tr>\n<tr><th>MESSAGE:</th><td>HTTP method POST is not supported by this URL</td></tr>\n<tr><th>SERVLET:</th><td>org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-7e8279e5</td></tr>\n</table>\n<hr/><a href=\"https://eclipse.org/jetty\">Powered by Jetty:// 11.0.15</a><hr/>\n\n</body>\n</html>\n", "type": "BadGateway", "path": null, "invalidValue": null } ]
Context Informations
Add any other context about the probleme here.
Used version: EDC control plane and data plane with PostgreSQL and Azure Key Vault extension in version 0.4.1.
OS: Open Shift
Possible Implementation
No idea.
The text was updated successfully, but these errors were encountered:
Describe the bug
Fetching catalog with EDC 0.4.1 results in a bad gateway (502) or method not allowed (405) error.
To Reproduce
URL:
{{CONSUMER_DATAMGMT_URL}}/catalog/request
Body: `{
Example:
[ { "message": "org.eclipse.edc.spi.http.EdcHttpClientException: Server response to Request{method=POST, url=https://edc.apps.int.ocp.cx.dps.oncite.cloud/api/v1/dsp/catalog/request, headers=[Content-Type:application/json, Authorization:ey...]} was not successful but was 405: <html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 405 HTTP method POST is not supported by this URL</title>\n</head>\n<body><h2>HTTP ERROR 405 HTTP method POST is not supported by this URL</h2>\n<table>\n<tr><th>URI:</th><td>/api/v1/dsp/catalog/request</td></tr>\n<tr><th>STATUS:</th><td>405</td></tr>\n<tr><th>MESSAGE:</th><td>HTTP method POST is not supported by this URL</td></tr>\n<tr><th>SERVLET:</th><td>org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-7e8279e5</td></tr>\n</table>\n<hr/><a href=\"https://eclipse.org/jetty\">Powered by Jetty:// 11.0.15</a><hr/>\n\n</body>\n</html>\n", "type": "BadGateway", "path": null, "invalidValue": null } ]
In the above example it says that the endpoint
https://edc.apps.int.ocp.cx.dps.oncite.cloud/api/v1/dsp/catalog/request
does not support the POST method.Expected behavior
It is expected that the endpoint
{{PROVIDER_EDC_URL}}/api/v1/dsp/catalog/request
accepts POST calls, so that the catalog can be fetched.Screenshots/Error Messages
[ { "message": "org.eclipse.edc.spi.http.EdcHttpClientException: Server response to Request{method=POST, url=https://edc.apps.int.ocp.cx.dps.oncite.cloud/api/v1/dsp/catalog/request, headers=[Content-Type:application/json, Authorization:ey...]} was not successful but was 405: <html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 405 HTTP method POST is not supported by this URL</title>\n</head>\n<body><h2>HTTP ERROR 405 HTTP method POST is not supported by this URL</h2>\n<table>\n<tr><th>URI:</th><td>/api/v1/dsp/catalog/request</td></tr>\n<tr><th>STATUS:</th><td>405</td></tr>\n<tr><th>MESSAGE:</th><td>HTTP method POST is not supported by this URL</td></tr>\n<tr><th>SERVLET:</th><td>org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-7e8279e5</td></tr>\n</table>\n<hr/><a href=\"https://eclipse.org/jetty\">Powered by Jetty:// 11.0.15</a><hr/>\n\n</body>\n</html>\n", "type": "BadGateway", "path": null, "invalidValue": null } ]
Context Informations
Add any other context about the probleme here.
Possible Implementation
No idea.
The text was updated successfully, but these errors were encountered: