2016-06-13 16 views
0

我試圖使用安全網關將本地SQL Server連接到DataWorks。我已經創建了Secure Gateway(在我的PC上安裝了客戶端並可以連接到它)。使用安全網關將內部部署Microsoft SQL Server連接到Dataworks

當我去dataworks - >任務 - >創建連接 - > Microsoft SQL Server中完成的字段,然後點擊「創建連接」,我得到的錯誤:

The connection Connection1 could not be validated due to a failure when using secure gateway to access the system.

Ensure that your secure gateway client is running and configured correctly. Contact your system administrator if necessary.

Validation of the connection properties failed and reported a failure using secure gateway to access the system. CDICO0208E: When trying to access the secure gateway TestSecureGateway(yQJbCeTz3fm_prod_ng) endpoint JDBC_XXX_XXX(yQJbCeTz3fm_b2d), on premise address XXXX:port, got the error: Broken pipe, check the secure gateway endpoint status and configuration.

Additional information:
Message ID: CDICO8111E;
HTTP status: 400

任何想法如何解決這個問題?

謝謝!

+0

這可能是SG客戶端沒有正確設置,例如,錯誤的端口,防火牆阻止,...我有一個示例應用程序,通過設置。 https://github.com/data-henrik/Bluemix-onprem-data –

+0

謝謝,我能弄明白。你是對的,這是一個錯誤的端口,防火牆等組合。 – user6460555

+0

我補充說,什麼檢查答案,以便其他人可以受益。 –

回答

0

通常,一般設置是正確完成的,但遇到以上錯誤消息。有些事情要檢查:

  • 是在客戶端啓用該端口的訪問控制列表(ACL)?否則端口被阻塞。
  • 數據庫服務器上的防火牆是否阻止SG客戶端的訪問?
  • 是在通用網關設置中指定的IP地址或主機名,可由SG客戶端看到?

SG客戶端可能安裝在單獨的機器上或數據庫服務器上,但仍缺少ACL可能會導致錯誤。

當我爲我的博客創建教程時,我親自遇到了所有人。