Apigee Edge belgelerini görüntülüyorsunuz.
Apigee X belgelerine gidin. bilgi
Bu konuda, Edge Microgateway ile karşılaşabileceğiniz hatalar ve uyarılar açıklanmaktadır.
Genel uygulama hataları
HTTP 500, hata işleyicide başarısız oldu: Hedeflerden döndürülen bazı hataların yanı sıra çoğu hata bu numaraya sahip olur. Özellikle errors-middleware.js, microgateway-core modülünde kullanılır. Kullanıldığında, Edge Microgateway
logger object: logger.error(err, 'failed in error handler');kullanılarak durum kodları günlüğe yazılır. 100 ile 300 arasında hedeflerden alınan kodlar için errors-middleware.js, istemciye döndürmek üzere statusCode'u 500 olarak yeniden yazar.HTTP 404: Bu durum,
no match found for [API_path_name]mesajıyla birlikte yığın izi olarak oluşturulabilir.
Modül hataları ve uyarıları
Bu bilgileri, Edge Microgateway dağıtımınızı izlemenize ve yönetmenize yardımcı olacak uyarıları yapılandırmak için kullanabilirsiniz.
"İşleyici" bölümündeki hata referansında görünen aşağıdaki terimler, çeşitli hataların Edge Microgateway'de nasıl işlendiğini gösterir.
- assert: Genellikle bir assert değerlendirmesi başarısız olduğunda Edge Microgateway durur. Ancak "asserts" yakalanabilecek istisnalar oluşturduğundan bu durum her zaman geçerli olmayabilir.
- throws: Olası sistem durdurma.
- callback: Hata, geri çağırma işlevine iletilir ve sistem devam edebilir.
| Tür | Mesaj | İşleyici | Notlar |
|---|---|---|---|
microgateway modülü |
|||
| hata | org gereklidir | sahiplik iddiasında bulunmak | assert(options.org,"org is required"); |
| hata | env gereklidir | sahiplik iddiasında bulunmak | assert(options.env,"env is required") |
| hata | Kullanıcı adı gereklidir. | sahiplik iddiasında bulunmak | assert(options.username || options.token,"username is required"); |
| hata | Şifre gerekli | sahiplik iddiasında bulunmak | assert(options.password || options.token,"password is required") |
| hata | org gereklidir | sahiplik iddiasında bulunmak | assert(options.org,"org is required"); |
| hata | env gereklidir | sahiplik iddiasında bulunmak | assert(options.env,"env is required") |
| hata | Kullanıcı adı gereklidir. | sahiplik iddiasında bulunmak | assert(options.username || options.token,"username is required"); |
| hata | Şifre gerekli | sahiplik iddiasında bulunmak | assert(options.password || options.token,"password is required") |
| hata | org gereklidir | sahiplik iddiasında bulunmak | assert(options.org,"org is required"); |
| hata | env gereklidir | sahiplik iddiasında bulunmak | assert(options.env,"env is required") |
| hata | org gereklidir | sahiplik iddiasında bulunmak | assert(options.org,"org is required"); |
| hata | env gereklidir | sahiplik iddiasında bulunmak | assert(options.env,"env is required") |
| hata | Kullanıcı adı gereklidir. | sahiplik iddiasında bulunmak | assert(options.username, 'username is required'); |
| hata | Şifre gerekli | sahiplik iddiasında bulunmak | assert(options.password, 'password is required'); |
| hata | org gereklidir | sahiplik iddiasında bulunmak | assert(options.org, 'org is required'); |
| hata | env gereklidir | sahiplik iddiasında bulunmak | assert(options.env, 'env is required'); |
| hata | atanmış bir hedef dosyası olmalıdır | sahiplik iddiasında bulunmak | assert(targetFile, 'must have an assigned target file') |
| hata | anahtarı olmalıdır | sahiplik iddiasında bulunmak | assert(key, 'must have a key'); |
| hata | gizli anahtarı olmalıdır | sahiplik iddiasında bulunmak | assert(secret, 'must have a secret'); |
| hata | dir yapılandırılmalıdır | sahiplik iddiasında bulunmak | assert(dir, 'dir must be configured') |
| hata | callback mevcut olmalıdır | sahiplik iddiasında bulunmak | assert(callback, 'callback must be present') |
| hata | Kullanıcı adı gereklidir. | sahiplik iddiasında bulunmak | assert(options.username, 'username is required'); |
| hata | Şifre gerekli | sahiplik iddiasında bulunmak | assert(options.password, 'password is required'); |
| hata | org gereklidir | sahiplik iddiasında bulunmak | assert(options.org, 'org is required'); |
| hata | env gereklidir | sahiplik iddiasında bulunmak | assert(options.env, 'env is required'); |
| hata | runtimeUrl gereklidir | sahiplik iddiasında bulunmak | assert(options.runtimeUrl, 'runtimeUrl is required'); |
| hata | mgmtUrl gereklidir | sahiplik iddiasında bulunmak | assert(options.mgmtUrl, 'mgmtUrl is required'); |
| hata | dosya zorunludur | sahiplik iddiasında bulunmak | assert(options.file,"file is required") |
| hata | hedefi olmalıdır | sahiplik iddiasında bulunmak | assert(options.target, 'must have target'); |
| hata | Eklentiler yapılandırılmamış | sahiplik iddiasında bulunmak | assert(config.edgemicro.plugins, 'plugins not configured'); |
| hata | plugin dir does not exist: + pluginDir | sahiplik iddiasında bulunmak | assert(fs.existsSync(pluginDir), 'plugin dir does not exist: ' + pluginDir); |
| hata | plugin dir is not a directory: + pluginDir | sahiplik iddiasında bulunmak | assert(stat.isDirectory(), 'plugin dir is not a directory: ' + pluginDir); |
| hata | error reading plugin dir: + pluginDir | sahiplik iddiasında bulunmak | assert(dirs, 'error reading plugin dir: ' + pluginDir); |
| hata | jeton içermelidir | sahiplik iddiasında bulunmak | assert(token, 'must have a token'); |
| hata | configpath boş olamaz | sahiplik iddiasında bulunmak | assert(config, 'configpath can't be empty'); |
| hata | EDGEMICRO_KEY olmalıdır. | sahiplik iddiasında bulunmak | assert(key, 'must have EDGEMICRO_KEY'); |
| hata | EDGEMICRO_SECRET olmalıdır. | sahiplik iddiasında bulunmak | assert(secret, 'must have EDGEMICRO_SECRET'); |
| hata | Yapılandırma mevcut değil | battaniyeler | yaml dosyasıyla ilgili |
| hata | edgemicro zaten çalışıyor gibi görünüyor. | console.error | .sock dosyasının üzerine yazmaya çalışıyorsanız |
| hata | Yapılandırmadaki değişiklik kontrol edilemedi. Şu tarihten sonra yeniden denenecek | console.error | uç iletişimiyle ilgili sorun |
| hata | Sunucu çalışmıyorsa önceki başlatma işleminin yanlış kapatılmasından kaynaklanıyor olabilir. | console.error | |
| hata | %s eksik. Lütfen çalıştırın: | console.error | Eksik (.*), lütfen çalıştırın |
| hata | Edgemicro yeniden yüklenemedi | console.error | komut düzeyi |
| hata | Edgemicro durdurulamadı | console.error | Komut düzeyi |
| hata | "Try removing " + ipcPath + " and start again" (Try removing " + ipcPath + " and start again) | console.error | |
| hata | "cache configuration " + cache + " does not exist. exiting." | console.error | |
| hata | Yapılandırma dosyası yazılamadı: | console.error | Yapılandırma başarısız olur. |
| hata | Yapılandırma dosyası indirilmedi: | console.error | Yapılandırma başarısız olur. |
| hata | edge micro başlatılamadı | console.error | Çalışmamalıdır |
| hata | edgemicro çalışmıyor. | console.error | İşlemi kontrol edin, listelenmemesi gerekir. |
| hata | env gereklidir | console.error | Çalıştırmak için gereken ortam değişkenleri |
| hata | error - editing apiproxy Callout.xml | console.error | Dosya erişimi |
| hata | error - editing apiproxy default.xml | console.error | Dosya erişimi |
| hata | Sertifika hatası kontrolü. Yeni sertifika yükleniyor. | console.error | Ortak anahtar kullanılamıyor |
| hata | kuruluş için bölge alınırken hata oluştu | console.error | key-gen.js, cert-lib.js ve private.js |
| hata | Kimlik bilgileri yüklenirken hata oluştu | console.error | Ortak anahtar Edge ile senkronize edilemiyor |
| hata | başarısız | console.error | key-gen.js |
| hata | Yapılandırma yolu dosyası %s başlatılamadı | console.error | Yapılandırma yüklenmiyor |
| hata | Bölge API'sinden geçersiz yanıt | console.error | key-gen.js, cert-lib.js ve private.js |
| hata | anahtar gerekli | console.error | Parametre |
| hata | org gereklidir | console.error | Parametre |
| hata | bağlantı noktası kullanılamıyor. | console.error | Parametre |
| hata | Gizli anahtar gerekli | console.error | Parametre |
| hata | URL protokolü desteklenmiyor: | console.error | Yapılandırma bilgileri, Edge Microgateway'in kapsamı dışında bir internet protokolü olduğunu gösteriyor |
| hata | analizleri doğrulama negatif durumu: BAŞARISIZ | console.error | Olası kilitlenme/başarısızlık |
| hata | yük ile analiz doğrulama: BAŞARISIZ | console.error | Olası kilitlenme/başarısızlık |
| hata | bootstrap URL'sinin kullanılabilirliği doğrulanıyor:BAŞARISIZ | console.error | Olası kilitlenme/başarısızlık |
| hata | jwt_public_key kullanılabilirliğini doğrulama: BAŞARISIZ | console.error | Olası kilitlenme/başarısızlık |
| hata | Ürün stok durumunu doğrulama: BAŞARISIZ | console.error | Olası kilitlenme/başarısızlık |
| hata | Yapılandırılmış ürünlerle kotayı doğrulama: BAŞARISIZ | console.error | Olası kilitlenme/başarısızlık |
| uyarma | failed to retrieve config from gateway. continuing, will try cached copy.. | console.error | |
| uyarma | KVM, kuruluşunuzda zaten mevcut | console.log | |
| uyarma | zaten dağıtılmışsa | console.log | |
| uyarma | sıralı eklenti bulunamadı: | console.warn | |
| uyarma | pluginDir %s mevcut değil | console.log | pluginDir (.*) mevcut değil |
microgateway-core modülü |
|||
| hata | yapılandırma başlatılmadı | sahiplik iddiasında bulunmak | assert(config, 'config not initialized') |
| hata | yapılandırması olmalıdır | sahiplik iddiasında bulunmak | assert(config, ' must have a config') |
| hata | yapılandırma olmalıdır | sahiplik iddiasında bulunmak | assert(config, 'must have config') |
| hata | yapılandırmada uid olmalıdır | sahiplik iddiasında bulunmak | assert(config.uid, 'config must have uid'); |
| hata | Yapılandırmada config.edgemicro.logging olmalıdır. | sahiplik iddiasında bulunmak | assert(logConfig, 'must have config.edgemicro.logging in config'); |
| hata | istek yöntemi olmalıdır | sahiplik iddiasında bulunmak | assert(httpLibrary.request, 'must have request method'); |
| hata | belleğe yüklenmiş bir eklenti olmalıdır | sahiplik iddiasında bulunmak | assert(options.plugin, "must have plugin loaded in memory"); |
| hata | init bir işlev olmalıdır | sahiplik iddiasında bulunmak | assert(_.isFunction(options.plugin.init), 'init must be a function'); |
| hata | Eklenti adı olmalıdır | sahiplik iddiasında bulunmak | assert(options.pluginName, "must have plugin name"); |
| hata | geçersiz eklenti işleyicileri + adı yoksayılıyor | sahiplik iddiasında bulunmak | assert(_.isObject(middleware), 'ignoring invalid plugin handlers ' + name); |
| hata | seçenekler yapılandırma içermelidir | sahiplik iddiasında bulunmak | assert(config, 'options must contain config') |
| hata | Eklentinin adı olmalıdır | sahiplik iddiasında bulunmak | assert(name,"plugin must have a name") |
| hata | name bir dize olmalıdır | sahiplik iddiasında bulunmak | assert(_.isString(name),"name must be a string"); |
| hata | plugin bir işlev olmalıdır | sahiplik iddiasında bulunmak | assert(_.isFunction(plugin),"plugin must be a function(config,logger,stats){return {onresponse:function(req,res,data,next){}}}"); |
| hata | anahtarı olmalıdır | sahiplik iddiasında bulunmak | assert(key, 'must have a key'); |
| hata | gizli anahtarı olmalıdır | sahiplik iddiasında bulunmak | assert(secret, 'must have a secret'); |
| hata | kaynak yapılandırma dizini olmalıdır. | sahiplik iddiasında bulunmak | assert(source, 'must have a source config directory'); |
| hata | Eklenti yüklenirken hata oluştu | console.error | Eklenti yüklenmedi |
| hata | hata işleyicide başarısız oldu | callback | HTTP server.on() işlevi |
| hata | Başlık uzunluğu, izin verilen boyuttan fazla | HTTP hatası | Eklenti çalışmıyor |
| hata | İşlem yapılmadan önce yanıtın tamamlanması | logger.error | Hedef eklenti çalışmıyor |
| hata | işleyici istisna hatası verdi | callback | Eklentiden yakalama hatası (catch) |
| hata | error starting edge micro | callback | Edge Microgateway başlatılamıyor |
| hata | plugin bir işlev olmalıdır | battaniyeler | |
| uyarma | console.error | uyarır | Günlük yazma |
| uyarma | targetRequest hatası | hedef hata işlemeyi çağırma | Hedefle bağlantı kurulurken HTTP istemci hatası |
| uyarma | targetResponse hatası | hedef hata işlemeyi çağırma | İstemcide görüldüğü gibi hedefle bağlantı kurulurken HTTP hedef sunucusu hatası |
microgateway-config modülü |
|||
| hata | allow_message | sahiplik iddiasında bulunmak | assert(+config.quota.allow > 0, allow_message); |
| hata | Yapılandırma mevcut değil | battaniyeler | Yapılandırma yaml dosyası |
| hata | config is empty | battaniyeler | Yapılandırma yaml dosyası |
| hata | config bir dosya değil | battaniyeler | Yapılandırma yaml dosyası |
| hata | config is not defined | sahiplik iddiasında bulunmak | assert(config, 'config is not defined'); |
| hata | config.analytics.batchSize geçersiz | sahiplik iddiasında bulunmak | assert(+config.analytics.batchSize > 0, 'config.analytics.batchSize is invalid'); |
| hata | config.analytics.batchSize bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.analytics.batchSize === 'number', 'config.analytics.batchSize is not a number'); |
| hata | config.analytics.bufferSize geçersiz | sahiplik iddiasında bulunmak | assert(+config.analytics.bufferSize > 0, 'config.analytics.bufferSize is invalid'); |
| hata | config.analytics.bufferSize bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.analytics.bufferSize === 'number', 'config.analytics.bufferSize is not a number'); |
| hata | config.analytics.flushInterval geçersiz | sahiplik iddiasında bulunmak | assert(+config.analytics.flushInterval > 0, 'config.analytics.flushInterval is invalid'); |
| hata | config.analytics.flushInterval bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.analytics.flushInterval === 'number', 'config.analytics.flushInterval is not a number'); |
| hata | config.analytics.proxy "dummy" değil | sahiplik iddiasında bulunmak | assert(config.analytics.proxy === 'dummy', 'config.analytics.proxy is not "dummy"'); |
| hata | config.analytics.proxy tanımlanmadı | sahiplik iddiasında bulunmak | assert(config.analytics.proxy, 'config.analytics.proxy is not defined'); |
| hata | config.analytics.proxy_revision bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.analytics.proxy_revision === 'number', 'config.analytics.proxy_revision is not a number'); |
| hata | config.analytics.proxy_revision tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.analytics.proxy_revision, 'config.analytics.proxy_revision is not defined'); |
| hata | config.analytics.source değeri "microgateway" değil | sahiplik iddiasında bulunmak | assert(config.analytics.source === 'microgateway', 'config.analytics.source is not "microgateway"'); |
| hata | config.analytics.source tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.analytics.source, 'config.analytics.source is not defined'); |
| hata | config.analytics.uri bir dize değil | sahiplik iddiasında bulunmak | assert(typeof config.analytics.uri === 'string', 'config.analytics.uri is not a string'); |
| hata | config.analytics.uri tanımlı değil | sahiplik iddiasında bulunmak | assert(config.analytics.uri, 'config.analytics.uri is not defined'); |
| hata | config.apikeys.public_key tanımlı değil | sahiplik iddiasında bulunmak | assert(typeof config.apikeys.public_key === 'string', 'config.apikeys.public_key is not defined'); |
| hata | config.edge_config tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.edge_config, 'config.edge_config is not defined'); |
| hata | config.edge_config.bootstrap tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.edge_config.bootstrap, 'config.edge_config.bootstrap is not defined'); |
| hata | config.edge_config.jwt_public_key tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.edge_config.jwt_public_key, 'config.edge_config.jwt_public_key is not defined'); |
| hata | config.edge_config.proxy_tunnel tanımlanmışsa config.edge_config.proxy tanımlanmalıdır. | sahiplik iddiasında bulunmak | assert(typeof config.edge_config.proxy !== 'undefined', 'config.edge_config.proxy must be defined if config.edge_config.proxy_tunnel is defined'); |
| hata | config.edge_config.proxy_tunnel bir boolean değil | sahiplik iddiasında bulunmak | assert(typeof config.edge_config.proxy_tunnel === 'boolean', 'config.edge_config.proxy_tunnel is not a boolean'); |
| hata | config.edge_config.refresh_interval bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.edge_config.refresh_interval === 'number', 'config.edge_config.refresh_interval is not a number'); |
| hata | config.edge_config.refresh_interval çok küçük (en az 1 saat) | sahiplik iddiasında bulunmak | assert(config.edge_config.refresh_interval >= 3600000, 'config.edge_config.refresh_interval is too small (min 1h)'); |
| hata | config.edge_config.retry_interval bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.edge_config.retry_interval === 'number', 'config.edge_config.retry_interval is not a number'); |
| hata | config.edge_config.retry_interval çok küçük (en az 5 sn) | sahiplik iddiasında bulunmak | assert(config.edge_config.retry_interval >= 5000, 'config.edge_config.retry_interval is too small (min 5s)'); |
| hata | config.edgemicro tanımlanmadı | sahiplik iddiasında bulunmak | assert(config.edgemicro, 'config.edgemicro is not defined'); |
| hata | config.edgemicro.logging tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.edgemicro.logging, 'config.edgemicro.logging is not defined'); |
| hata | config.edgemicro.logging.dir tanımlanmamış | sahiplik iddiasında bulunmak | if (!config.edgemicro.logging.to_console) assert(config.edgemicro.logging.dir, 'config.edgemicro.logging.dir is not defined'); |
| hata | config.edgemicro.logging.level tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.edgemicro.logging.level, 'config.edgemicro.logging.level is not defined'); |
| hata | config.edgemicro.max_connections bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.edgemicro.max_connections === 'number', 'config.edgemicro.max_connections is not a number'); |
| hata | config.edgemicro.max_connections tanımlı değil | sahiplik iddiasında bulunmak | assert(config.edgemicro.max_connections, 'config.edgemicro.max_connections is not defined'); |
| hata | config.edgemicro.plugins.sequence bir dizi değil | sahiplik iddiasında bulunmak | assert(Array.isArray(config.edgemicro.plugins.sequence), 'config.edgemicro.plugins.sequence is not an array'); |
| hata | config.edgemicro.port tanımlanmadı | sahiplik iddiasında bulunmak | assert(config.edgemicro.port, 'config.edgemicro.port is not defined'); |
| hata | config.oauth.allowInvalidAuthorization tanımlanmamış | sahiplik iddiasında bulunmak | assert(typeof config.oauth.allowInvalidAuthorization === 'boolean', 'config.oauth.allowInvalidAuthorization is not defined'); |
| hata | config.oauth.allowNoAuthorization tanımlanmadı | sahiplik iddiasında bulunmak | assert(typeof config.oauth.allowNoAuthorization === 'boolean', 'config.oauth.allowNoAuthorization is not defined'); |
| hata | config.oauth.public_key tanımlanmamış | sahiplik iddiasında bulunmak | assert(typeof config.oauth.public_key === 'string', 'config.oauth.public_key is not defined'); |
| hata | config.oauthv2.public_key tanımlanmamış | sahiplik iddiasında bulunmak | assert(typeof config.oauthv2.public_key === 'string', 'config.oauthv2.public_key is not defined'); |
| hata | config.proxies tanımlanmadı | sahiplik iddiasında bulunmak | assert(config.proxies, 'config.proxies is not defined'); |
| hata | config.proxy[ + index + ].base_path tanımlanmamış | sahiplik iddiasında bulunmak | assert(proxy.base_path, 'config.proxy[' + index + '].base_path is not defined'); |
| hata | config.proxy[ + index + ].max_connections is not a number | sahiplik iddiasında bulunmak | assert(typeof proxy.max_connections === 'number', 'config.proxy[' + index + '].max_connections is not a number'); |
| hata | config.proxy[ + index + ].max_connections tanımlı değil | sahiplik iddiasında bulunmak | assert(proxy.max_connections, 'config.proxy[' + index + '].max_connections is not defined'); |
| hata | config.proxy[ + index + ].name tanımlanmamış | sahiplik iddiasında bulunmak | assert(proxy.name, 'config.proxy[' + index + '].name is not defined'); |
| hata | config.proxy[ + index + ].proxy_name tanımlanmamış | sahiplik iddiasında bulunmak | assert(proxy.target_name, 'config.proxy[' + index + '].proxy_name is not defined'); |
| hata | config.proxy[ + index + ].revision tanımlanmamış | sahiplik iddiasında bulunmak | assert(proxy.revision, 'config.proxy[' + index + '].revision is not defined'); |
| hata | config.proxy[ + index + ].url tanımlanmamış | sahiplik iddiasında bulunmak | assert(proxy.url, 'config.proxy[' + index + '].url is not defined'); |
| hata | config.quota.allow bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.quota.allow === 'number', 'config.quota.allow is not a number'); |
| hata | config.quota.allow tanımlanmadı | sahiplik iddiasında bulunmak | assert(config.quota.allow, 'config.quota.allow is not defined'); |
| hata | config.quota.interval bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.quota.interval === 'number', 'config.quota.interval is not a number'); |
| hata | config.quota.interval tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.quota.interval, 'config.quota.interval is not defined'); |
| hata | config.spikearrest tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.spikearrest, 'config.spikearrest is not defined'); |
| hata | config.spikearrest.allow geçersiz | sahiplik iddiasında bulunmak | assert(+config.spikearrest.allow > 0, 'config.spikearrest.allow is invalid'); |
| hata | config.spikearrest.allow bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.spikearrest.allow === 'number', 'config.spikearrest.allow is not a number'); |
| hata | config.spikearrest.allow tanımlanmadı | sahiplik iddiasında bulunmak | assert(config.spikearrest.allow, 'config.spikearrest.allow is not defined'); |
| hata | config.spikearrest.bufferSize geçersiz | sahiplik iddiasında bulunmak | assert(+config.spikearrest.bufferSize > 0, 'config.spikearrest.bufferSize is invalid'); |
| hata | config.spikearrest.bufferSize bir sayı değil | sahiplik iddiasında bulunmak | assert(typeof config.spikearrest.bufferSize === 'number', 'config.spikearrest.bufferSize is not a number'); |
| hata | config.spikearrest.timeUnit tanımlanmamış | sahiplik iddiasında bulunmak | assert(config.spikearrest.timeUnit, 'config.spikearrest.timeUnit is not defined'); |
| hata | KRİTİK HATA: İndirilen ürün listesi ayrıştırılırken hata oluştu | callback | |
| hata | KRİTİK HATA: İndirilen proxy listesi ayrıştırılırken hata oluştu | callback | |
| hata | TESPİT EDİLEN ÜRÜN YANLIŞ YAPILANDIRMA HATASI | console.error | console.warn('using old cached configuration'); |
| hata | Yapılandırma okunurken hata oluştu: | battaniyeler | Yapılandırma yaml dosyası |
| hata | yapılandırma şu konuma kaydedilirken hata oluştu: | callback | Yapılandırma yaml dosyası |
| hata | fatal: cached config not available, unable to continue | callback | |
| hata | interval_message | sahiplik iddiasında bulunmak | assert(+config.quota.interval > 0, interval_message); |
| hata | config.edge_config.proxy için geçersiz protokol (http: veya https:: + proxy_url.protocol bekleniyor) | sahiplik iddiasında bulunmak | assert(proxy_url.protocol === 'http:' || proxy_url.protocol === 'https:', 'invalid protocol for config.edge_config.proxy (expected http: or https:): ' + proxy_url.protocol); |
| hata | config.edge_config.proxy için geçersiz proxy ana makinesi | sahiplik iddiasında bulunmak | assert(proxy_url.hostname, 'invalid proxy host for config.edge_config.proxy: ' + proxy_url.hostname); |
| hata | Görünüşe göre Edge Micro yapılandırılmamış. Lütfen yönetici kılavuzuna bakın. | callback | Sonuç: Yapılandırma yüklenemiyor |
| hata | anahtar eksik | sahiplik iddiasında bulunmak | assert(keys.key, 'key is missing'); |
| hata | must have configDir | sahiplik iddiasında bulunmak | assert(configDir, 'must have configDir') |
| hata | Mutlaka olması gereken seçenekler | sahiplik iddiasında bulunmak | assert(options, 'must have options'); |
| hata | kaynağı olmalıdır | sahiplik iddiasında bulunmak | assert(source, 'must have source') |
| hata | yüklemek için kaynak olmalıdır | sahiplik iddiasında bulunmak | assert(options.source, 'must have source to load from') |
| hata | must have targetFile | sahiplik iddiasında bulunmak | assert(fileName, 'must have targetFile') |
| hata | Seçenekler boş olamaz | sahiplik iddiasında bulunmak | assert(options, 'options cannot be null'); |
| hata | options.keys boş olamaz | sahiplik iddiasında bulunmak | assert(options.keys, 'options.keys cannot be null'); |
| hata | port_message | sahiplik iddiasında bulunmak | assert(+config.edgemicro.port < 65536, port_message); |
| hata | products bir dizi olmalıdır | sahiplik iddiasında bulunmak | assert(Array.isArray(products), 'products should be an array'); |
| hata | "proxies for product " + product + " should be an array" | sahiplik iddiasında bulunmak | assert(Array.isArray(product.proxies), 'proxies for product ' + product + ' should be an array'); |
| hata | secret eksik | sahiplik iddiasında bulunmak | assert(keys.secret, 'secret is missing'); |
| hata | hedef ayarlanmadı | sahiplik iddiasında bulunmak | assert(target, 'target is not set'); |
| uyarma | Yapılandırma indirilirken hata oluştu. Lütfen bootstrap yapılandırmasını kontrol edin. | console.warn | |
| uyarma | jwt_public_key indirilemedi | console.warn | |
| uyarma | jwk anahtarları etkinleştirilmemişse | console.warn | |
| uyarma | message, 'download from', url, 'returned' | console.warn | Şunu ara: (.*)\sdownload from\s(.*)\sreturned |
| uyarma | Yanıt içinde hiçbir uç mikro ürünü bulunamadı | console.warn | |
| uyarma | Kuruluşta sınır mikro proxy'leri bulunamadı | console.warn | |
| uyarma | Yanıt içinde sınır mikro proxy'leri bulunamadı | console.warn | |
| uyarma | Kuruluşta ürün bulunamadı | console.warn | |
| uyarma | Yanıt içinde ürün bulunamadı | console.warn | |
| uyarma | eski önbelleğe alınmış yapılandırmayı kullanma | console.warn | |
microgateway-plugins modülü |
|||
| hata | Yapılandırma mevcut değil | battaniyeler | YAML dosyasıyla ilgili |
| hata | apikey | HTTP yanıtı | apiky eklentisindeki hatalar |
| hata | bauth | HTTP yanıtı | bauth eklentisindeki hatalar |
| hata | extauth | HTTP yanıtı | extauth eklentisindeki hatalar |
| hata | Oauth | HTTP yanıtı | OAuth eklentisindeki hatalar |
| uyarma | Apigee analizleri işlenirken hatayla karşılaşıldı. İstek işleme sürecinin devam etmesine izin verme | logger.error | |
| uyarma | yoksayma hatası | console.warn | apikeys, oauth ve oauthv2 eklentileri |
| uyarma | jwt ayrıştırma hatası: | console.warn | |
| uyarma | oath response object lacks setHeader | console.warn | oauth parametre hatası, bazı hataların bildirilmeyeceğini gösterir. |
| uyarma | oath response object is not supplied by runtime | console.warn | oauth parametre hatası |
| uyarma | oath stats object is not supplied by runtime | console.warn | oauth parametre hatası |
apigeetool-node modülü |
|||
| hata | Delete Cache failed with status code %d', res.statusCode | callback | deletecache.js içinde oluşturulur. Apigee Edge'den alınan durum kodu. done(new Error(errMsg)); mesajıyla geri çağırma işlevine bir yığın izleme hatası iletir. |
| hata | Ürün silme işlemi %d durum koduyla başarısız oldu, res.statusCode | callback | deleteproduct.js dosyasında oluşturuldu. Apigee Edge'den alınan durum kodu. done(new Error(errMsg)); mesajıyla geri çağırma işlevine bir yığın izleme hatası iletir. |
| hata | org, api ve revision parametrelerinin tümü belirtilmelidir. | callback | fetchproxy.js'de oluşturulur. Yapılandırma hatası. |
| hata | Proxy getirilirken %d hatası alındı: %j | callback | fetchproxy.js'de oluşturulur. 200 dışında bir durum kodu. |
| hata | Uygulama oluşturma işlemi %d durum koduyla başarısız oldu | callback | createapp.js'de oluşturulur. Tüm hataları geri çağırmalara yığın izi hataları olarak geri iletir. Konsol yazdırması veya günlük girişi yapmaz. |
| hata | command + ' komutu %d durum koduyla başarısız oldu | callback | command-utils.js içinde oluşturulur. Bu modüle ayrıştırılıp iletilen her komut için, 200 veya 201 olmayan tüm kodlar hata mesajı oluşturur. Bu mesajı biçimlendirir ancak yazdırmaz. Yığın izleme hatasını iletiyle birlikte geri çağırmalara iletir. |
| hata | Paylaşılan akış getirilirken %d hatası alındı: %s | callback | fetchsharedflow.js içinde oluşturulur. 200 olmayan tüm HTTP durumları için. İşlem başarılı olursa ancak dosya yazılamazsa konsola şu mesaj yazılır: Failed to write file Error text: [stack_trace_error] |
| hata | Create KeySecret failed with status code %d', res.statusCode | callback | createappkey.js içinde oluşturulur. Apigee Edge'den gelen ve 200 veya 201 olmayan HTTP durum kodları için. |
| hata | Create Cache failed with status code %d', res.statusCode | callback | createcache.js'de oluşturulur. Apigee Edge'den gelen ve 200 veya 201 olmayan HTTP durum kodları için. |
| hata | Create Product failed with status code %d', res.statusCode | callback | createproduct.js içinde oluşturulur. Apigee Edge'den gelen ve 201 olmayan HTTP durum kodları için. HTTP durumu 201 ise ancak yanıtta hata JSON'u varsa hata JSON'u geri çağırmaya yönlendirilir. |
| hata | Uygulama silme işlemi, %d durum koduyla başarısız oldu, res.statusCode | callback | deleteapp.js dosyasında oluşturulur. Apigee Edge'den gelen ve 200 olmayan HTTP durum kodları için. HTTP durumu 200 ise ancak yanıtta hata JSON'u varsa hata JSON'u geri çağırmaya yönlendirilir. |
| hata | Create Developer failed with status code %d', res.statusCode | callback | createdeveloper.js dosyasında oluşturuldu. Apigee Edge'den gelen ve 201 olmayan HTTP durum kodları için. HTTP durumu 201 ise ancak yanıtta hata JSON'u varsa hata JSON'u geri çağırmaya yönlendirilir. |
| hata | Geliştiriciyi silme işlemi %d durum koduyla başarısız oldu, res.statusCode | callback | deletedeveloper.js dosyasında oluşturuldu. Apigee Edge'den gelen ve 200 olmayan HTTP durum kodları için. HTTP durumu 200 ise ancak yanıtta hata JSON'u varsa hata JSON'u geri çağırmaya yönlendirilir. |
Eklenti hataları
accesscontrol plug-in
This section describes the error codes and messages that are returned by the
accesscontrol plug-in with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| Not printed | Forbidden | 403 | Access control rule |
accumulate-request plug-in
This section describes the error codes and messages that are returned by the
accumulate-request plug-in with descriptions of possible causes.
No errors generated.
accumulate-resopnse plug-in
This section describes the error codes and messages that are returned by the
accumulate-response plug-in with descriptions of possible causes.
No errors generated.
analytics plug-in
This section describes the error codes and messages that are returned by the
analytics plug-in with descriptions of possible causes.
Errors encountered processing Apigee analytics are written to the Edge Microgateway log. Edge Microgateway processing continues.
apikeys plug-in
This section describes the error codes and messages that are returned by the
apikeys plug-in with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| invalid_request | Invalid Request | 400 | allowNoAuthorization == false
No Authorization header in the HTTP request allowOAuthOnly == true |
| invalid_request | API Key Verification URL not configured | 400 | Verification API service not in header. |
| access_denied | Copy service message | 403 | In response to the auth service timeout |
| missing_authorization | Missing API Key header | 401 | allowAPIKeyOnly == true
Unless allowInvalidAuthorization |
| invalid_authorization | Invalid Authorization header | 401 | allowOAuthOnly == true
Authorization-header not in HTTP |
| gateway_timeout | Copy service message | 504 | In response to the auth timeout |
| default | 500 | All other not categorized |
bauth plug-in
This section describes the error codes and messages that are returned by the
bauth plug-in with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| missing_authorization | Missing API Key header | 401 | allowAPIKeyOnly == true
Unless allowInvalidAuthorization |
| invalid_authorization | Invalid Authorization header | 401 | allowOAuthOnly == true
Authorization-header not in HTTP |
| gateway_timeout | Copy service message | 504 | In response to the auth timeout |
| default | 500 | All other not categorized |
cloud-foundry-route-service plug-in
This section describes the error codes and messages that are returned by the
cloud-foundry-route-service plug-in with descriptions of possible causes.
No errors generated.
cors plug-in
This section describes the error codes and messages that are returned by the
cors plug-in with descriptions of possible causes.
No errors generated.
eurekaclient plug-in
This section describes the error codes and messages that are returned by the
eurekaclient plug-in with descriptions of possible causes.
The eurekaclient plug-in throws a few console errors only, including a stack trace error on failed start and a warning about the target endpoint from Eureka not found.
extauth plug-in
This section describes the error codes and messages that are returned by the
extauth plug-in with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| invalid_request | Invalid Request | 400 | allowNoAuthorization == false
No Authorization header in the HTTP request allowOAuthOnly == true |
| invalid_request | API Key Verification URL not configured | 400 | Verification API service not in header. |
| access_denied | Copy service message | 403 | In response to the auth service timeout |
| missing_authorization | Missing API Key header | 401 | allowAPIKeyOnly == true
Unless allowInvalidAuthorization |
| invalid_authorization | Invalid Authorization header | 401 | allowOAuthOnly == true
Authorization-header not in HTTP |
| gateway_timeout | Copy service message | 504 | In response to the auth timeout |
| default | 500 | All other not categorized |
header-uppercase plug-in
This section describes the error codes and messages that are returned by the
header-uppercase plug-in with descriptions of possible causes.
No errors generated.
healthcheck plug-in
This section describes the error codes and messages that are returned by the
healthcheck plug-in with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| 503 | Too busy. No messages in HTTP or console | ||
| default | Application is not running on specified application port | 500 | All other not categorized |
invalidHeader plug-in
This section describes the error codes and messages that are returned by the
invalidHeader plug-in with descriptions of possible causes.
No errors generated.
json2xml plug-in
This section describes the error codes and messages that are returned by the
json2xml plug-in with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| default | 500 | All other not categorized |
monitor plug-in
This section describes the error codes and messages that are returned by the
monitor plug-in with descriptions of possible causes.
No errors generated.
oauth plug-in (v1)
This section describes the error codes and messages that are returned by the
oauth plug-in (v1) with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| invalid_request | Invalid Authorization Header | 400 |
|
| invalid_request | API Key Verification URL not configured | 400 | Verification API service not in header. |
| Access_denied | Copy service message | 403 | In response to the auth service timeout |
| invalid_token | Missing API Key header | 401 | allowAPIKeyOnly == true
Unless allowInvalidAuthorization is set |
| invalid_token | token could not be parsed | 401 | allowAPIKeyOnly == true
Bad token delivered |
| missing_authorization | Missing Authorization header | 401 | allowNoAuthorization == false
Authorization-header in HTTP allowOAuthOnly == true |
| invalid_authorization | Invalid Authorization header | 401 | allowOAuthOnly == true
Authorization-header not in HTTP |
| gateway_timeout | Copy service message | 504 | In response to the auth timeout |
| default | 500 | All other uncategorized responses |
oauthv2 plug-in
This section describes the error codes and messages that are returned by the
oauthv2 plug-in with descriptions of possible causes.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| invalid_request | Invalid Authorization Header | 400 |
|
| invalid_request | API Key Verification URL not configured | 400 | Verification API service not in header |
| access_denied | Copy service message | 403 | In response to the auth service timeout |
| invalid_token | Missing API Key header | 401 | allowAPIKeyOnly == true
Unless allowInvalidAuthorization is set |
| invalid_token | token could not be parsed | 401 | allowAPIKeyOnly == true
Bad token delivered |
| missing_authorization | Missing Authorization header | 401 | allowNoAuthorization == false
Authorization-header in HTTP allowOAuthOnly == true |
| invalid_authorization | Invalid Authorization header | 401 | allowOAuthOnly == true
Authorization-header not in HTTP |
| gateway_timeout | Copy service message | 504 | In response to the auth timeout |
| default | 500 | All other uncategorized responses |
quota plug-in
This section describes the error codes and messages that are returned by the
quota plug-in with descriptions of possible causes.
Defers to volos quota/apigee.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| invalid_authorization | Invalid Authorization header | 401 | allowOAuthOnly == true
Authorization-header not in HTTP |
| gateway_timeout | Not authorized to call the remote proxy. Check the "key" parameter. | 404 | In response to the auth timeout |
| default | 500 | All other not categorized | |
| throw | uri parameter must be specified | apigeequota.js | |
| throw | key parameter must be specified | apigeequota.js | |
| callback | Apigee Remote Proxy not found at: ' + self.uri + '. Check your configuration | apigeequota.js | |
| callback | HTTP error getting proxy version: %d. Check the "uri" parameter. | apigeequota.js | |
| callback | Quotas with a fixed starting time are not supported | apigeequota.js | |
| callback | Error updating remote quota: %d %s', resp.statusCode, body | apigeequota.js |
If there is an error on an entry in the product list, the product list will stop being processed.
quota-memory plug-in
This section describes the error codes and messages that are returned by the
quota-memory plug-in with descriptions of possible causes.
Defers to volos quota/apigee.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| invalid_authorization | Invalid Authorization header | 401 | allowOAuthOnly == true
Authorization-header not in HTTP |
| gateway_timeout | Not authorized to call the remote proxy. Check the "key" parameter. | 404 | In response to the auth timeout |
| default | 500 | All other not categorized | |
| throw | start time not allowed for month time units | quota.js. volos error on time format. | |
| throw | Invalid start time %s | quota.js. volos error on time format. | |
| throw | Invalid timeUnit %s | quota.js. volos error on time format. |
If there is an error on an entry in the product list, the product list will stop being processed.
spikearrest plug-in
This section describes the error codes and messages that are returned by the
spikearrest plug-in with descriptions of possible causes.
Defers to volos spikearrest/memory.
| Error | Message | HTTP status | Possible Causes |
|---|---|---|---|
| SpikeArrest engaged | 503 | Traffic spike. This is expected behavior. | |
| throw | Invalid timeUnit %s | spikearrest.js | |
| callback | key must be a string | spikearrest.js | |
| throw | %s must be a number', name | spikearrest.js |
transform-uppercase plug-in
This section describes the error codes and messages that are returned by the
transform-uppercase plug-in with descriptions of possible causes.
No errors generated.