Skip to content

Commit e7f9285

Browse files
committed
fix(clients): link to support/help center on unreachable hosts
1 parent 95dd611 commit e7f9285

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/CTS/client/search/api.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,17 @@
132132
},
133133
"expected": {
134134
"error": {
135-
"csharp": "RetryStrategy failed to connect to Algolia. Reason: The operation has timed out.",
136-
"dart": "UnreachableHostsException{errors: [AlgoliaTimeoutException{error: DioException [receive timeout]: The request took longer than 0:00:05.000000 to receive data. It was aborted. To get rid of this exception, try raising the RequestOptions.receiveTimeout above the duration of 0:00:05.000000 or improve the response time of the server.}]}",
137-
"go": "failed to do request: all hosts have been contacted unsuccessfully, it can either be a server or a network error or wrong appID/key credentials were used. You can use 'ExposeIntermediateNetworkErrors: true' in the config to investigate.",
138-
"java": "Error(s) while processing the retry strategy\\nCaused by: java.net.SocketTimeoutException: timeout",
139-
"javascript": "Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",
140-
"kotlin": "Error\\\\(s\\\\) while processing the retry strategy",
141-
"php": "Impossible to connect, please check your Algolia Application Id.",
142-
"python": "Unreachable hosts",
143-
"ruby": "Unreachable hosts. Last error for %localhost%: Net::ReadTimeout with #<TCPSocket:(closed)>",
144-
"scala": "Error(s) while processing the retry strategy",
145-
"swift": "All hosts are unreachable. You can use 'exposeIntermediateErrors: true' in the config to investigate."
135+
"csharp": "RetryStrategy failed to connect to Algolia. Reason: The operation has timed out. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.",
136+
"dart": "UnreachableHostsException{errors: [AlgoliaTimeoutException{error: DioException [receive timeout]: The request took longer than 0:00:05.000000 to receive data. It was aborted. To get rid of this exception, try raising the RequestOptions.receiveTimeout above the duration of 0:00:05.000000 or improve the response time of the server. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.}]}",
137+
"go": "failed to do request: all hosts have been contacted unsuccessfully, it can either be a server or a network error or wrong appID/key credentials were used. You can use 'ExposeIntermediateNetworkErrors: true' in the config to investigate. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.",
138+
"java": "Error(s) while processing the retry strategy. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.\\nCaused by: java.net.SocketTimeoutException: timeout",
139+
"javascript": "Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.",
140+
"kotlin": "Error\\\\(s\\\\) while processing the retry strategy. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.",
141+
"php": "Impossible to connect, please check your Algolia Application Id. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.",
142+
"python": "Unreachable hosts. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.",
143+
"ruby": "Unreachable hosts. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support. Last error for %localhost%: Net::ReadTimeout with #<TCPSocket:(closed)>",
144+
"scala": "Error(s) while processing the retry strategy. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.",
145+
"swift": "All hosts are unreachable. You can use 'exposeIntermediateErrors: true' in the config to investigate. If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support."
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)