简体   繁体   English

Bluemix Secure Gateway-如何连接Bluemix应用程序?

[英]Bluemix Secure Gateway - How to connect Bluemix Application?

I've succeed to install the Bluemix Gateway service component as well as to setup the client software at a Linux system, following the "on-premises" scheme.The client is visible in the gateway and I see two green rings confirming the connectivity with a TLS tunnel. 我已按照“本地”方案成功安装了Bluemix Gateway服务组件并在Linux系统上设置了客户端软件。该客户端在网关中可见,并且我看到两个绿色的环,确认与TLS隧道。

The issue arise when connecting the Bluemix application, a REST consumer that works with HTTPS GET, retrieving data from a REST resource that is located on premises. 连接Bluemix应用程序(与HTTPS GET一起使用的REST使用者)并从位于本地的REST资源中检索数据时,就会出现问题。 For this purpose, I've replaced the internal host & domain name, with a simple cloud host name like "abc123" given at the registry of the destination (with no domain) plus aport number :1234, what at the application side gives an address construction of: https://abc123:1234/mypath_to_the_app 为此,我已将内部主机名和域名替换为简单的云主机名,例如在目标注册表(没有域)中给出的“ abc123”加端口号:1234,在应用程序端给出的是地址构造: https:// abc123:1234 / mypath_to_the_app

I tried to follow the manual which tells: 我试图按照手册说明:

"Instructions: “说明:
In the repository where you are creating your app, when you establish a connection to your on-premises or cloud data, replace the host name and port number with the cloud host name and port number that you were given when you created the destination." 在创建应用程序的存储库中,当您建立到本地或云数据的连接时,将主机名和端口号替换为创建目标时提供的云主机名和端口号。”

The error displayed at the Bluemix REST application log is "unknown host name". Bluemix REST应用程序日志上显示的错误是“未知主机名”。

My Question: What is the correct way to address the "Secure Gatweay" and its destination at the a Bluemix application executing a REST HTTPS GET request? 我的问题:在执行REST HTTPS GET请求的Bluemix应用程序中解决“安全Gatweay”及其目的地的正确方法是什么? Any further setup required to publish the Secure gateway destination address? 发布安全网关目标地址是否需要任何进一步的设置?

遵循@Galen Keene发布的建议,我们能够圈出问题并解决问题(请参见上面的评论)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM