403 Forbidden on schema dbchangelog-3.4.xsd from CircleCI.com

We’re getting a 403 Forbidden error on the following URL from CircleCI.com

Server returned HTTP response code: 403 for URL: http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd

But If I try to get the URL from my local machine it works just fine.

Kind regards

Jan Willem

I fixed it by using local XSD files and referencing them instead of depending on the liquibase.org website.



We are getting the same 403 Forbidden response, if we run liquibase from gradle.

After analyzing the http requests, we found out, that with User-Agent: Java/1.8.0_252 we get the 403 Forbidden response, without it, it works fine.

http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd -> 200

For a quick workaround we set the Jvm parameter http.agent=curl/7.55.1 and it temporarily resolved the issue.

This should be fixed. Are you still getting these errors?

I don’t know, we moved the xsd files into the project and referenced the local directory. That fixed the problem immediately