-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I get the following error message:
2023-07-18 11:18:01 +2 [INF] Starting ToscaExecutionClient...
2023-07-18 11:18:01 +2 [INF] Parameter "eventsConfigFilePath" defined. Using configuration from file.
Get-Content : Der Pfad "...." kann nicht gefunden
werden, da er nicht vorhanden ist.
In ...\tosca_execution_client.ps1:581 Zeichen:22
+ $script:events = Get-Content -Path $eventsConfigFilePath -Raw
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\....) [Get-Content], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
2023-07-18 11:18:01 +2 [WRN] ClientId or clientSecret is not provided. Continue without authentication...
2023-07-18 11:18:01 +2 [INF] Enqueue execution with provided parameters...
2023-07-18 11:18:01 +2 [ERR] ToscaExecutionClient failed to enqueue the execution.
2023-07-18 11:18:01 +2 [ERR] Der Remoteserver hat einen Fehler zurückgegeben: (401) Nicht autorisiert.
I tried the following command lines, none of which specify a eventsConfigFilePath and none of that worked giving slightly different error messages:
powershell tosca_execution_client.ps1 -toscaServerUrl %DEX_URL% -projectName %DEX_Project% -events TestEvents -clientId=%Tosca_Client_ID% -clientSecret=%Tosca_Client_Secret%
powershell tosca_execution_client.ps1 -toscaServerUrl %DEX_URL% -projectName %DEX_Project% -events TestEvents clientId=%Tosca_Client_ID% clientSecret=%Tosca_Client_Secret%
powershell tosca_execution_client.ps1 -toscaServerUrl %DEX_URL% -projectName %DEX_Project% -events TestEvents clientId %Tosca_Client_ID% clientSecret %Tosca_Client_Secret%Could you please provide one full working example so I can get a feel what a correct command line looks like? Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels