Giter VIP home page Giter VIP logo

Comments (10)

cu12 avatar cu12 commented on June 22, 2024 1

Sorry to comment on a closed issue, but I think this could be useful for you too. This also could be due to the amount of DNS records you are trying to add, limit is 150.

Error on the interface, looks like this, when you reached the limit:

Error occured: Too many host records, not supported by DNS System V2. Maximum number of records supported by DNS System V2 is 150. Please delete the extra records from All Host Records page and try again.

from terraform-provider-namecheap.

adamdecaf avatar adamdecaf commented on June 22, 2024

It could be related to #13, but what version of the namecheap provider are you using? I fixed a bug that sounds very similar to yours in 1.2.0.

https://github.com/adamdecaf/terraform-provider-namecheap/releases/tag/1.2.0

from terraform-provider-namecheap.

adamdecaf avatar adamdecaf commented on June 22, 2024

@nicoleyson Did you figure this out? Need some help?

from terraform-provider-namecheap.

OGProgrammer avatar OGProgrammer commented on June 22, 2024

IP probably isn't whitelisted but I do have concerns with how slow this is. We should contact Namecheap about the throttling and work with them on a way to fix/raise that. I have not been hitting the Retry parts but I am managing 30+ domains with this and watching terraform build the apply/plan seems to fetch domain info serially. Perhaps we can async these calls within reason (under whatever Namecheap comes back as us with). You could argue I shouldn't use it for so many domains but with route_53 I bet it would be way faster than this. It still gets the job done, just have a feeling there is room for improvement somewhere still. Do you work at Namecheap @adamdecaf or know someone?

from terraform-provider-namecheap.

adamdecaf avatar adamdecaf commented on June 22, 2024

I don't work at Namecheap and don't know anyone who does. IIRC their API didn't handle concurrent requests. Maybe they have a newer API that does?

What version are you on? I lowered the retry sleep interval, which helped speed up applys after an error. I can make a RC version to try -- it'll be on Terraform 0.12 though.

from terraform-provider-namecheap.

nicoleyson avatar nicoleyson commented on June 22, 2024

Oops sorry, I missed these notifications!
Thank you so much for checking in on this, @adamdecaf !!!

I am no longer using this provider because of this bug, but looking at my commit history... my makefile looked like this:

install:
	mkdir -p ~/.terraform.d/plugins/
        curl -L  https://github.com/adamdecaf/terraform-provider-namecheap/releases/download/1.2.0/terraform-provider-namecheap-osx-amd64 > ~/.terraform.d/plugins/terraform-provider-namecheap_v1.2.0 

So definitely 1.2.0.

With regards to whitelisting, I believe I was using a combination of

data "http" "host_ip" {
  url = "https://ipv4.icanhazip.com"
}

and ${chomp(data.http.host_ip.body)} to get the ip and I ensured I whitelisted the relevant IP in namecheap as well.

from terraform-provider-namecheap.

adamdecaf avatar adamdecaf commented on June 22, 2024

Okay, sounds like the performance is definitely an issue. I hope the next release, which upgrades to Terraform 0.12 when Hashicorp releases it, will be faster for everyone.

from terraform-provider-namecheap.

adamdecaf avatar adamdecaf commented on June 22, 2024

1.3.0 of this provide has been released. Does that improve the performance for you at all?

from terraform-provider-namecheap.

OGProgrammer avatar OGProgrammer commented on June 22, 2024

Def see an improvement , thanks adam

from terraform-provider-namecheap.

adamdecaf avatar adamdecaf commented on June 22, 2024

Thanks. Feel free to ping this issue or open a new one with other problems.

from terraform-provider-namecheap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.