Cloud Founry Loggregator无法建立连接

时间:2016-11-29 08:45:16

标签: cloudfoundry bosh

早上好,

我对cf doppel有问题。使用cf logs app --recent我收到了错误

  

cf logs app FAILED错误拨打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 push相同的问题。

我们正在使用CF 239和CF CLI 6.22.1。

doppler配置是:

- 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 curl / v2 / info

{
   "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"
}

3 个答案:

答案 0 :(得分:0)

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

LINQ to Xml

答案 1 :(得分:0)

您的Cloud Foundry操作员看起来将多普勒端点端口从4443更改为443 cf CLI在本地缓存doppler端点url,并且仍然指向旧端口。

使用slide(el, done) { $(el).animate({ opacity: "toggle", height: "toggle" }, 500, "linear"); }, cf api重新设置您的终端;这将刷新本地缓存的数据。

答案 2 :(得分:0)

最后,我发现了它。我遇到了与DNS服务器连接的问题。修好之后就可以了。 DNS没有回答。