Could not install dependencies - state checkout command

Hi,

I try to install Perl on Windows Server 2019 then downloaded CLI tool first and installed with proxy setting as Step 1.
Next step, Step 2 is to run state checkout command, however it is displayed that could not install dependencies.
Is there any check point or configuration, and how do I need to execute Step 2 ?
I download CLI tool as public project.

Installing & using this runtime, suggested after downloading CLI tool
1.Active State Install
2.state checkout /Perl-5.40.0-Windows
3.state use Perl-5.40.0-Windows

After executed step 2, below message appeard

state checkout /Perl-5.40.0-Windows
Checking out project: /Perl-5.40.0-Windows

  • Resolving Dependencies Done

    Setting up the following dependencies:
    perl@5.40.0

    Sourcing Runtime

    x Could not install dependencies.
    x .

Need More Help?

  • Run → ‘state checkout --help’ for general help.
  • If this is a private project you may need to authenticate with ‘state auth’.
  • Ask For Help → State Tool - ActiveState Community

Sorry about that

Would you be able to try uninstalling and reinstalling?

state clean uninstall

Installing the State Tool :: ActiveState Platform Documentation

Then try pulling it down again.

If it still does not work please turn on verbose mode and let us know what it says

set VERBOSE=true environment variable set

There is a missing part of the parameter in your command. You must specify the source organization before the project name in the “checkout” command. You might also want to use one of more or the options and flags available with the “checkout” command, since what you have posted will only use the defaults even after you add the organization name.

In actual state checkout command execution, off course I set the source organization before project name as follows.
state checkout User-Name-org/Perl-5.40.0-Windows

I tried to uninstalling and reinstalling state tool, and have tried to run state checkout command with turn on verbose.
The result is as follows. Do I need to set something to run state checkout command ?


(PID 7712) [DBG 06:06:33.044 listeners.go:18] Adding listener for config key: report.errors
(PID 7712) [DBG 06:06:33.091 locale.go:41] Init
(PID 7712) [DBG 06:06:33.130 rollbar.go:60] Sending Rollbar reports? false
(PID 7712) [DBG 06:06:33.140 subshell.go:205] Detected SHELL: cmd
(PID 7712) [DBG 06:06:33.140 output.go:53] Requested outputer for
(PID 7712) [DBG 06:06:33.140 output.go:58] Using Plain outputer
(PID 7712) [DBG 06:06:33.140 main.go:132] ConfigPath: C:\Users\USER001\AppData\Roaming\activestate\cli-release
(PID 7712) [DBG 06:06:33.140 main.go:133] CachePath: C:\Users\USER001\AppData\Local\activestate\cache
(PID 7712) [DBG 06:06:33.140 client.go:18] Initializing ipc client with socket: C:\Users\USER001\AppData\Local\Temp\3\state-ipc\state-release.sock
(PID 7712) [DBG 06:06:33.147 svcctl.go:115] Located state-svc at :28243
(PID 7712) [DBG 06:06:33.160 subshell.go:205] Detected SHELL: cmd
(PID 7712) [DBG 06:06:33.160 subshell.go:121] Using binary: C:\Windows\System32\cmd.exe
(PID 7712) [DBG 06:06:33.164 secrets.go:63] secrets-api scheme=https host=platform.activestate.com base_path=/api/secrets/v1
(PID 7712) [DBG 06:06:33.171 secrets.go:63] secrets-api scheme=https host=platform.activestate.com base_path=/api/secrets/v1
(PID 7712) [DBG 06:06:33.183 autoupdate.go:174] Not running auto updates because we just freshly installed
(PID 7712) [DBG 06:06:33.183 command.go:899] Args: [checkout], Flags:
(PID 7712) [DBG 06:06:33.187 cmdcall.go:51] cmdcall
(PID 7712) [DBG 06:06:33.187 svc.go:128] Checking for messages
Checking out project: (PID 7712) [DBG 06:06:33.208 messenger.go:52] Received 0 messages to print
(PID 7712) [DBG 06:06:33.209 checkout.go:105] Checking out User-Name-org/Perl-5.40.0-Windows to
User-Name-org/Perl-5.40.0-Windows

(PID 7712) [DBG 06:06:33.218 path.go:22] No path provided, using default
(PID 7712) [DBG 06:06:33.218 projects.go:53] fetching project (Perl-5.40.0-Windows) in organization (User-Name-org)
(PID 7712) [DBG 06:06:33.433 checkpoints.go:77] fetching checkpoint (dd14a207-7b7f-45ce-8620-8817fd275bec)
(PID 7712) [DBG 06:06:33.875 checkpoints.go:88] Returning 2 requirements
• Resolving Dependencies |(PID 7712) [DBG 06:06:34.495 buildplanner.go:24] Using build planner at: https://platform.activestate.com/sv/buildplanner/graphql
(PID 7712) [DBG 06:06:34.495 build.go:57] FetchBuildResult, commitID: dd14a207-7b7f-45ce-8620-8817fd275bec, owner: User-Name-org, project: Perl-5.40.0-Windows
:heavy_check_mark: Done

Setting up the following dependencies:
└─ perl@5.40.0

(PID 7712) [DBG 06:06:36.034 cves.go:45] Skipping CVE reporting
█ Sourcing Runtime

(PID 7712) [DBG 06:06:36.039 svc.go:168] Checking if runtime is in use for C:\Users\USER001\AppData\Local\activestate\cache\5aa1136b\exec
(PID 7712) [DBG 06:06:36.761 links_windows.go:45] Attempting to link ‘C:\Users\USER001\AppData\Local\activestate\cache\depot_link_’ to ‘C:\Users\USER001\AppData\Local\activestate\cache\depot_target_’

(PID 7712) [CRT 06:06:43.803 multilog.go:24] Returning error:
execute failed:
Could not setup runtime:
Could not install dependencies.:
Failed to install runtime:
Could not update:
errors occurred during obtain:
- workerpool error
- obtain failed:
download failed:
Download https://dl.activestate.com/artifact/d375f249-d70d-5426-ac0f-201f16b22daf/artifact.tar.gz failed:
“”:
‘Get “https://dl.activestate.com/artifact/d375f249-d70d-5426-ac0f-201f16b22daf/artifact.tar.gz”: Forbidden’: Forbidden
Created at:
./internal\chanutils\workerpool\workerpool.go:80:workerpool.(*WorkerPool).Wait
./pkg\runtime\setup.go:250:runtime.(*setup).update
./pkg\runtime\setup.go:211:runtime.(*setup).RunAndWait
./pkg\runtime\runtime.go:100:runtime.(*Runtime).Update
./internal\runbits\runtime\runtime.go:254:runtime.Update
./internal\runners\checkout\checkout.go:178:checkout.(*Checkout).Run
./cmd\state\internal\cmdtree\checkout.go:55:cmdtree.newCheckoutCommand.func1
./internal\captain\command.go:637:captain.(*Command).cobraExecHandler.func2
./internal\sighandler\awaiting.go:50:sighandler.(*sigHandler).WaitForFunc.func1
C:/hostedtoolcache/windows/go/1.22.8/x64/src/runtime/asm_amd64.s:1695:runtime.goexit
(PID 7712) [DBG 06:06:43.803 log.go:245] goroutine 1 [running]:
runtime/debug.Stack()
C:/hostedtoolcache/windows/go/1.22.8/x64/src/runtime/debug/stack.go:24 +0x5e
github.com/ActiveState/cli/internal/logging.Critical({0x14469a0?, 0xc0007bf7e0?}, {0xc0007882e0?, 0x10?, 0xc000781450?})
D:/a/cli/cli/internal/logging/logging.go:310 +0x5e
github.com/ActiveState/cli/internal/multilog.Critical({0x14469a0, 0x22}, {0xc0007882e0, 0x2, 0x2})
D:/a/cli/cli/internal/multilog/multilog.go:24 +0x2c
github.com/ActiveState/cli/internal/runbits/errors.ReportError({0x1679f40, 0xc00068cf40}, 0xc0002b1e60, {0x168c4e0, 0xc000163900})
D:/a/cli/cli/internal/runbits/errors/errors.go:200 +0x6b4
main.run({0xc00007a080, 0x3, 0x4}, 0x1, 0xc000505ce0, {0x168e3d0, 0xc00049c9a0})
D:/a/cli/cli/cmd/state/main.go:276 +0x1a66
main.main()
D:/a/cli/cli/cmd/state/main.go:109 +0x4b0

(PID 7712) [DBG 06:06:43.803 svc.go:153] Fetching log svc log
█ Something Went Wrong

x Could not install dependencies.
x .

█ Need More Help?
• Run → ‘state checkout --help’ for general help.
• If this is a private project you may need to authenticate with ‘state auth’.
• Ask For Help → State Tool - ActiveState Community.

Hello

I have tried checking this out on two different windows systems and both times it has been successful.

Are you using an administrator account?

I notice that your checkout is failing with a “forbidden” message at the first point it attempts to download any artifacts. Artifacts are hosted on Amazon S3. If your firewall forbids connections to Amazon, you can have this problem at this point.

See the documentation section for troubleshooting network connections with the State Tool. You may need to open up connections for Amazon, as described there.

This issue solved with Network configuration and proxy setting below whitelist on proxy.
*.dl.activestate.com