FuelSDK-Ruby
FuelSDK-Ruby copied to clipboard
[BUG] HTTP::TimeoutError Write timed out after 0.25 second
Describe the bug
Savon 2.12.1
supports write_timeout
option in addition of open_timeout
and read_timeout
https://github.com/savonrb/savon/issues/834.
When we fetch data extension rows with filter, we have write_timeout
error
HTTP::TimeoutError
Write timed out after 0.25 seconds
currently, this gem has defined options :
soap_client_options = {
soap_header: header,
wsdl: wsdl,
endpoint: endpoint,
wsse_auth: ["*", "*"],
raise_errors: false,
log: debug,
open_timeout:180,
read_timeout: 180,
headers: {'User-Agent' => 'FuelSDK-Ruby-v' + MarketingCloudSDK::VERSION}
}
To Reproduce Steps to reproduce the behavior.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Code snippet
reader = MarketingCloudSDK::DataExtension::Row.new
reader.customer_key = data_extension_key
reader.props = Array(columns)
reader.filter = filter if filter
reader.authStub = auth_client
response = reader.get
Environment
- SDK Version :
1.3.1
- Ruby version:
2.5.1
The bug has the severity
- [ ] Critical: The defect affects critical functionality or critical data. It does not have a workaround.
- [ ] Major: The defect affects major functionality or major data. It has a workaround but is not obvious and is difficult.
- [ ] Minor: The defect affects minor functionality or non-critical data. It has an easy workaround.
- [ ] Trivial: The defect does not affect functionality or data. It does not even need a workaround. It does not impact productivity or efficiency. It is merely an inconvenience.
Additional context Add any other context about the problem here.