Azure-Samples / Azure-Samples/durablefunctions-apiscraping-nodejs

Secret initialization from Blob storage failed

Offen
#3 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
33
Forks
14
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When following the steps in your README to run this project locally, I get this error messages:
```
Microsoft.Azure.WebJobs.Script.WebHost: Secret initialization from Blob storage failed due to a missing Azure Storage connection string. If you intend to use files for secrets, add an App Setting key 'AzureWebJobsSecretStorageType' with value 'Files'.
Value cannot be null.
Parameter name: provider
```

### This issue is for a: (mark with an `x`)
```
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
- clone repo
- retrieve github access key, insert to `local.settings.json` (no other changes to this file)
- `func extensions install` `npm install` `func host start`

### Any log messages given by the failure
```
[2/6/20 4:12:34 PM] Starting Rpc Initialization Service.
[2/6/20 4:12:34 PM] Initializing RpcServer
[2/6/20 4:12:34 PM] Building host: startup suppressed:False, configuration suppressed: False
[2/6/20 4:12:35 PM] A host error has occurred
[2/6/20 4:12:35 PM] Microsoft.Azure.WebJobs.Script.WebHost: Secret initialization from Blob storage failed due to a missing Azure Storage connection string. If you intend to use files for secrets, add an App Setting key 'AzureWebJobsSecretStorageType' with value 'Files'.
Value cannot be null.
Parameter name: provider
Application is shutting down...
```

### Expected/desired behavior
app starts

### OS and Version?
Ubuntu 18.04 LTS

### Versions
- Azure Functions Core Tools (2.7.1373
- Function Runtime Version: 2.0.12507.0

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit den Anweisungen zur lokalen Einrichtung im README und prüfe local.settings.json zusammen mit den gemeldeten Azure Functions Core Tools-Befehlen. Reproduziere den Fehler mit `func extensions install`, `npm install` und `func host start`, und ermittle die Konfiguration, die für die Initialisierung des Hosts erforderlich ist. Erledigt ist die Aufgabe, wenn die App lokal ohne den Fehler bei der Geheimnisspeicherung startet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, javascript, nodejs
Bereich
backend, cloud
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
32/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.