-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
while retrieving chunks of data through URL it was throwing an exception #9
Comments
This exception is thrown while retrieving a large chunk of data. Normally, server will write data to a S3 bucket and client will download result from the s3 bucket. This looks like request timed out when trying to download data from s3. Just wondering if your host can connect to s3 or not? Do you have any proxy config? |
Yes we have large chunk of data around min of 30k , even we have a proxy firewall it is getting 1st chunk of data and showing it in the console after continuously hitting the rest chunks it is throwing error |
Is there any way to resolve this issue....? |
@CPavanKishore First chunk of data is returned from snowflake server directly. So basically, the first response for a large result set contains result set metadata, a few rows of data, and the urls to the rest of data in s3 bucket. So my question to you is: are you able to connect s3 from your dev box? A simple curl (or whatever cmd tool on windows) command can verify if you are able to connect to s3. |
i'm able to connect s3 bucket and get the data i tried all the chunk URL's through postman @howryu Check in the above picture |
Hmm. Ok I need to look into it since this cannot reproduced in my environment. Can you try to enable logging and pass me the log file? I have some docs in https://github.com/snowflakedb/snowflake-connector-net/blob/master/README.md |
is this the one which you asked ..? |
@CPavanKishore No. I mean the log file generated by .NET Driver. More importantly, I probably need the network trace to understand why you cannot connect to S3. The example I provided (App.Config) also includes the network trace. Can you generate the trace to see what's going on? |
i tried but common.logging supports up to .netcore1.0 it doesn't support 2.0,Can you try to retrieve a large amount of data from your side to check |
I compiled the .net driver against .net framework 4.6, but not .net core (there is a plan porting it) I do have a large result tests in |
Can i get any paid session to configure this snowflake connector in my project @howryu ....? or any alternatives for this ..? |
This is already fixed in #10. More specifically, in
Reason is because the http request timeout is in milliseconds. It should be 1 hour (3600 * 1000 millis) in stead of (3600 millis). |
while retrieving chunks of data through URL it was throwing an exception ,is this because of continues hitting of URL with out threading......?
Can you please resolve this issue sooner
The text was updated successfully, but these errors were encountered: