Service Callout 정책 배포 오류 문제 해결

현재 Apigee Edge 문서가 표시되고 있습니다.
Apigee X 문서로 이동
정보

URLMissing

오류 메시지

Edge UI 또는 Edge 관리 API를 통한 API 프록시 배포가 다음 오류 메시지와 함께 실패합니다.

Error Saving Revision [revision_number]
URL is missing in Step [policy_name]

오류 메시지 예

Error Saving Revision 2
URL is missing in Step ExecuteGeocodingRequest.

예시 스크린샷

원인

Service Callout 정책의 <URL> 요소가 누락되거나 비어 있는 경우 API 프록시의 배포는 실패합니다.

진단

오류 메시지에 표시된 Service Callout 정책에서 <URL> 요소를 검사합니다. 요소 내에 선언된 URL이 없으면 이는 오류의 원인이 됩니다. 예를 들어 다음 Service Callout 정책에 빈 <URL> 요소가 있습니다.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout name="ExecuteGeocodingRequest">
    <Request variable="GeocodingRequest"/>
    <Response>GeocodingResponse</Response>
    <HTTPTargetConnection>
        <URL></URL>
    </HTTPTargetConnection>
</ServiceCallout>

<URL> 요소가 비어 있으므로 API 프록시 배포가 실패합니다.

해상도

Service Callout 정책의 <URL> 요소에 유효한 URL이 있는지 확인합니다. 예를 들면 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout name="ExecuteGeocodingRequest">
    <Request variable="GeocodingRequest"/>
    <Response>GeocodingResponse</Response>
    <HTTPTargetConnection>
        <URL>http://maps.googleapis.com/maps/api/geocode/json</URL>
    </HTTPTargetConnection>
</ServiceCallout>

ConnectionInfoMissing

오류 메시지

Edge UI 또는 Edge 관리 API를 통한 API 프록시 배포가 다음 오류 메시지와 함께 실패합니다.

Error Saving Revision [revision_number]
Connection information is missing in Step [policy_name]

오류 메시지 예

Error Saving Revision 1
Connection information is missing in Step ExecuteGeocodingRequest.

예시 스크린샷

원인

Service Callout 정책에 <HTTPTargetConnection> 또는 <LocalTargetConnection> 요소가 없으면 API 프록시 배포는 실패합니다.

진단

Service Callout 정책에 <HTTPTargetConnection> 또는 <LocalTargetConnection> 요소가 정의되어 있는지 확인합니다. 예를 들면 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout name="ExecuteGeocodingRequest">
    <Request variable="GeocodingRequest"/>
    <Response>GeocodingResponse</Response>
</ServiceCallout>

정책에 정의된 <HTTPTargetConnection> 또는 <LocalTargetConnection> 요소가 없습니다.

해상도

Service Callout 정책에 <HTTPTargetConnection> 또는 <LocalTargetConnection> 요소가 있는지 확인합니다. 예를 들면 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout name="ExecuteGeocodingRequest">
    <Request variable="GeocodingRequest"/>
    <Response>GeocodingResponse</Response>
    <HTTPTargetConnection>
        <URL>http://maps.googleapis.com/maps/api/geocode/json</URL>
    </HTTPTargetConnection>
</ServiceCallout>

InvalidTimeoutValue

오류 메시지

Edge UI 또는 Edge 관리 API를 통한 API 프록시 배포가 다음 오류 메시지와 함께 실패합니다.

Error Saving Revision [revision_number]
Invalid Timeout value [0 or negative_number].

오류 메시지 예

Error Saving Revision 1
Invalid Timeout value -1.

예시 스크린샷

원인

Service Callout 정책의 <Timeout> 요소에 0 또는 음수 값이 지정되어 있으면 API 프록시 배포가 실패합니다.

진단

Service Callout 정책의 <Timeout> 요소를 검사합니다. 값이 0이거나 음수인 경우 이는 오류의 원인이 됩니다. 예를 들면 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout name="ExecuteGeocodingRequest">
    <Request variable="GeocodingRequest"/>
    <Response>GeocodingResponse</Response>
    <Timeout>0</Timeout>
    <HTTPTargetConnection>
        <URL>http://maps.googleapis.com/maps/api/geocode/json</URL>
    </HTTPTargetConnection>
</ServiceCallout>

<Timeout> 요소의 값이 0이므로 프록시 배포는 실패합니다.

해상도

<Timeout> 요소에 지정된 값이 0이 아니거나 음수가 아닌지 확인합니다. 예를 들면 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout name="ExecuteGeocodingRequest">
    <Request variable="GeocodingRequest"/>
    <Response>GeocodingResponse</Response>
    <Timeout>10</Timeout>
    <HTTPTargetConnection>
        <URL>http://maps.googleapis.com/maps/api/geocode/json</URL>
    </HTTPTargetConnection>
</ServiceCallout>