microsoft / OpenHack-FHIR

This repository hosts the guidance and assets for delivering an OpenHack focusing on FHIR and Microsoft's API for FHIR.
Creative Commons Attribution 4.0 International
89 stars 41 forks source link

[challenge 2] - creating ingest function times out #27

Open lenisha opened 3 years ago

lenisha commented 3 years ago

Running deployhl7ingest.bash throws time out exception

Executing ./deployhl7ingest.bash...
Checking Azure Authentication...
Enter your subscription ID [xxx]:
Resource group with name fhirhacknero2 could not be found. Creating new resource group..
+ az group create --name fhirhacknero2 --location eastus
Starting HL7 Ingest Platform deployment...
Creating Storage Account [hack2store32574]...
The behavior of this command has been altered by the following extension: storage-preview
Retrieving Storage Account Connection String...
Creating Storage Account Container [hl7]...
Creating Service Bus Namespace [hlsb19805]...
Creating Queue [hl7ingest]...
Retrieving ServiceBus Connection String...
Creating hl7ingest Function App Serviceplan[hack2asp]...
Creating hl7ingest Function App [hl7ingest21194]...
Application Insights "hl7ingest21194" was created for this Function App. You can visit https://portal.azure.com/#resource/subscriptions/7xxxx/resourceGroups/fhirhacknero2/providers/microsoft.insights/components/hl7ingest21194/overview to view your Application Insights component
Retrieving Function App Host Key...
Configuring hl7ingest Function App [hl7ingest21194]...
Deploying hl7ingest Function App from source repo to [hl7ingest21194.azurewebsites.net]...
Setting SCM_DO_BUILD_DURING_DEPLOYMENT to false
Waiting SCM site to be updated with the latest app settings
The command failed with an unexpected error. Here is the traceback:

HTTPSConnectionPool(host='hl7ingest21194.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-zmnkj_hi\urllib3\urllib3\connectionpool.py", line 384, in _make_request
  File "<string>", line 2, in raise_from
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-zmnkj_hi\urllib3\urllib3\connectionpool.py", line 380, in _make_request
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\http\client.py", line 1331, in getresponse
    response.begin()
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\li

Resolution Updating SKU to "B3" in deployhl7ingest.bash declare serviceplansku="B3" works