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.

Thanks

Hi!

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

Problem is (again) there

$ curl -v --user-agent Java/1.8.0_302 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd
* Connected to www.liquibase.org (141.193.213.10) port 80 (#0)
> GET /xml/ns/dbchangelog/dbchangelog-3.4.xsd HTTP/1.1
> Host: www.liquibase.org
> User-Agent: Java/1.8.0_252
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden

The call ends with 200 OK if the user agent is Java or Java/2 or any other version > 1

Working on this issue now with WPEngine support. Will post update shortly.

1 Like

Hi All, can you please test your workflows again and let me know if they are working?

@lrkwz I just tried your curl command and it worked for me.

RFO here: Tomcat Not Starting, Getting 403 Error From Liquibase - #14 by jnewton