none
Failing to create linux docker azure function RRS feed

  • Question

  • Locally the azure function docker container works properly. This image is the one I push also in the docker registry.

    After this I instantiate a function app with linux docker container (via portal or template). But when I go to the function app settings, the following error occurs:

    Error:

    Encountered an error (InternalServerError) from host runtime.

    Session Id: 0ee6eea0d2db441b95a66f871ebbc13b

    Timestamp: 2019-06-15T23:06:53.754Z

    Interestingly this very same image worked previously !!!

    Here are the more detailed logs:

    2019-06-15T23:09:07  Welcome, you are now connected to log-streaming service.
    2019-06-15T23:08:59.495259418Z: [INFO]  Hosting environment: Production2019-06-15T23:08:59.497676141Z: [INFO]  Content root path: /2019-06-15T23:08:59.522016973Z: [INFO]  Now listening on: http://[::]:802019-06-15T23:08:59.525377605Z: [INFO]  Application started. Press Ctrl+C to shut down.2019-06-15T23:06:50.157368432Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T23:06:50.157464333Z: [INFO]        Request starting HTTP/1.1 GET http://hmesalesforecastcontroller.azurewebsites.net/admin/host/systemkeys/_master?api-version=2015-08-01  2019-06-15T23:06:50.287687780Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T23:06:50.287709280Z: [INFO]        Request finished in 1032.9835ms 500 2019-06-15T23:06:50.326520252Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T23:06:50.326534452Z: [INFO]        Request finished in 169.1725ms 500 2019-06-15T23:06:53.540626930Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T23:06:53.540958834Z: [INFO]        Request starting HTTP/1.1 GET http://hmesalesforecastcontroller.azurewebsites.net/admin/host/systemkeys/_master?api-version=2015-08-01  2019-06-15T23:06:53.594856750Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T23:06:53.594870250Z: [INFO]        Request finished in 54.8768ms 500 2019-06-15T22:51:22.547574785Z: [INFO]  Hosting environment: Production2019-06-15T22:51:22.550064408Z: [INFO]  Content root path: /2019-06-15T22:51:22.553899943Z: [INFO]  Now listening on: http://[::]:802019-06-15T22:51:22.553911943Z: [INFO]  Application started. Press Ctrl+C to shut down.2019-06-15T22:52:58.575264528Z: [INFO]  Hosting environment: Production2019-06-15T22:52:58.578131755Z: [INFO]  Content root path: /2019-06-15T22:52:58.582556395Z: [INFO]  Now listening on: http://[::]:802019-06-15T22:52:58.582568596Z: [INFO]  Application started. Press Ctrl+C to shut down.2019-06-15T23:09:00.855098213Z: [INFO]  Application is shutting down...2019-06-15T22:49:18.540914369Z: [INFO]  Now listening on: http://0.0.0.0:80812019-06-15T22:49:18.543852596Z: [INFO]  Application started. Press Ctrl+C to shut down.2019-06-15T22:49:29.366059828Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T22:49:29.366107028Z: [INFO]        Request starting HTTP/1.1 GET http://127.0.0.1:1525/robots933456.txt  2019-06-15T22:49:29.719052597Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T22:49:29.719074397Z: [INFO]        Request finished in 344.2058ms 404 2019-06-15T22:49:31.937117839Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T22:49:31.937141039Z: [INFO]        Request starting HTTP/1.1 GET http://hmesalesforecastcontroller.azurewebsites.net/  2019-06-15T22:49:32.214786510Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T22:49:32.214809710Z: [INFO]        Request finished in 277.6815ms 200 text/html2019-06-15T22:51:51.044153093Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T22:51:51.044175394Z: [INFO]        Request finished in 699.2092ms 500 2019-06-15T22:51:52.424233158Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T22:51:52.424258458Z: [INFO]        Request starting HTTP/1.1 GET http://hmesalesforecastcontroller.azurewebsites.net/admin/host/systemkeys/_master?api-version=2015-08-01  2019-06-15T22:51:52.521687660Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T22:51:52.521702560Z: [INFO]        Request finished in 97.0003ms 500 2019-06-15T22:52:14.089424226Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T22:52:14.089445626Z: [INFO]        Request starting HTTP/1.1 GET http://hmesalesforecastcontroller.azurewebsites.net/admin/host/systemkeys/_master?api-version=2015-08-01  2019-06-15T22:52:14.197644227Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T22:52:14.197658027Z: [INFO]        Request finished in 108.5535ms 500 2019-06-15T23:08:53.900730152Z: [INFO]  Hosting environment: Production2019-06-15T23:08:53.903361177Z: [INFO]  Content root path: /app2019-06-15T23:08:53.907488717Z: [INFO]  Now listening on: http://0.0.0.0:80812019-06-15T23:08:53.907529917Z: [INFO]  Application started. Press Ctrl+C to shut down.2019-06-15T23:09:00.331313607Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T23:09:00.331338207Z: [INFO]        Request starting HTTP/1.1 GET http://127.0.0.1:32136/robots933456.txt  2019-06-15T23:09:00.766140462Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]2019-06-15T23:09:00.766158463Z: [INFO]        Request finished in 431.2588ms 404 2019-06-15T23:09:05.768439363Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]2019-06-15T23:09:05.768459063Z: [INFO]        Request starting HTTP/1.1 GET http://hmesalesforecastcontroller.azurewebsites.net/admin/host/systemkeys/_master?api-version=2015-08-01  2019-06-15T22:49:28.595140488Z: [INFO]  Hosting environment: Production2019-06-15T22:49:28.600134035Z: [INFO]  Content root path: /2019-06-15T22:49:28.600147435Z: [INFO]  Now listening on: http://[::]:802019-06-15T22:49:28.600152135Z: [INFO]  Application started. Press Ctrl+C to shut down.2019-06-15T22:51:24.325109030Z: [INFO]  Application is shutting down...2019-06-15T23:09:06.501007463Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
    2019-06-15T23:09:06.501031563Z: [INFO]        Request finished in 714.5437ms 500
    2019-06-15T23:09:08.359752624Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
    2019-06-15T23:09:08.359777924Z: [INFO]        Request starting HTTP/1.1 GET http://hmesalesforecastcontroller.azurewebsites.net/admin/host/systemkeys/_master?api-version=2015-08-01  
    2019-06-15T23:09:08.444771636Z: [INFO]  info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
    2019-06-15T23:09:08.444804436Z: [INFO]        Request finished in 85.2604ms 500

    Saturday, June 15, 2019 11:10 PM

All replies