Hello community
I am encountering an issue when using the Clio utility to create a custom Angular module. When attempting to configure the workspace, I am facing errors, and I would appreciate your assistance in resolving them.
The errors I receive are as follows:
When running the command clio dconf -e dev-env:
[WAR] - Downloading of cor libraries requires cliogate version 2.0.0.0 or higher.
When running the command clio restorew -e dev-env:
[ERR] - To use this command, you need to install the cliogate package version 2.0.0.0 or higher.
However, when I run the command clio ver, the output shows:
clio: 8.0.1.21
[INF] - gate: 2.0.0.29
dotnet: 8.0.14
My connection to dev-env is stable, and I can see the list of packages
It appears that I have the correct version of the cliogate package installed (2.0.0.29), but I am still facing issues.
Has anyone encountered a similar situation?
What could be causing this behavior in Clio?
Are there perhaps some configuration nuances that I'm missing?
Unfortunately, I haven’t been able to find any solutions or descriptions of similar errors online. Thank you in advance for any ideas or recommendations!
Like
The command "clio ver" shows the version of the Clio command line itself. The error is mentioning the version of cliogate, which is a package installed on the Creatio system.
To check the version of cliogate, use:
clio ver --gate -e dev-env
To install or update the cliogate on the system, use:
clio install-gate -e dev-env
Ryan
Sorry, missed that you mentioned the version of cliogate is up to date already. I've not experienced that issue.
It seems there might be an issue with the connection between a clio and your dev. Try installing the gate again:
clio install-gate some_application_name
And then restart the dev:
clio restart some_application_name
This message only appears when dev-env does not have cliogate package installed,m you can validate it with `clio packages -f cliogate`.
You should see something like this. If nothing comes back, then you need to reinstall cliogate.
Use `clio gate -e dev-env` to reinstall cliogate
Dmytro Vovchenko,
I got an exception on this:
clio install-gate -e dev-env
Uploading...
at System.Net.HttpWebRequest.GetResponse()
at Creatio.Client.CreatioClient.Login(Int32 requestTimeout)
at Creatio.Client.CreatioClient.InitAuthCookie(Int32 requestTimeout)
at Creatio.Client.CreatioClient.get_AuthCookie()
at Creatio.Client.CreatioClient.CreateCreatioRequest(String url, String requestData, Int32 requestTimeout)
at Creatio.Client.CreatioClient.UploadFile(String url, String filePath, Int32 defaultTimeout)
at Clio.Common.CreatioClientAdapter.UploadFile(String url, String filePath)
at Clio.Package.BasePackageInstaller.UploadPackage(String filePath, EnvironmentSettings environmentSettings)
at Clio.Package.BasePackageInstaller.InstallPackedPackage(String filePath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions)
at Clio.Package.BasePackageInstaller.InstallPackage(String packagePackedFileOrFolderPath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions)
at Clio.Package.BasePackageInstaller.InternalInstall(String packagePath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions, String reportPath)
at Clio.Package.PackageInstaller.Install(String packagePath, EnvironmentSettings environmentSettings, PackageInstallOptions packageInstallOptions, String reportPath)
at Clio.Command.PushPackageCommand.Execute(PushPkgOptions options)
Artem Ivzhenko,
according to the trace of the error the request to login either timed out or returned an error. This might be also related to the fact that dev apps are shut down automatically in case there is no activity in the dev app for the past 60 minutes. Try the following steps:
- Open the login page of the dev app in the UI and make sure it's loaded.
- Wait for 1-2 minutes (for the app to completely initialize after starting).
- Try executing the cliogate install once again.
Please let us know about the result.
Oleg Drobina,
I followed the steps you outlined above and I still get the same error.
I don't understand why a connection error occurs, especially since the ping
command returns:[INF] - Done ping-app
.
At the same time, other developers connected to the same environment are working without any issues.
I am not connected to a VPN or proxy server.
Oleg Drobina,
In my understanding, a timeout error should not occur immediately after running the command, but rather after some time has passed, since a timeout cannot happen within just one second.
In my case, I receive the error right after launching the command, without any delay.