Giter VIP home page Giter VIP logo

Comments (4)

samlesu avatar samlesu commented on June 24, 2024

It looks like it is similar to the issue #217. The cause of the failure is different, but it's the same ambiguous error message.

from substra-backend.

AurelienGasser avatar AurelienGasser commented on June 24, 2024

After more investigation, the case I was looking at was not a HTTP 403 error. Despite the appearances, the server returns a 200.

image

For context, this is what the worker pod receives when it tries to fetch e.g. susbtra-backend.node-1.com/algo/.... but its DNS resolution points to the public internet, and not the k8s cluster.

Maybe another approach would be to look at the response content type. Thoughts @Kelvin-M

from substra-backend.

AurelienGasser avatar AurelienGasser commented on June 24, 2024

I'm going to close this for now as there's no easy way to fix it.

We should keep in mind that errors like hash doesn't match ... are usually due to DNS misconfiguration. The solution is make sure that the address substra-backend.node-{1-N}.com resolves to the cluster IP, and not to the public internet. This could be part of a troubleshooting guide? cc @natct10

from substra-backend.

natct10 avatar natct10 commented on June 24, 2024

I'm going to close this for now as there's no easy way to fix it.

We should keep in mind that errors like hash doesn't match ... are usually due to DNS misconfiguration. The solution is make sure that the address substra-backend.node-{1-N}.com resolves to the cluster IP, and not to the public internet. This could be part of a troubleshooting guide? cc @natct10

You're right! I will add this to the troubleshooting section, thank you for pointing this one out @AurelienGasser

from substra-backend.

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.