Hi there,
Eversince the upgrade last week from 0.0.77 to 0.0.82 our solution is not getting imported and consistently failing with this new Asynchronous import model.
We are getting this error
'Error: The request channel timed out while waiting for a reply after 00:04:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.' ]
The settings for your import task are
-AsyncOperation: true
-MaxAsyncWaitTime: '240' # 4 hours
Below are the full logs
Starting: Import xxxxxxxxxxx
Task : Power Platform Import Solution
Description : Power Platform Import Solution
Version : 0.0.82
Author : Microsoft
Help : More Info
Discovered environment url from explicit input parameter 'Environment': $(BuildTools.EnvironmentUrl)
Discovered Azure DevOps variable expression that needs resolving: $(BuildTools.EnvironmentUrl) -> BuildTools.EnvironmentUrl
Falling back to url from service connection, using: https://xxxxxxxxxxxxxxx/ /
[ 'Authentication successfully created.' ]
[ 'Validating connection...' ]
[ 'Connected to...xxxxxxxxxxxxxx' ]
[ ' * DATAVERSE https://xxxxxxxxxxxxxxx/ : *** xxxxx' ]
[ '' ]
[ 'The Authentication Result: Authentication successfully created.,Validating connection...,Connected to...xxxxxxx, * DATAVERSE https://xxxxxxxxxxxxxxxxx/ : *** xxx,' ]
[ 'Calling pac cli inputs: solution import --path D:\a\1\Self\Solutions\Unmanaged\Zip\xxxx.zip --async true --import-as-holding False --force-overwrite True --publish-changes true --skip-dependency-check True --convert-to-managed false --max-async-wait-time 240 --activate-plugins false' ]
[ 'Connected to...xxxxxxxxxxxxxx' ]
[ 'Solution Importing...' ]
[ 'Waiting for asynchronous operation 29ff8a16-22f9-ec11-82e7-00224815993b to complete with timeout of 04:00:00' ]
[ 'Processing asynchronous operation... execution time: 00:00:00 and 1% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:04 and 2% complete' ]
Processing asynchronous operation... execution time: 00:44:41 and 100% complete
Processing asynchronous operation... execution time: 00:44:45 and 100% complete
Processing asynchronous operation... execution time: 00:44:50 and 100% complete
Processing asynchronous operation... execution time: 00:44:54 and 100% complete
Processing asynchronous operation... execution time: 00:44:58 and 100% complete
Asynchronous operation 29ff8a16-22f9-ec11-82e7-00224815993b successfully finished within 00:45:02.3630415
Publishing All Customizations...
Microsoft PowerPlatform CLI
Version: 1.15.9+gf60807f
Error: The request channel timed out while waiting for a reply after 00:04:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
The HTTP request to 'https://xxxxxxxxxxxxx/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.2.47.7698' has exceeded the allotted timeout of 00:04:00. The time allotted to this operation may have been a portion of a longer timeout.
The operation has timed out
Usage: pac solution import [--path] [--activate-plugins] [--force-overwrite] [--skip-dependency-check] [--import-as-holding] [--publish-changes] [--convert-to-managed] [--async] [--max-async-wait-time] [--settings-file]
--path Path to solution zip file. If not specified, assumes the current folder is a cdsproj project. (alias: -p)
--activate-plugins Activate plug-ins and workflows on the solution (alias: -ap)
--force-overwrite Force an overwrite of unmanaged customizations (alias: -f)
--skip-dependency-check Skip dependency check against dependencies flagged as product update (alias: -s)
--import-as-holding Import the solution as a holding solution (alias: -h)
--publish-changes Publish your changes upon a successful import (alias: -pc)
--convert-to-managed Convert as Managed Solution (alias: -cm)
--async Imports solution asynchronously (alias: -a)
--max-async-wait-time Max asynchronous wait time in minutes. Default value is 60 minutes (alias: -wt)
--settings-file The .json file with the deployment settings for connection references and environment variables.
The same code ran like breeze on the previous version last week.
Hi there,
Eversince the upgrade last week from 0.0.77 to 0.0.82 our solution is not getting imported and consistently failing with this new Asynchronous import model.
We are getting this error
'Error: The request channel timed out while waiting for a reply after 00:04:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.' ]
The settings for your import task are
-AsyncOperation: true
-MaxAsyncWaitTime: '240' # 4 hours
Below are the full logs
Starting: Import xxxxxxxxxxx
Task : Power Platform Import Solution
Description : Power Platform Import Solution
Version : 0.0.82
Author : Microsoft
Help : More Info
Discovered environment url from explicit input parameter 'Environment': $(BuildTools.EnvironmentUrl)
Discovered Azure DevOps variable expression that needs resolving: $(BuildTools.EnvironmentUrl) -> BuildTools.EnvironmentUrl
Falling back to url from service connection, using: https://xxxxxxxxxxxxxxx/ /
[ 'Authentication successfully created.' ]
[ 'Validating connection...' ]
[ 'Connected to...xxxxxxxxxxxxxx' ]
[ ' * DATAVERSE https://xxxxxxxxxxxxxxx/ : *** xxxxx' ]
[ '' ]
[ 'The Authentication Result: Authentication successfully created.,Validating connection...,Connected to...xxxxxxx, * DATAVERSE https://xxxxxxxxxxxxxxxxx/ : *** xxx,' ]
[ 'Calling pac cli inputs: solution import --path D:\a\1\Self\Solutions\Unmanaged\Zip\xxxx.zip --async true --import-as-holding False --force-overwrite True --publish-changes true --skip-dependency-check True --convert-to-managed false --max-async-wait-time 240 --activate-plugins false' ]
[ 'Connected to...xxxxxxxxxxxxxx' ]
[ 'Solution Importing...' ]
[ 'Waiting for asynchronous operation 29ff8a16-22f9-ec11-82e7-00224815993b to complete with timeout of 04:00:00' ]
[ 'Processing asynchronous operation... execution time: 00:00:00 and 1% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:04 and 2% complete' ]
Processing asynchronous operation... execution time: 00:44:41 and 100% complete
Processing asynchronous operation... execution time: 00:44:45 and 100% complete
Processing asynchronous operation... execution time: 00:44:50 and 100% complete
Processing asynchronous operation... execution time: 00:44:54 and 100% complete
Processing asynchronous operation... execution time: 00:44:58 and 100% complete
Asynchronous operation 29ff8a16-22f9-ec11-82e7-00224815993b successfully finished within 00:45:02.3630415
Publishing All Customizations...
Microsoft PowerPlatform CLI
Version: 1.15.9+gf60807f
Error: The request channel timed out while waiting for a reply after 00:04:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
The HTTP request to 'https://xxxxxxxxxxxxx/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.2.47.7698' has exceeded the allotted timeout of 00:04:00. The time allotted to this operation may have been a portion of a longer timeout.
The operation has timed out
Usage: pac solution import [--path] [--activate-plugins] [--force-overwrite] [--skip-dependency-check] [--import-as-holding] [--publish-changes] [--convert-to-managed] [--async] [--max-async-wait-time] [--settings-file]
--path Path to solution zip file. If not specified, assumes the current folder is a cdsproj project. (alias: -p)
--activate-plugins Activate plug-ins and workflows on the solution (alias: -ap)
--force-overwrite Force an overwrite of unmanaged customizations (alias: -f)
--skip-dependency-check Skip dependency check against dependencies flagged as product update (alias: -s)
--import-as-holding Import the solution as a holding solution (alias: -h)
--publish-changes Publish your changes upon a successful import (alias: -pc)
--convert-to-managed Convert as Managed Solution (alias: -cm)
--async Imports solution asynchronously (alias: -a)
--max-async-wait-time Max asynchronous wait time in minutes. Default value is 60 minutes (alias: -wt)
--settings-file The .json file with the deployment settings for connection references and environment variables.
The same code ran like breeze on the previous version last week.