question

PrankurDixit-7350 avatar image
0 Votes"
PrankurDixit-7350 asked PramodValavala-MSFT commented

Function App not getting hosted

Getting an error as 500 Internal Server Error
I am trying to create a service bus trigger and language which I am using is Python
I just set up the same using the function app and tried testing the same. Got the above mentioned error and when I tried loading the weblink for the app It tells function app is not getting hosted.

91816-df.png91931-fd.png




The above two images contain host.json and proxies.json
Please, let me know if any other information is required.

azure-service-bus
df.png (10.5 KiB)
fd.png (28.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PrankurDixit-7350 avatar image
0 Votes"
PrankurDixit-7350 answered PramodValavala-MSFT commented

So While deploying I guess it should ideally copy the configuration settings from local.settings.json
but it was not doing the same. Hence , had to do it manually in the configuration settings from azure portal.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@PrankurDixit-7350 Thanks for sharing! When using Core Tools for local development, you can actually use the --publish-local-settings/-i flag to publish them as well. This covered here in the docs.


1 Vote 1 ·
PrankurDixit-7350 avatar image
0 Votes"
PrankurDixit-7350 answered

Got it done.

No need to look into it

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.