GithubHelp home page GithubHelp logo

Comments (13)

kayx23 avatar kayx23 commented on August 18, 2024 1

No knowledge of this sorry, let's wait for others to pitch in.

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on August 18, 2024 1

I'll take a loot at it tomorrow. Currently I am busy with other tasks. Thanks for reporting.

from apisix-ingress-controller.

DokiDoki1103 avatar DokiDoki1103 commented on August 18, 2024 1

@Revolyssup You can try using a very long host field, it will not take effect

from apisix-ingress-controller.

DokiDoki1103 avatar DokiDoki1103 commented on August 18, 2024

cc @kayx23 @Revolyssup

from apisix-ingress-controller.

DokiDoki1103 avatar DokiDoki1103 commented on August 18, 2024

I need to add that this situation only occurs when two resources are updated simultaneously. If I only update one of the resources, it will work normally

[root@iZ0jlcmvdsbq3e5h9ronw8Z ~]# kubectl get apisixroutes.apisix.apache.org -n admin 
NAME                                              HOSTS                                                     URIS     AGE
180.grff3d3f.w51izhca.8.130.98.199.nip.iop-ps-s   ["80.grff3d3f.w51izhca.8.130.98.199.nip.io","lyck6.cn"]   ["/*"]   3s
1lyck6.cnp-ps-s                                   ["lyck6.cn"]                                              ["/*"]   3s

Look lyck6.cn is repetitive

I suspect it's due to the Host field being too long
80.grff3d3f.w51izhca.8.130.98.199.nip.io

Because I tested, if the host route is too long, it will not take effect. Is this a bug ?

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on August 18, 2024

@DokiDoki1103 When you check the error and response of .Update(), what do you see?

from apisix-ingress-controller.

DokiDoki1103 avatar DokiDoki1103 commented on August 18, 2024

@DokiDoki1103 When you check the error and response of .Update(), what do you see?

No errors were reported ,But I have pinpointed the problem, it's because the host field is too long

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on August 18, 2024

@DokiDoki1103 I need to be able to reproduce the issue. Can you paste the full route configuration which I can use to reproduce, for both cases when it works and when it doesnt?

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on August 18, 2024

I used the SDK to update URI field where the Host was long as you suggested and it was updated successfully.
Screenshot 2023-12-20 at 12 21 25 PM

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on August 18, 2024

Are you sure there are no reported errors from Update(), please show the logs where you log the returned response and error. Also show the complete configuration that you used.

from apisix-ingress-controller.

DokiDoki1103 avatar DokiDoki1103 commented on August 18, 2024

I know he can successfully generate it, but he cannot work, and I am not sure if it is a bug in Apisix

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on August 18, 2024

I know he can successfully generate it, but he cannot work, and I am not sure if it is a bug in Apisix

Can you clarify what you said? What do you mean by "cannot work" and do you mean that update is successful in ingress but the configuration doesn't take effect in APISIX?

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on August 18, 2024

@DokiDoki1103 Any updates?

from apisix-ingress-controller.

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.