Snowflake odbc error while loading in informatica - snowflake-cloud-data-platform

I am getting a the below error when loading a snowflake table using ODBC, any help appreciated
WRT_8229 Database errors occurred:
FnName: Execute -- [Snowflake][Snowflake] (4)
REST request for URL https://xxxxxxdev.us-east-1.snowflakecomputing.com:443/queries/v1/query-request?requestId=deed9c65-c4be-4d10-a6ec-ce042682168e&request_guid=b4684834-6373-411c-957a-e89f1110014f failed: HTTP error (http error) - code=400.
FnName: Execute -- [DataDirect][ODBC lib] Function sequence error

Related

Snowflake connection Error: ' code=35 msg='SSL connect error'

I have an error popping up randomly and frequently when connecting to a Snwoflake Instance via ODBC (Windows-Excel). Drivers are up to date, and other tools connect without an issue using the same driver. Does anyone have an idea of how to fix it?
Thanks in advance!
Detalles: "ODBC: ERROR [HY000] [Snowflake][Snowflake] (4)
REST request for URL https://xxxxxx.us-east-1.snowflakecomputing.com:443/session/v1/login-request?requestId=f2c84d1a-3bfa-450b-95e4-9d41fe2a302e&request_guid=e090e19b-98af-41b7-8f5f-913e02d3b070 failed: CURLerror (curl_easy_perform() failed) - code=35 msg='SSL connect error'.
ERROR [HY000] [Snowflake][Snowflake] (4)
REST request for URL https://xxxxxx.us-east-1.snowflakecomputing.com:443/session/v1/login-request?requestId=f2c84d1a-3bfa-450b-95e4-9d41fe2a302e&request_guid=e090e19b-98af-41b7-8f5f-913e02d3b070 failed: CURLerror (curl_easy_perform() failed) - code=35 msg='SSL connect error'.
"

How to change solr.jetty.request.header.size in docker

I have created a Solr version 8.1.1 in Azure using a Docker for Sitecore. I get the following error for a large query
ERROR Error during executing a query.
Exception: SolrNet.Exceptions.SolrConnectionException
Message: <h1>Bad Message 431</h1><pre>reason: Request Header Fields Too Large</pre>
Source: SolrNet
at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)
at SolrNet.Impl.SolrQueryExecuter`1.Execute(ISolrQuery q, QueryOptions options)
at Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1.ExecuteQuery(SolrCompositeQuery compositeQuery, QueryOptions options)
Nested Exception
Exception: System.Net.WebException
Message: The remote server returned an error: (431) Request Header Fields Too Large.
Source: System
at System.Net.HttpWebRequest.GetResponse()
at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()
at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)
at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)
I managed to resolve the issue by redeploy the Docker instance by updating the YML file with the following setting under environment section.
- SOLR_OPTS=-Dsolr.jetty.request.header.size=65535

Reliable way to connect to Amazon RDS endpoint

Currently we connect from our app to the RDS endpoint using it's hostname:
xxxx-db.xxxxxxxxxxxxx.eu-west-1.rds.amazonaws.com
It seems the dns service went down for a period of time last night resulting in:
ERROR - 2019-07-11 23:02:46 --> Severity: Warning --> mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution /var/app/current/system/database/drivers/mysqli/mysqli_driver.php 201
ERROR - 2019-07-11 23:02:46 --> Severity: Warning --> mysqli::real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution /var/app/current/system/database/drivers/mysqli/mysqli_driver.php 201
ERROR - 2019-07-11 23:02:46 --> Unable to connect to the database
Is there a better way to access the DB server skipping the dns?

How to resolve Internal Server Error when using webservices in CN1

How to resolve Internal Server Error using webservices in CN1.
I am facing this problem when trying to interact with the mysql database using webservices. I was trying to insert into the database. when I monitor the network in the simulator. this is what I am getting in the post body:
{"birthday": "ADMIN",
"password": "test1#weblite.ca",
"name": "ade",
"bio": "ADMIN",
"email": "testpass1"}
I am getting this in response headers
null=[HTTP/1.1 500 Internal Server Error]
Connection=[close]
Content-Length=[1876]
Date=[Tue, 24 Jan 2017 12:36:39 GMT]
Content-Language=[]
Content-Type=[text/html]
Pls what am I missing here that I can't insert record into the database? Thanks
[EDT] 0:0:0,31 - Find request failed. Response code was 500
[EDT] 0:0:0,31 - Exception: java.lang.NullPointerException - null
java.lang.NullPointerException
at com.mycompany.myapp.IAPDemo$1.lambda$fetchReceipts$0(IAPDemo.java:87)
at com.codename1.ws.RESTfulWebServiceClient.lambda$find$7(RESTfulWebServiceClient.java:234)
Java Result: 1
BUILD SUCCESSFUL (total time: 2 minutes 2 seconds)
That is what I am getting as the full error. if anyone can figure out what I am missing here pls should tell me. thanks
The clue should be in the words "Internal Server Error". 500 errors are errors that happened within the server. You need to login to the server and look at the logs within the server.

Error: Test Connection Failed for MC_Ten. Failed to Connect to the End Point : Reason Unknown

I'm trying to create a connection "Salesforce Marketing Cloud (Cloud Computing)" in Informatica Cloud as shown in the picture
But it gives me the error in question
File fuelsdk-test.properties I entered:
endpoint= https : // www . exacttargetapis . com
authEndpoint= https : // auth . exacttargetapis . com
soapEndpoint= https : // webservice . s7 . exacttarget . com / Service . asmx
username=********
password=*********
clientId=*************************
clientSecret=**********************
Can you tell me how to fix the error?
Below some log (tomcat.log) if can be useful for any response:
2015-11-30 22:17:43,936 ERROR [com.informatica.saas.toolkit.metadataRead.resources.PluginsResource] - Exception Thrown in Operation: connect
com.informatica.cloud.api.adapter.connection.ConnectionFailedException: Failed to Connect to the End Point : Reason Unknown
at com.informatica.saas.toolkit.metadataRead.Dao.PluginDao.connect(PluginDao.java:248)
at com.informatica.saas.toolkit.metadataRead.resources.PluginsResource.connect(PluginsResource.java:234)
at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
I am working for Informatica,
Error message thrown when testing the connection is either one of the connection attributes or context of the plugin fails to do connection which results the code to throw the exception error message.
"Failed to Connect to the End Point : Reason Unknown"
There is no specific information supplied in the exception to find the reason of failure.
Please post your question in informatica community for more quicker response on informatica products.
https://network.informatica.com/welcome

Resources