-
Bug
-
Resolution: Done
-
Medium
-
El Alto Release
-
None
,
always returned. This is due to response HTTP 415 Unsupported Media Type from SDC. NBI by default send Content-Type: text/plain
should be
Content-Type: application/json
2019-08-08 13:49:13.567 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 >> "Content-Type: text/plain;charset=UTF-8[\r][\n]"
2019-08-08 13:49:13.567 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 >> "Host: 172.30.0.124:30205[\r][\n]"
2019-08-08 13:49:13.567 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
2019-08-08 13:49:13.567 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 >> "User-Agent: Apache-HttpClient/4.5.8 (Java/11.0.4)[\r][\n]"
2019-08-08 13:49:13.567 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 >> "Cookie: JSESSIONID=node0yhnr8ln17z1478ewzcjjvrnh12132917.node0[\r][\n]"
2019-08-08 13:49:13.567 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2019-08-08 13:49:13.567 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 >> "[\r][\n]"
2019-08-08 13:49:13.639 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 << "HTTP/1.1 500 Internal Server Error[\r][\n]"
2019-08-08 13:49:13.639 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 << "X-ECOMP-RequestID: 7b1cd3fd-f0e5-4247-ba3f-5955d24322b0[\r][\n]"
2019-08-08 13:49:13.639 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 << "Content-Length: 31[\r][\n]"
2019-08-08 13:49:13.639 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 << "Server: Jetty(9.4.12.v20180830)[\r][\n]"
2019-08-08 13:49:13.639 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 << "[\r][\n]"
2019-08-08 13:49:13.639 DEBUG 6 — [nio-8080-exec-8] org.apache.http.wire : http-outgoing-2 << "HTTP 415 Unsupported Media Type"
2019-08-08 13:49:13.639 DEBUG 6 — [nio-8080-exec-8] org.apache.http.headers : http-outgoing-2 << HTTP/1.1 500 Internal Server Error
2019-08-08 13:49:13.640 ERROR 6 — [nio-8080-exec-8] org.onap.nbi.apis.status.OnapClient : backend exception for SDC, status code 500 INTERNAL_SERVER_ERROR, body response HTTP 415 Unsupported Media Type