Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object reference not set to an instance of an object on insall.instance #283

Open
ysharabi76 opened this issue May 14, 2023 · 4 comments
Open
Labels
bug Something isn't working

Comments

@ysharabi76
Copy link

Installed .net core 3.1 + 6 + 7 runtimes, gave full permissions to service principal and to the token in ADO.
I tried from windows 10 + ubuntu 22.04 and aggregator cli v1.2.0 (1.1.0 gave the exact same error)
Deployment succeeded in Azure.
Can someone please point me to what i have done wrong?
image

@ysharabi76 ysharabi76 added the bug Something isn't working label May 14, 2023
@rbhole
Copy link

rbhole commented May 17, 2023

@giuliov This is the issue I'm facing for 2 weeks.

PS D:\aggregator-cli-win-x64> .\aggregator-cli.exe add.rule --verbose --instance AutoCalculateaggregator --name IssueCalculator --resourceGroup vm-east1 --file D:\Autocalculation\issueCalculation.rule
[2023-05-17 18:53:57Z] aggregator-cli v1.2.0 (build: 1.2.0.0 Release) (c) Copyright c TFS Aggregator Team
[2023-05-17 18:53:57Z] Authenticating to Azure...
[2023-05-17 18:53:57Z] Connected to subscription XXXXXXXXXXXXXXXXXXX
[2023-05-17 18:53:57Z] Validate rule file D:\Autocalculation\issueCalculation.rule
[2023-05-17 18:53:59Z] Rule file is valid
[2023-05-17 18:53:59Z] Layout rule files
[2023-05-17 18:53:59Z] Retrieving deployed aggregator-function.dll
[2023-05-17 18:53:59Z] Retrieving Kudu publish credentials for AutoCalculateaggregator.
[2023-05-17 18:54:01Z] Object reference not set to an instance of an object.
[2023-05-17 18:54:01Z] Exiting with code 99

@ysharabi76
Copy link
Author

Something has changed. webFunctionApp.GetPublishingProfile() in KuduApi.cs is returning null for ftp username and password...

@rbhole
Copy link

rbhole commented May 18, 2023

@ysharabi76 It mean this issue coming from azure services?

@ysharabi76
Copy link
Author

I changed the function configuration under General settings, FTP state, from FTPS only to all allowed. It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants