github-tools / github-tools/github-release-notes
Unable to access behind proxy
- Langage dominant
- JavaScript
- Étoiles
- 897
- Forks
- 313
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
When I run `gren changelog -B` on a public repo, I do get the following:
```
Options:
Tags: empty
Prefix: empty
Template: [object Object]
Prerelease: false
Generate: false
Quiet: false
Override: false
Debug: true
Ignore labels: empty
Ignore issues with: empty
Ignore commits with: empty
Group by: false
Milestone match: Release {{tag_name}}
Changelog filename: CHANGELOG.md
Username: NCI-Agency
Repo: anet
Token: ********************************'
Data source: issues
Include messages: commits
Ignore tags with: empty
Limit: 30
🤖 - Generate changelog file:
===================================
WARNING: Looks like you don't have network connectivity!
⠋ Getting the list of releasesTypeError: Cannot read property 'status' of undefined
at handler (/usr/lib/node_modules/github-release-notes/node_modules/github-api/dist/components/Requestable.js:366:40)
at
⠋ Getting the list of releases
```
At the same time, directly calling the api works:
```
curl -X GET \
https://api.github.com/repos/NCI-Agency/anet/releases \
-H 'accept: application/json' \
-H 'authorization: token ********************************' \
-H 'content-type: application/json'
```
I am behind a proxy. Any help would be appreciated!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par le chemin `gren changelog -B` qui demande l’endpoint des releases GitHub, puis examinez l’échec signalé dans `node_modules/github-release-notes/node_modules/github-api/dist/components/Requestable.js` et comparez-le avec la requête curl fonctionnelle. C’est terminé lorsque la commande peut récupérer les releases via la configuration de proxy signalée, sans l’avertissement réseau ni le TypeError de `status`.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, node.js
- Domaine
- cli, networking
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100