Google Cloud - Backend unhealthy and LB not workingGoogle Cloud Platform project requests and errorsSetting up SSL certificate on google cloud apacheHow to enable incoming and outgoing world wide web traffic in IISGoogle Cloud default network not found errorGoogle Cloud Deployment Manager and resources changesGoogle Cloud IN_USE_ADDRESSES quota exceeded.Static IP on Google cloud instance stopped workingGoogle Cloud Load Balancer - 502 - Unmanaged instance group failing health checksGoogle Cloud Platform and Nginx reverse proxyPort forwarding not working on Google Cloud

Dealing with spaghetti codebase, manager asks for things I can't deliver

Does French have the English "short i" vowel?

Drums and punctuation

Is there a simple example that empirical evidence is misleading?

Why did other houses not demand this?

Is there any relationship between frequency of signal and distance it travels?

Why is the Eisenstein ideal paper so great?

Why A=2 and B=1 in the call signs for Spirit and Opportunity?

Are there any German nonsense poems (Jabberwocky)?

Is superuser the same as root?

Is it legal to have an abortion in another state or abroad?

Why do Russians almost not use verbs of possession akin to "have"?

What does kpsewhich stand for?

USPS Back Room - Trespassing?

Are runways booked by airlines to land their planes?

How to deal with a colleague who is being aggressive?

Beginner looking to learn/master musical theory and instrumental ability. Where should I begin?

What weight should be given to writers groups critiques?

Do photons bend spacetime or not?

How can I make an argument that my time is valuable?

How does the EU Emissions Trading Scheme account for increased emissions outside the EU?

Natural Armour and Weapons

My players want to grind XP but we're using milestone advancement

Expected maximum number of unpaired socks



Google Cloud - Backend unhealthy and LB not working


Google Cloud Platform project requests and errorsSetting up SSL certificate on google cloud apacheHow to enable incoming and outgoing world wide web traffic in IISGoogle Cloud default network not found errorGoogle Cloud Deployment Manager and resources changesGoogle Cloud IN_USE_ADDRESSES quota exceeded.Static IP on Google cloud instance stopped workingGoogle Cloud Load Balancer - 502 - Unmanaged instance group failing health checksGoogle Cloud Platform and Nginx reverse proxyPort forwarding not working on Google Cloud






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I somehow broke a working SSL LB with a minor change and now cannot get it to work again.



VM Instance -
- Showing unhealthy and giving a 502 error through the external IP (but taking the correct SSL certificate)
- Includes firewall rules separately for both 443 and 80 ports



LB -
- Front-end is set for HTTPS traffic with the SSL certificate (issued by Let's Encrypt)
- Back-end is pointing to 443 port of the VM instance above via HTTPS protocol (and a zone)



Firewall -
- In addition to the VM instance above, the firewall rule also exists for the LB from IP ranges: 130.211.0.0/22, 35.191.0.0/16 via 443 port



What should I do? I restarted the VM instance as well.










share|improve this question




























    1















    I somehow broke a working SSL LB with a minor change and now cannot get it to work again.



    VM Instance -
    - Showing unhealthy and giving a 502 error through the external IP (but taking the correct SSL certificate)
    - Includes firewall rules separately for both 443 and 80 ports



    LB -
    - Front-end is set for HTTPS traffic with the SSL certificate (issued by Let's Encrypt)
    - Back-end is pointing to 443 port of the VM instance above via HTTPS protocol (and a zone)



    Firewall -
    - In addition to the VM instance above, the firewall rule also exists for the LB from IP ranges: 130.211.0.0/22, 35.191.0.0/16 via 443 port



    What should I do? I restarted the VM instance as well.










    share|improve this question
























      1












      1








      1








      I somehow broke a working SSL LB with a minor change and now cannot get it to work again.



      VM Instance -
      - Showing unhealthy and giving a 502 error through the external IP (but taking the correct SSL certificate)
      - Includes firewall rules separately for both 443 and 80 ports



      LB -
      - Front-end is set for HTTPS traffic with the SSL certificate (issued by Let's Encrypt)
      - Back-end is pointing to 443 port of the VM instance above via HTTPS protocol (and a zone)



      Firewall -
      - In addition to the VM instance above, the firewall rule also exists for the LB from IP ranges: 130.211.0.0/22, 35.191.0.0/16 via 443 port



      What should I do? I restarted the VM instance as well.










      share|improve this question














      I somehow broke a working SSL LB with a minor change and now cannot get it to work again.



      VM Instance -
      - Showing unhealthy and giving a 502 error through the external IP (but taking the correct SSL certificate)
      - Includes firewall rules separately for both 443 and 80 ports



      LB -
      - Front-end is set for HTTPS traffic with the SSL certificate (issued by Let's Encrypt)
      - Back-end is pointing to 443 port of the VM instance above via HTTPS protocol (and a zone)



      Firewall -
      - In addition to the VM instance above, the firewall rule also exists for the LB from IP ranges: 130.211.0.0/22, 35.191.0.0/16 via 443 port



      What should I do? I restarted the VM instance as well.







      google-cloud-platform google-compute-engine google-cloud-network-load-balancer






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 10 at 20:59









      Saurabh VyasSaurabh Vyas

      61




      61




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Could you tell me the last change you did to your SSL LB?



          Right now it seems that you've configured the correct firewall rule to allow traffic from health check IP ranges 130.211.0.0/22, 35.191.0.0/16 on port 443. So you have to check your health check configuration in order to see if the URL path that GCP uses when sending health check requests is on port 443.



          GCP health checks will expect a HTTP(s) 200 response, make sure that your backend server is listening on that port and the URL match the Health check's URL path.



          You can check if your instance is listening on port 443 with the following commands (only for linux).



          nmap -Pn
          nmap -Pn



          netstat -an | grep -i listen
          netstat -an | grep -w 443 | grep -i listen



          Maybe your VM instances is listening and trying to response health check request on different port/path than the specified in health check's configuration.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f966783%2fgoogle-cloud-backend-unhealthy-and-lb-not-working%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Could you tell me the last change you did to your SSL LB?



            Right now it seems that you've configured the correct firewall rule to allow traffic from health check IP ranges 130.211.0.0/22, 35.191.0.0/16 on port 443. So you have to check your health check configuration in order to see if the URL path that GCP uses when sending health check requests is on port 443.



            GCP health checks will expect a HTTP(s) 200 response, make sure that your backend server is listening on that port and the URL match the Health check's URL path.



            You can check if your instance is listening on port 443 with the following commands (only for linux).



            nmap -Pn
            nmap -Pn



            netstat -an | grep -i listen
            netstat -an | grep -w 443 | grep -i listen



            Maybe your VM instances is listening and trying to response health check request on different port/path than the specified in health check's configuration.






            share|improve this answer



























              0














              Could you tell me the last change you did to your SSL LB?



              Right now it seems that you've configured the correct firewall rule to allow traffic from health check IP ranges 130.211.0.0/22, 35.191.0.0/16 on port 443. So you have to check your health check configuration in order to see if the URL path that GCP uses when sending health check requests is on port 443.



              GCP health checks will expect a HTTP(s) 200 response, make sure that your backend server is listening on that port and the URL match the Health check's URL path.



              You can check if your instance is listening on port 443 with the following commands (only for linux).



              nmap -Pn
              nmap -Pn



              netstat -an | grep -i listen
              netstat -an | grep -w 443 | grep -i listen



              Maybe your VM instances is listening and trying to response health check request on different port/path than the specified in health check's configuration.






              share|improve this answer

























                0












                0








                0







                Could you tell me the last change you did to your SSL LB?



                Right now it seems that you've configured the correct firewall rule to allow traffic from health check IP ranges 130.211.0.0/22, 35.191.0.0/16 on port 443. So you have to check your health check configuration in order to see if the URL path that GCP uses when sending health check requests is on port 443.



                GCP health checks will expect a HTTP(s) 200 response, make sure that your backend server is listening on that port and the URL match the Health check's URL path.



                You can check if your instance is listening on port 443 with the following commands (only for linux).



                nmap -Pn
                nmap -Pn



                netstat -an | grep -i listen
                netstat -an | grep -w 443 | grep -i listen



                Maybe your VM instances is listening and trying to response health check request on different port/path than the specified in health check's configuration.






                share|improve this answer













                Could you tell me the last change you did to your SSL LB?



                Right now it seems that you've configured the correct firewall rule to allow traffic from health check IP ranges 130.211.0.0/22, 35.191.0.0/16 on port 443. So you have to check your health check configuration in order to see if the URL path that GCP uses when sending health check requests is on port 443.



                GCP health checks will expect a HTTP(s) 200 response, make sure that your backend server is listening on that port and the URL match the Health check's URL path.



                You can check if your instance is listening on port 443 with the following commands (only for linux).



                nmap -Pn
                nmap -Pn



                netstat -an | grep -i listen
                netstat -an | grep -w 443 | grep -i listen



                Maybe your VM instances is listening and trying to response health check request on different port/path than the specified in health check's configuration.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 14 at 21:23









                Daniel EmilianoDaniel Emiliano

                1




                1



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f966783%2fgoogle-cloud-backend-unhealthy-and-lb-not-working%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company