Informationen zur Fehlerbehebung bei MART-Problemen in Apigee hybrid finden Sie in den Logdateien. Mart-Logs werden in stdout/stderr geschrieben und können mit dem Befehl kubectllogs angezeigt werden.
Führen Sie auf der Kubernetes-Verwaltungsmaschine den folgenden Befehl aus:
Die folgenden Fehlercodes können in den MART-Logs angezeigt werden:
Fehler
Beschreibung
ROUTING_SERVICE_NOT_ENABLED
routing.RoutingServiceNotEnabled
Tritt auf, wenn routing.service.enable in dieser Datei im MART-Pod auf "false" gesetzt ist:
/opt/apigee/edge-hybrid-mart-server/conf/routing-service.properties
HYBRID_MART_SERVER_ENDPOINT_NOT_FOUND
routing.HybridMARTServerEndpointNotFound
Tritt auf, wenn die Organisation keinen Wert für die Organisationseigenschaft hat: features.mart.server.endpoint
HYBRID_AUTHN_AUTHZ_TOKEN_ERROR
routing.HybridAuthNAuthZTokenError
Tritt auf, wenn der AuthN-AuthZ-Dienst einen Nicht-200-Antwortcode oder ein ungültiges Token zurückgibt.
MART_ENDPOINT_REQUIRED
organizations.MartEndpointRequired
Tritt auf, wenn die Organisationseigenschaft features.mart.server.endpoint einen Nullwert oder einen leeren Wert hat.
HTTPS_MART_ENDPOINT_REQUIRED
organizations.HttpsMartEndpointRequired
Tritt auf, wenn das Organisationsattribut features.mart.server.endpoint einen Wert hat, der mit "http://" beginnt, wenn mart.routing.https.validation.enable in dieser Datei im MART-Pod auf "true" gesetzt ist:
/opt/apigee/edge-hybrid-mart-server/conf/routing-service.properties
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-12 (UTC)."],[[["This documentation is for Apigee hybrid version 1.9, and you can find more information on supported versions in the \"Supported versions\" section."],["MART logs, crucial for troubleshooting, are written to stdout/stderr and can be accessed using the `kubectl logs` command on the Kubernetes administration machine."],["The MART logs may contain error codes such as `ROUTING_SERVICE_NOT_ENABLED`, `HYBRID_MART_SERVER_ENDPOINT_NOT_FOUND`, `HYBRID_AUTHN_AUTHZ_TOKEN_ERROR`, `MART_ENDPOINT_REQUIRED`, and `HTTPS_MART_ENDPOINT_REQUIRED`, each indicating specific configuration or service issues."],["The `ROUTING_SERVICE_NOT_ENABLED` and `HTTPS_MART_ENDPOINT_REQUIRED` errors are linked to the `/opt/apigee/edge-hybrid-mart-server/conf/routing-service.properties` file within the MART pod."],["The errors `HYBRID_MART_SERVER_ENDPOINT_NOT_FOUND`, `MART_ENDPOINT_REQUIRED`, and `HTTPS_MART_ENDPOINT_REQUIRED` all deal with the `features.mart.server.endpoint` property within an organization's settings."]]],[]]