Cloud Founry Loggregator无法建立连接

问题描述:

早上好,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

Cloud Foundry的CLI升级到6.22.2,因为你可能会面临的问题与现有的CF CLI命令提示您已安装在您的应用程序框中。请尝试从下面的位置安装最新的CLI并验证一次。

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

+0

您好vpopuri,谢谢你的回应。不幸的是,我在6.22.2中遇到了一些问题。 – Stburcher

它看起来像你的Cloud Foundry的运营商改变了多普勒端点端口从4443到443
的CF CLI本地缓存多普勒端点URL,并在老港口仍然指向。

使用cf apicf login -a重新设置您的端点;这将刷新本地缓存的数据。

最后,我找到了。我与DNS服务器的连接出现问题。修复后,它的工作。 DNS没有回答。