Skip to content
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

REopt connection issue #483

Open
mfathollahzadeh opened this issue Sep 24, 2024 · 0 comments
Open

REopt connection issue #483

mfathollahzadeh opened this issue Sep 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mfathollahzadeh
Copy link

mfathollahzadeh commented Sep 24, 2024

REopt connection Failed (RuntimeError)

_ Following the API request and adding API key to environment variables in Mac, still getting the runtime connection. Have confirmed the access to API key by printing API key right before the following message appears.

Screenshot 2024-09-24 at 5 47 09 PM

Even trying to access the following parts of the script with the associated API key fails:

@uri_submit = URI.parse("[https://developer.nrel.gov/api/reopt/v3/job?api_key=#{@nrel_developer_key}](https://developer.nrel.gov/api/reopt/v3/job?api_key=#%7B@nrel_developer_key%7D)")
@uri_submit_outagesimjob = URI.parse("[https://developer.nrel.gov/api/reopt/v3/outagesimjob?api_key=#{@nrel_developer_key}](https://developer.nrel.gov/api/reopt/v3/outagesimjob?api_key=#%7B@nrel_developer_key%7D)")
Screenshot 2024-09-24 at 5 50 53 PM
@mfathollahzadeh mfathollahzadeh added the bug Something isn't working label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant