2016-11-29 116 views
0

早上好,Cloud Founry Loggregator無法建立連接

我有一個cf doppel的問題。採用CF日誌應用--recent我得到一個錯誤

CF日誌應用程序失敗的錯誤撥號trafficcontroller服務器:閱讀TCP 10.0.0.6:45719->139.25.25.233:4443:I/O超時。請要求您的Cloud Foundry Operator檢查平臺配置 (trafficcontroller是wss://doppler.de.cloudlab.com:4443)。

與cf推相同的問題。

我們使用CF 239和CF CLI 6.22.1。

多普勒配置爲:

- name: doppler instances: 1 vm_type: medium azs: [INDIA] stemcell: ubuntu-trusty templates: 
    - {name: doppler, release: cf} 
    - {name: metron_agent, release: cf} 
    - {name: syslog_drain_binder, release: cf} networks: 
    - name: private properties: 
    doppler_endpoint: 
     shared_secret: password 


- name: loggregator_trafficcontroller instances: 1 vm_type: medium azs: [INDIA] stemcell: ubuntu-trusty templates: 
    - {name: loggregator_trafficcontroller, release: cf} 
    - {name: metron_agent, release: cf} 
    - {name: route_registrar, release: cf} networks: 
    - name: private properties: 
    route_registrar: 
     routes: 
     - name: doppler 
     registration_interval: 20s 
     port: 8081 
     uris: 
     - "doppler.<%= system_domain %>" 
     - name: loggregator 
     registration_interval: 20s 
     port: 8080 
     uris: 
      - "loggregator.<%= system_domain %>" 

NC能夠建立與路由器的連接。

nc -vz 139.25.25.233 4443 連接到139.25.25.233 4443端口[tcp/*]成功了!

有什麼想法?

更新: 一些更多的信息

$ CF捲曲/ V2 /信息

{ 
    "name": "", 
    "build": "", 
    "support": "", 
    "version": 0, 
    "description": "CloudFoundry IN", 
    "authorization_endpoint": "https://login.de.cloudlab.com", 
    "token_endpoint": "https://uaa.de.cloudlab.com", 
    "min_cli_version": null, 
    "min_recommended_cli_version": null, 
    "api_version": "2.57.0", 
    "app_ssh_endpoint": "ssh.de.cloudlab.com:2222", 
    "app_ssh_host_key_fingerprint": null, 
    "app_ssh_oauth_client": "ssh-proxy", 
    "logging_endpoint": "wss://loggregator.de.cloudlab.com:4443", 
    "doppler_logging_endpoint": "wss://doppler.de.cloudlab.com:443" 
} 
+0

cf cli抱怨說它無法連接到'192.168.0.233:4443:I/O timeout.',但你正在測試'nc -vz 139.25.25.233 4443'。爲什麼它得到192.168.0.233,爲什麼你測試其他IP而不是192.168.0.233? 192.168.0.233是否正確/不正確? 「loggregator.de.cloudlab.com」和「doppler.de.cloudlab.com」在您嘗試運行'cf logs'的機器上解析了什麼? –

+0

@DanielMikusa對不起我的錯。我混淆了配置。現在,我已將其更改爲正確的版本。 – Stburcher

回答

0

Cloud Foundry的CLI升級到6.22.2,因爲你可能會面臨的問題與現有的CF CLI命令提示您已安裝在您的應用程序框中。請嘗試從下面的位置安裝最新的CLI並驗證一次。

https://github.com/cloudfoundry/cli/releases

+0

您好vpopuri,謝謝你的迴應。不幸的是,我在6.22.2中遇到了一些問題。 – Stburcher

0

它看起來像你的Cloud Foundry的運營商改變了多普勒端點端口從4443到443
的CF CLI本地緩存多普勒端點URL,並在老港口仍然指向。

使用cf apicf login -a重新設置您的端點;這將刷新本地緩存的數據。

0

最後,我找到了。我與DNS服務器的連接出現問題。修復後,它的工作。 DNS沒有回答。