Loading...
Loading...
### Terraform Version ```shell Terraform v1.14.3 on linux_amd64 ``` ### Terraform Configuration Files ```terraform terraform { required_providers { mydevops = { source = "*******/local-terraform-provider-rt-ns-****/****" version = "0.2.1-SNAPSHOT-980c67e" } } } ``` I am using JFrog Artifactory here to distribute the Terraform provider. ### Debug Output ``` 2025-12-31T11:35:34.276+0100 [DEBUG] Service discovery for **** at https://***/.well-known/terraform.json 2025-12-31T11:35:34.372+0100 [DEBUG] GET https://***:443/artifactory/api/terraform/v1/providers/local-terraform-provider-rt-ns-***/***/versions 2025-12-31T11:35:34.511+0100 [DEBUG] GET https://***:443/artifactory/api/terraform/v1/providers/local-terraform-provider-rt-ns-***/***/0.2.1-SNAPSHOT-980c67e/download/linux/amd64 2025-12-31T11:35:34.808+0100 [DEBUG] GET https://***:443:443/artifactory/api/terraform/local-terraform-provider/providers/***/***/0.2.1-SNAPSHOT-980c67e/terraform-provider-***_0.2.1-SNAPSHOT-980c67e_SHA256SUMS?sig=[MASKED] 2025-12-31T11:35:34.889+0100 [DEBUG] GET https://***:443:443/artifactory/api/terraform/local-terraform-provider/providers/***/***/0.2.1-SNAPSHOT-980c67e/terraform-provider-***_0.2.1-SNAPSHOT-980c67e_SHA256SUMS?sig=[MASKED] (status: 502): retrying in 1s (1 left) 2025-12-31T11:35:35.889+0100 [INFO] Previous request to the remote registry failed, attempting retry. ``` We can see here all the requests succeeded but the `SHA256SUMS`. It add two `:443:443` This is the output of `https://***:443/artifactory/api/terraform/v1/providers/local-terraform-provider-rt-ns-***/***/0.2.1-SNAPSHOT-980c67e/download/linux/amd64`: ```json { "protocols" : [ ], "os" : "linux", "arch" : "amd64", "filename" : "terraform-provider-***_0.2.1-SNAPSHOT-980c67e_linux_amd64.zip", "download_url" : "https://***:443/artifactory/api/terraform/local-terraform-provider/providers/***/***/0.2.1-SNAPSHOT-980c67e/terraform-provider-***_0.2.1-SNAPSHOT-980c67e_linux_amd64.zip?sig=[MASKED]", "shasums_url" : "https://***:443/artifactory/api/terraform/local-terraform-provider/providers/***/***/0.2.1-SNAPSHOT-980c67e/terraform-provider-***_0.2.1-SNAPSHOT-980c67e_SHA256SUMS?sig=[MASKED]", "shasums_signature_url" : "https://***:443/artifactory/api/terraform/local-terraform-provider/providers/***/***/0.2.1-SNAPSHOT-980c67e/terraform-provider-***_0.2.1-SNAPSHOT-980c67e_SHA256SUMS.sig?sig=[MASKED]", "shasum" : "[MASKED]", "signing_keys" : { "gpg_public_keys" : [ { "key_id" : "**", "ascii_armor" : "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\n[MASKED]\n-----END PGP PUBLIC KEY BLOCK-----\n" } ] } } ``` We can see Artifactory already added `:443` everywhere (but it does on every JSON returned by the registry protocol not only here). ### Expected Behavior Terraform should be able to download the provider. ### Actual Behavior Terraform fails on downloading the `SHA256SUMS` file because it adds another `:443` in the URL. It does not add this extra `:443` on other URLs ### Steps to Reproduce 1. Set up JFrog Artifactory as the registry 2. Upload a provider 3. `terraform init` => The configuration of JFrog Artifactory adds explicitly the port in all of the URLs. ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.