Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
MicrosoftSQLサーバーからBigqueryへの連携をSSHを利用して設定をしています。
その際にエラーが発生し接続できていません。その際のログを添付していますが、原因についてわかりますでしょうか?
以下のリンクより事前設定は行っているつもりです。(ホワイトリストへの追加、ユーザーの作成と権限の付与、SSHサーバーの用意等)
Hello @Juri Furukawa ,
Regarding to the error log, seems there is a whitespace in the sqlserver Host (Endpoint) settings which is 34.87.178.164
could you please remove the whitespace for the host in Step 4.1: Enter connection details into Stitch
of the above article link to re-try?
...
2023-04-17 03:58:41,994Z main - INFO To reproduce: `ssh -nNT -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oPasswordAuthentication=no -oNumberOfPasswordPrompts=0 -oServerAliveInterval=30 -oExitOnForwardFailure=yes -oConnectTimeout=1 -oConnectionAttempts=3 -p22 -i/tmp/tmpbbk3wjj3 "-L127.0.0.1:38353:34.87.178.164 :1433" stitch@gateway.ldp.dev-lixil.com`
...
空白を削除し設定し直しましたが再度エラーになってしまいました。エラーログを確認いただけますか?よろしくおねがいします。
Hello @Juri Furukawa ,
Regarding to the error log , the problem is that it can not connect to the mssql server db 34.87.178.164:1433
could you please check if it allow remote access on the port 1433 in the sqlserver db network configuration?
1433ポートが有効になっているのを確認しましたが、確認箇所方法はあっていますか?
@Juri Furukawa ,
Please try to check if the server gateway.ldp.dev-lixil.com is in the whitelist of the above db network configuration?
as a test, you can SSH login the server gateway.ldp.dev-lixil.com , and try the below command to test if it can connected?
#wget 34.87.178.164 :1433
This was due to the fact that the data source did not allow connections from the Internet. Thank you for your support.