Giter Club home page Giter Club logo

Comments (10)

paulxuca avatar paulxuca commented on June 5, 2024 2

It seemed like the version of contour that was running was incompatible with the kubernetes version running on GKE (We have auto updates on) but there was no indication that there was an issue with contour besides the warning line (Being that it was a warning, we thought it could be ignored and would not interfere). Updating contour solved the issue.

from gameserver-ingress-controller.

eddie-knight avatar eddie-knight commented on June 5, 2024 1

Just another user chiming in here... Sorry to hear about the weird behavior. Perhaps this article will help by walking you through a few common debugging steps? If nothing else it'll add some more data points to rule out common issues.

https://medium.com/@ManagedKube/kubernetes-troubleshooting-ingress-and-services-traffic-flows-547ea867b120

from gameserver-ingress-controller.

danieloliveira079 avatar danieloliveira079 commented on June 5, 2024 1

Testing connectivity by trying to dig/ nslookup the HOST issued (as well as directly trying to access the underlying IP address)

Trying to connect using the IP will not work. The ingress will only route traffic based on the host name. That is also important for TLS/HTTPS.

from gameserver-ingress-controller.

paulxuca avatar paulxuca commented on June 5, 2024 1

certificates for TLS is provisioned by cert-manager and terminated at the ingress controller level. Looking into that warning line further seems to point to envoy not being set up correctly; Will report back if that was indeed the issue. Thanks for your help thus far!

from gameserver-ingress-controller.

danieloliveira079 avatar danieloliveira079 commented on June 5, 2024 1

No worries. Would you mind sharing more details about what fixed the problem. That way we can help others from the community. Thank you.

from gameserver-ingress-controller.

danieloliveira079 avatar danieloliveira079 commented on June 5, 2024

Hey @paulxuca this address is usually the IP of the load balancer. Additionally to the link Eddie shared you can check https://kubernetes.io/docs/concepts/services-networking/ingress/#types-of-ingress.

What do you see when you run kubectl -n $NAMESPACE get svc? The NAMESPACE should be the namespace where you are running your ingress controller responsible for routing traffic.

from gameserver-ingress-controller.

danieloliveira079 avatar danieloliveira079 commented on June 5, 2024

O couple of things come to mind:

  • Are you using a wildcard DNS record dedicated for the domain exposing the game servers?
  • How are you testing connectivity?
  • Have you deployed Contour?

from gameserver-ingress-controller.

paulxuca avatar paulxuca commented on June 5, 2024

Thanks for the quick response both. Went through the Medium article that Eddie linked to no avail; To answer the above questions:

Output of kubectl -n $NAMESPACE get svc

NAME                             TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE
xxx-fleet-qlhzl-6fj8m   ClusterIP   xx.xx.xxx    <none>        7703/TCP         132m
xxx-fleet-qlhzl-9d572   ClusterIP  xx.xx.xxx     <none>        7404/TCP         133m
xxx-fleet-qlhzl-j57dv   ClusterIP   xx.xx.xxx    <none>        7136/TCP         132m
  • Using wildcard DNS record for the domain for game servers (Using path routing)
  • Testing connectivity by trying to dig/ nslookup the HOST issued (as well as directly trying to access the underlying IP address)
  • Contour is deployed; Although I am seeing warning logs:
[2023-08-08 17:19:19.270][1][warning][config] [./source/common/config/grpc_stream.h:196] StreamListeners gRPC config stream closed since 407s ago: 14, upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: TLS error: 268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED

Could that be related?

Thank you so much in advance for your help!

from gameserver-ingress-controller.

danieloliveira079 avatar danieloliveira079 commented on June 5, 2024

How are you provisioning certificates for TLS?
Where are you terminating TLS? At the game server, ingress controller or at the Cloud LoadBalancer?

from gameserver-ingress-controller.

paulxuca avatar paulxuca commented on June 5, 2024

That was indeed the issue; thanks again for the help and for creating this project!

from gameserver-ingress-controller.

Related Issues (18)

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.