Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cli/test/bundle_git/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def local_gems
rescue LoadError
did_fail = true
end
raise "Should not load openstudio-standards" unless did_fail == true
raise "Should allow to load the embedded openstudio-standards" unless did_fail == false
3 changes: 3 additions & 0 deletions src/utilities/bcl/RemoteBCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ namespace openstudio{
// as it will allow us to change http_client_config (SSL settings etc) in only one place
web::http::client::http_client RemoteBCL::getClient(const std::string& url) const {
web::http::client::http_client_config config;
// bcl.nrel.gov can be slow to respond to client requests so bump the default of 30 seconds to 60 to account for lengthy response time.
// this is timeout is for each send and receive operation on the client and not the entire client session.
config.set_timeout(std::chrono::seconds(60));
config.set_validate_certificates(false);

return web::http::client::http_client(utility::conversions::to_string_t(url), config);
Expand Down