Remote host closed connection during handshake while executing ./schagent -registerdatabase host 162
We are experiencing the issue with registering the db with the agent. We have http running on the server.
For dev we are using single host with two schemas to perform sharding
./schagent -registerdatabase <our hostname> 1621
getting this error:
Remote host closed connection during handshake
Neither HTTP nor HTTPS servers are correctly set up in <our hostname>:1621
Database is unavailable at <our hostname>:1621
Here are the result of above commands:
SQL> desc resource_view;
Name Null? Type
----------------------------------------- -------- ----------------------------
RES XMLTYPE(XMLSchema "http://xm
lns.oracle.com/xdb/XDBResour
ce.xsd" Element "Resource")
ANY_PATH VARCHAR2(32767)
RESID RAW(16)
SQL> select dbms_xdb_config.gethttpport from dual;