OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

OEP server error log show attempt to connect to external service which is forbidden #1593

Closed jh-RLI closed 4 months ago

jh-RLI commented 4 months ago

Description of the issue

The model / framework factsheets include a feature that attempts to generate a git commit graph to show the commit activitie in case the facthseet includes a github url. The OEP server infrastructure denies all requests from the oep network to the outside world (WAN). This leads to severals enties in the OEP server error log.

Steps to Reproduce

  1. Create a modle or framework factsheet on the oep
  2. Provide a github link
  3. Have a look at the interal server logs.

Example:

 Failed to establish a new connection: [Errno 111] Connection refused',)': /repos/calliope-project/euro-calliope/stats/commit_activity

Ideas of solution

Deactivate the functionality in modelview/views.py called _handle_github_contributions.

Context and Environment

Workflow checklist