Skip to content

Fix #4014 download from BCL#4021

Merged
tijcolem merged 2 commits into
developfrom
issue_4014
Jul 27, 2020
Merged

Fix #4014 download from BCL#4021
tijcolem merged 2 commits into
developfrom
issue_4014

Conversation

@tijcolem
Copy link
Copy Markdown
Collaborator

Fixes #4014

Seems host bcl.nrel.gov can be slow to download for certain bcl components. For instance, in our unit tests, component a10331a0-edc7-0131-840c-48e0eb16a403 can exceed the cpprestsdk default 30 sec response time which closes the client handle and results in a unit test failure.

You can manually reproduce the slow response time by running a simple wget to the api endpoint for that component:

wget https://bcl.nrel.gov/api/component/download?uids=a10331a0-edc7-0131-840c-48e0eb16a403

This can change of course due to client/server network speeds.

Increasing from 30 to 60 seems to fix.

@tijcolem tijcolem added the Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. label Jul 20, 2020
@tijcolem tijcolem added this to the OpenStudio SDK 3.1.0 milestone Jul 20, 2020
@tijcolem tijcolem changed the title issue_4014 download from BCL Fix #4014 download from BCL Jul 21, 2020
…rkflow allows to load embedded gems when using bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component - Utilities Other Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. severity - Normal Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't download components from BCL (using OpenStudio Application 1.0)

1 participant