簡體   English   中英

CloudHub HTTPS端點無法正常工作

[英]CloudHub HTTPS endpoint not working

我已經為我的mulesoft流設置了一個HTTPS端點,它在本地工作得很好。

https://開頭的 'localhost':8081 / customerquote

一旦我在CloudHub上部署它,我無法使用https聯系網址,URL看起來像https://myappname.cloudhub.io/customerquote它只響應HTTP報告SSL握手錯誤當然。

已經嘗試將端點端口切換到443或8443而沒有任何結果。

任何想法 ?

在部署到CloudHub時,需要使用屬性占位符:
http://www.mulesoft.org/documentation/display/current/Developing+a+CloudHub+Application

如果您的應用程序需要外部可訪問的HTTP或HTTPS端口來接收消息,觸發事件或公開Web服務或用戶界面,則必須使用保留屬性$ {http.port}或$ {https.port}聲明端口。 在CloudHub上,端口$ {http.port}或$ {https.port}由平台服務自動分配。 端口80上的應用程序域URL流量將路由到此端口。

HTTPS偵聽器需要TLS配置。

請參考此鏈接https://developer.mulesoft.com/docs/display/current/Building+an+HTTPS+Service

我確實復制了這里報告的確切示例並且它有效

http://www.mulesoft.org/documentation/display/current/Building+an+HTTPS+Service

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM