Oracle Solution for Error ora-30952

Solution for Oracle Error ORA-30952

ORA-30952: illegal configuration of HTTP/HTTPS in xdbconfig.xml

What triggered the Error:

An attempt was made to update xdbconfig.xml when either 1) a value was specified for http2-port but not for http2-protocol (or vice versa), OR 2) http-port and http2-port were set to the same value.

What should we do to fix it:

Specify values for both elements http2-port and http2-protocol, AND set different values for http-port and http2-port.