contabo / cntb

Contabo Command Line Interface
https://contabo.com
GNU General Public License v3.0
179 stars 24 forks source link

ERROR Error while parsing response 500 when userData is too big? #32

Closed mrclrchtr closed 12 months ago

mrclrchtr commented 1 year ago

Hi, I get an error when the userdata exceeds a certain size. In the case here for example:

cntb reinstall instance xxx --imageId "81d9280e-8753-40ae-8aef-7f6e20751b85" --userData 'hostname: xxx
users:
 - name: xxx
   ssh_authorized_keys:
     - ssh-ed25519 xxx
   sudo: ALL=(ALL) NOPASSWD:ALL
   groups: sudo
disable_root: true
package_update: true
package_upgrade: true
packages:
 - zsh
write_files:
 - path: /etc/ssh/sshd_config.d/sshd.config
   content: |
     PermitRootLogin no
     MaxAuthTries 2
     PasswordAuthentication no
     PermitEmptyPasswords no
     KbdInteractiveAuthentication no
     X11Forwarding no
     ClientAliveInterval 300
     ClientAliveCountMax 3
     AllowUsers xxx'

X-Request-Id: 8417db5a-8219-4705-aaf4-9d8d8d81bccc

Info from Response:

Your IP is not allowed to access Contabo.com. This only happens very rarely and can have a number of reasons, but is only temporary. Please restart your local router, this will most likely renew your IP address, and try to access Contabo.com again. You can reach us via e-mail at support@contabo.com

But it's not blockt, when the content is smaller.

tahergalal commented 12 months ago

This issue should be fixed it was being blocked by Cloud-flare we change the rules so that this should be working