-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could not update site: Error: Request failed with status code 400, when disabling Automatic SSL (ACME) #189
Comments
At first glance, I'm guessing that Meli being deployed on a subdomain of the domain you're trying to add to a site is causing an issue in the Caddy configuration we generate. Up to now, we've always expected sites to be on different domains for security. I'll try to reproduce and see if we can find a fix. Just in case: Make sure the "Expose branches" option is disabled for the domain in Meli, as this could definitely cause problems. I confirm that sub directories for Meli are currently not supported. |
disabling Automatic SSL (ACME) was the issue however enabling it, fixed the issue, now it shows not found which is probably because the site currently has nothing in it. |
@fareszr thanks for the kind words ! Just curious, could you try to reproduce the 400 and inspect the response from the server ? I'd be curious to see what you're getting. Chrom inspect should be enough, just the JSON response would help already. Also, if you can enable debug logs in Meli with |
can you clarify a bit? |
The 523 is normal, it's returned (by Caddy) when you are trying to get a URL which is not served by Caddy. This happens when you've recently created a site manually in the UI and haven't chose a main branch yet. What I'm trying to debug is the If you can reproduce the error (perhaps on a new site in Meli, to avoid disturbing your current setup) and post the logs here, it would be really helpful. Make sure to remove sensitive info like your domain if you don't want it visible here. |
got it! note: things between `` have been replaced with placeholdersserver logs
client
|
That's awesome, thanks so much ! Very helpful 😄 |
no problem! , and again thanks for the awesome project! |
This was released on beta. I'm closing, but feel free to comment and we'll reopen if needed. |
hello, first of all thanks for awesome project!
i have deployed meli on
meli.domain.com
(couldn't get sub directory to work, is it supported?) and i want the site to be atdomain.com
both
domain.com
andmeli.domain.com
are set to reverse proxy for 127.0.0.1:9999however when adding
domain.com
to meli org it shows:Could not update site: Error: Request failed with status code 400
and when visiting domain.com apache2 shows :
Requested URL not served on this server
this is not mentioned in the docs, and i don't want the site to be a subdomain
The text was updated successfully, but these errors were encountered: