coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Authentik preset `no available server` when using HTTPS

Open alepouna opened this issue 1 year ago • 32 comments

Error Message and Logs

No errors from Coolify, Authentik server container works fine for HTTP addresses.

Steps to Reproduce

  1. Add a new resource
  2. Add a premade authentik service
  3. Hit deploy
  4. Access using the default auto-gen domain - WORKS
  5. Set your own domain that has https:// (cloudflare, self cert, doesnt matter, as long as its https on the url for domain on coolify)

Example Repository URL

No response

Coolify Version

v4.0.0-beta.380

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

No response

Additional Information

No response

alepouna avatar Jan 13 '25 05:01 alepouna

Okay, I started running into this today. SSL's are also no longer getting issued as well and on one of my servers, Docker networking foobar'ed itself, but don't think that is related.

All deployments requiring SSL's is now broken with "no available servers".

maietta avatar Jan 23 '25 06:01 maietta

Sorry about that. We Introduced a bug in one of the last releases that broke some things with labels. A fix for this has been implemented and will be available in the next release. Thanks for your patience.

There is a temporary fix (will have to be reverted after the next release): https://discord.com/channels/459365938081431553/1331647210902786231/1331971443247943763

IMPORTANT: If you follow this fix, once v4.0.0-beta.389 is live, you will need to re-check readonly-label labels (rest labels if possible - should not be necessary though). Why?:

  • readonly-labels checked (true): means the editor is in read-only mode and Coolify will automatically generate all labels.
  • readonly-labels unchecked (false): means the editor is in editable mode and Coolify will not touch your labels.

peaklabs-dev avatar Jan 23 '25 13:01 peaklabs-dev

I've just tested this fix and yes, I can confirm I have deployments again on the server I still have that still function.

Thank you very much for the quick turnaround on this.

maietta avatar Jan 23 '25 15:01 maietta

Confirmed working here on my end as well with the fix on Discord on another application I was having an issue with, thanks! However, I don't see any labels and such for a Service Stack however? What would be the best way (other than waiting for the release) to fix this there?

alepouna avatar Jan 24 '25 08:01 alepouna

The fixed version is already live, so you should be fine to just update Coolify.

peaklabs-dev avatar Jan 24 '25 11:01 peaklabs-dev

Ah yeah! Cheers, all perfect now 👌

alepouna avatar Jan 25 '25 21:01 alepouna

HELP! I suddenly ran into this again in v4.0.0-beta.390.

I initially deployed a WordPress website working just fine with the SSL issued, but then a restart suddenly shows "no server available".

maietta avatar Feb 08 '25 21:02 maietta

HELP! I suddenly ran into this again in v4.0.0-beta.390.

I initially deployed a WordPress website working just fine with the SSL issued, but then a restart suddenly shows "no server available".

also experiencing this issue in v4.0.0-beta.390

Housain-maina avatar Feb 08 '25 22:02 Housain-maina

Okay, so for whatever reason, it's working again. I fully shut down the service and redeployed it. No idea what's going on yet.

maietta avatar Feb 08 '25 22:02 maietta

seeing this in the 4.0.0-beta.394 today with several out of the box resources, like browserless and convertx

leokassio avatar Feb 21 '25 02:02 leokassio

seeing this in the 4.0.0-beta.394 today with several out of the box resources, like browserless and convertx

Double check that the app isn't constantly restarting. That was an issue I did come across after the fixes provided in previous versions. Let us know,.

maietta avatar Feb 21 '25 04:02 maietta

same issue on 4.0.0-beta.394

Silur avatar Feb 24 '25 09:02 Silur

I have this issue on v4.0.0-beta.395 for a specific domain. If i use my main domain, it fails, if i generate a domain - it works.

beejaz avatar Feb 26 '25 19:02 beejaz

Using v4.0.0-beta.397, I initially got the same error when changed the domain to my custom one. After I restarted my services, the problem is gone.

dandry avatar Mar 11 '25 19:03 dandry

I have been receiving this issue for the last few days on v4.0.0-beta.397 as well unfortunately. However restarting or redeploying my services does not reliably help.

maxsommer avatar Mar 16 '25 20:03 maxsommer

Same here. :( Is this something planned to be tackled soon ?

VieiraHenrique avatar Mar 18 '25 05:03 VieiraHenrique

Same here!

pgarcias01 avatar Mar 18 '25 23:03 pgarcias01

I have the same issue on v4.0.0-beta.397. and restarting it doesn't help

prodeegi avatar Mar 19 '25 16:03 prodeegi

Please note that the issues you are experiencing are different from the specific one I had with Authentik. Please create a new issue with your conditions or ask for help on Discord.

alepouna avatar Mar 19 '25 18:03 alepouna

same here

Orbitoly avatar Mar 20 '25 19:03 Orbitoly

Busted on my server after upgrading to the latest version aswell

MattBromley98 avatar Mar 22 '25 00:03 MattBromley98

My service was working fine, re-deployed and started to give me this error "no available server" I have another identical (same github repo just different dns and env) service that is working after my last changes. I tried everything, restarted everything, even changed the DNS and it seems coolify can't issue a new certificate.

RiccardoCafa avatar Mar 29 '25 20:03 RiccardoCafa

Yeah, after 2 days digging it was my fault. If anyone had this problem may be useful: check if your healthcheck is enabled, if yes check if the path is correctly configured :P

RiccardoCafa avatar Mar 31 '25 10:03 RiccardoCafa

same here latest version

0xc0000f avatar Apr 28 '25 17:04 0xc0000f

it is still there "no available server"

pushkarsingh32 avatar May 07 '25 19:05 pushkarsingh32

same on latest version if I use custom dns + ssl and I enter with https://mydomain.com

patilanz avatar May 27 '25 22:05 patilanz

Same issue

sam-laister avatar May 28 '25 21:05 sam-laister

Same issue

cheike569 avatar May 30 '25 00:05 cheike569

The issue seems to have resurfaced.

qumberrizvi avatar Jun 01 '25 01:06 qumberrizvi

+1

keerthivasansa avatar Jun 01 '25 19:06 keerthivasansa