Giter VIP home page Giter VIP logo

Comments (6)

davidjgoss avatar davidjgoss commented on May 20, 2024

Also seeing this with http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.3.xsd - the server is 301 redirecting that to the https version of the same URL, which is good, but the sax parser used inside of Liquibase doesn't seem to be able to handle a redirect.

@federico-piazza does changing the schema locations in your files to the https version work?

from liquibase.

nvoxland avatar nvoxland commented on May 20, 2024

We switched the site to be https only, forgetting the xsd requests won't follow the redirects.

However, the xsd lookup code should generally not need network access to work. There were some older versions that did, but they should not recently.

What versions were you running?

from liquibase.

nvoxland avatar nvoxland commented on May 20, 2024

We did disable the https-only setting, so everything should work now

from liquibase.

federico-piazza avatar federico-piazza commented on May 20, 2024

@nvoxland our project seems to have in some files 3.1 and also 3.5 (as stated in my first message). It seems that when the switch to https only happened all the 3.5 XSD have failed.

The version of liquibase this project has is:

"org.liquibase:liquibase-gradle-plugin:1.2.4",

Now that you disabled the https-only setting everything is working again.

I have tested using https in every liquibase url but I got this error:

> liquibase.exception.LiquibaseException: Unexpected error running Liquibase: TargetNamespace.1: Expecting namespace 'https://www.liquibase.org/xml/ns/dbchangelog', but the target namespace of the schema document is 'http://www.liquibase.org/xml/ns/dbchangelog'.

Not sure if I should close this ticket, but all is good now.

Thanks for the quick turnaround.

from liquibase.

nvoxland avatar nvoxland commented on May 20, 2024

The xsd version should matter less than the liquibase version. Looks like the underlying liquibase version is 3.4.2. Thanks for letting me know.

from liquibase.

molivasdat avatar molivasdat commented on May 20, 2024

We have resolved this issue. Closing as fixed

from liquibase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.