liquibase: Liquibase website is unavailable
Search first
- I searched and no similar issues were found
Description
As of this morning UK time, the liquibase.org website is unavailable.
Over HTTPS, I get a certificate mismatch error (the cert is for *.wpengine.com, wpengine.com
). Over HTTP, I get a “Site is not available” message from WP Engine.
This is unfortunately now blocking our database migrations, as the XML parser is trying to download the XSD from liquibase.org.
Steps To Reproduce
Visit liquibase.org in a web browser.
Expected/Desired Behavior
The liquibase.org website loads successfully, with a valid TLS certificate, and database migrations are able to be executed successfully.
Liquibase Version
No response
Database Vendor & Version
No response
Liquibase Integration
No response
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
No response
Additional Context
No response
Are you willing to submit a PR?
- I’m willing to submit a PR (Thank you!)
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 19
- Comments: 72 (16 by maintainers)
OK, so now everything should be back up and running. Here’s what happened:
Thank you all for being patient with us. Apologies for the outage. We are looking at ways to mitigate this type of thing in the future.
The liquibase.org site is back up and the XSDs should be available. Could you let us know if things are working for you again?
I can retrieve XSD files with the browser, but builds in my CI pipeline using the liquibase-maven-plugin are failing on a year old changeset - the error still occurs:
Hi All, can you please test your workflows again and let me know if they are working?
Found on another forum and was able to reproduce the issue in Postman.
GET
request tohttps://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd
and execute. We content of XSD is returned and status is 200.User-Agent: Java/1.8.0_251
request header. Now the response is 403 and I can see an error message:Hello, as indicated by @ingokuba. If you change :
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
by
https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
it works for version 4.6.2 in a springboot app.
Thanks!!
It looks like the website is now up and accessible, but there seems to now be a redirect in place from HTTP to HTTPS, which breaks older versions of Liquibase. Can the redirect be reverted? We have old versions in the wild that we can’t (easily) update, and they’re now broken.
Still getting an error for
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
because of the 301 return code - should switch tohttps
it seems 🥲Thanks all. Great find. Working with WPEngine support right now and will post an update shortly.
@kjthorpe18 If you are on 3.4.1, the
-latest.xsd
won’t work for you. The overall logic liquibase should be doing is:Step 2 is having a problem on our server we’re looking into, but you should be able to stop it at step 1 by only referencing xsd filese that are bundled in your version of Liquibase. So for 3.4.1, that will be
dbchangelog-3.4.xsd
or earlier. Thedbchangelog-latest.xsd
file was only introduced around 4.12, so if you are on any versions before 4.12 then requesting dbchangelog-latest.xsd will still be trying to go out to the network.If you change your reference to
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd
does it work?Also: if you are have a reference to a liquibase-pro xsd file with 3.4.1 you’ll also be hitting the “fall back to the network” step, since there was no support for any pro functionality in 3.4.1. Removing that xsd reference will help too.
@jnewton03 You can use this https://github.com/ojas-krishnaprasad/Liquibase, mvn liquibase:update
Thank you @dvt-blip-ui 🙏
Only updating the link to the changelog xsd file location seems to be the solution (for me):
(line breaks for readability)
@kevin-atx We are getting 403 errors either with http / https as well Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd at sun.net.www.protocol.http.HttpURLConnection.getInputStream0 (HttpURLConnection.java:1902) at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:1500) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream (HttpsURLConnectionImpl.java:268) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity (XMLEntityManager.java:648) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion (XMLVersionDetector.java:148) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse (SchemaParsingConfig.java:582)
We’re looking into the
http
tohttps
redirect with the goal of removing the redirect. I’ll share an update with you when I hear back.Hi, have you added https only to this link? : https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
I say this because I got your error if I add https to the xmlns properties urls of the databasechangelog element.
Only this url : https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd, others with http its okey for me.
regards!
Fun fact: Even with HTTPS enabled I’m getting an error - it sounds like the XSD itself has changed? 🤔
I’ll investigate further - maybe my fault
edit: ℹ️ Using liquibase-core 4.8.0
Doesn’t this break
keycloak
for instance which hashttp
within the final peice of the schemaLocation? https://github.com/keycloak/keycloak/blob/989ffe2d228374847565c34f6ffd14afcfb31337/model/jpa/src/main/resources/META-INF/jpa-changelog-1.0.0.Final-db2.xml#L19EDIT: for reference, this was in response to a now removed comment around
http
should be replaced withhttps
@ingokuba appreciate assistance here as whilst i can technically look to fix this for my own applications this doesn’t resolve it for third party dependencies such as keycloak
You can upgrade your dependency version (i have upgraded upto 4.16.0). it help me. There are schemas in artifact
Hello,
We are aware of the issue and working to resolve it as soon as possible. We will come back with an ETA.
Please contact support if you are a Liquibase customer. Otherwise, please watch this ticket as we will provide further updates here.
my production is down now thx a lot
For us this worked:
I just heard from the team that the automatic XSD redirect from
http
tohttps
has been removed. Caching might still be an issue for people (clearing the cache or time should address that). Please let me know if this change helps the situation for those that still have trouble accessing the XSDs.I feel as if something has been changed in the backend around nginx as it is now doing permanent redirects when it wasn’t before. Surely a server snippet change has also been made in addition to the certificate being swapped out?
Can’t we remove the redirect entirely or at least have a seperate server snippet for the relevant
locations
which house the schemas?I can curl the XSD from the command line but our web application is returning a 403 error when attempting to fetch the XSD. I believe this might be due to the cert change and our previously signed cert in the java keystore not aligning with the new certificate issued to the site.
Hey there, I just tried to call the hotline, unfortunately the agent was not able to hear me and hang up. So I don’t know whether there will be any solution soon. Please keep us in touch.
Best Regards
Workaround:
panic do fix
A workaround that worked for me is to remove
s
fromhttps
. Then the app started somehow.