@lightdash/warehouses 2.427.1 → 2.427.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,10 +34,10 @@ const classifySshClientError = (error, { tcpConnected, handshakeCompleted }) =>
|
|
|
34
34
|
};
|
|
35
35
|
exports.classifySshClientError = classifySshClientError;
|
|
36
36
|
const describeSshTunnelFailure = ({ stage, sshHost, sshPort, sshUser, databaseHost, databasePort, staticIp, cause, }) => {
|
|
37
|
-
const from = staticIp ? ` from
|
|
37
|
+
const from = staticIp ? ` from ${staticIp}` : '';
|
|
38
38
|
const allow = staticIp
|
|
39
39
|
? `Allow inbound SSH from ${staticIp} in the bastion's security group or firewall.`
|
|
40
|
-
: "Allow inbound SSH from
|
|
40
|
+
: "Allow inbound SSH from this application's IP in the bastion's security group or firewall.";
|
|
41
41
|
switch (stage) {
|
|
42
42
|
case 'resolve':
|
|
43
43
|
return `The SSH host "${sshHost}" does not resolve to an address. Check the SSH Remote Host for typos and make sure it is a public hostname or IP. (${cause})`;
|
|
@@ -116,7 +116,7 @@ const rewriteParserError = (err) => {
|
|
|
116
116
|
const rawMessage = err instanceof Error ? err.message : String(err);
|
|
117
117
|
const authCodeMatch = rawMessage.match(/Unknown authenticationOk message type (\d+)/);
|
|
118
118
|
if (authCodeMatch) {
|
|
119
|
-
return `Warehouse server requested an unsupported authentication method (code ${authCodeMatch[1]}). This is commonly seen on AWS Redshift endpoints with IAM Identity Center enabled, which
|
|
119
|
+
return `Warehouse server requested an unsupported authentication method (code ${authCodeMatch[1]}). This is commonly seen on AWS Redshift endpoints with IAM Identity Center enabled, which is not supported. Please use a Redshift endpoint configured for native username/password authentication.`;
|
|
120
120
|
}
|
|
121
121
|
return `Unsupported warehouse protocol message: ${rawMessage}`;
|
|
122
122
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/warehouses",
|
|
3
|
-
"version": "2.427.
|
|
3
|
+
"version": "2.427.3",
|
|
4
4
|
"description": "Warehouse connectors for Lightdash",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@databricks/sql": "1.13.0",
|
|
22
22
|
"@duckdb/node-api": "1.5.2-r.2",
|
|
23
23
|
"@google-cloud/bigquery": "8.3.1",
|
|
24
|
-
"@lightdash/common": "2.427.
|
|
24
|
+
"@lightdash/common": "2.427.3",
|
|
25
25
|
"node-fetch": "2.7.0",
|
|
26
26
|
"pg": "8.13.1",
|
|
27
27
|
"pg-cursor": "2.10.0",
|