Java 서비스로 ArangoDB 용 CRUD 인터페이스를 구축 중입니다.속성에 https 호스트를 arangodb 호스트로 지정하십시오.
내 ArangoDB 서비스에는 동적 IP이지만 정적 URL이 있습니다. 따라서 IP 및 포트 대신 URL을 지정하려고합니다.
하지만 arangodb.properties 파일에 설정할 때 다음과 같은 예외가 :
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netcracker.unm.activeinventory.services.ArangoService]: Constructor threw exception; nested exception is com.arangodb.ArangoDBException: Could not load property-value arangodb.hosts=127.0.0.1:8538,127.0.0.1:8529,http://arangodb-nms-infra.sdnoshm05.com:443. Expected format ip:port,ip:port,...
내가 어떻게 할 수 있습니까?
업데이트
나는 HTTPS 서버에 연결할 필요가 있다고 생각했다. 어떻게 내 arangodb.properties 파일에서 지정할 수 있습니까?
유닉스 wget
명령을 사용하여 서버 엔드 포인트에 연결을 시도했습니다. https 프로토콜을 지정하지 않으면 연결되지 않습니다. 그래서 평범한 ip : port가 있다면 내 ArangoDB 클라이언트는 그렇지 않습니다. 방금 java.net.ConnectException: Connection refused
예외가 발생합니다.