Uploading to Google Cloud Storage throws SunCertPathBuilderException randomly










0















Over the past couple of days we have been seeing the following exception when uploading to Google Cloud Storage:



javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Yesterday this was causing about 10% of uploads to fail from US West coast servers.
Today we are seeing 90% of uploads fail from our US East coast servers.



Uploads are going to a US bucket (Multi-Regional).



We are running Java 11 and google-cloud-storage-1.46.0.jar. This has been working perfectly for months, this is a recent issue.



Is anyone else seeing this problem currently? Any idea how to fix it? To me it looks like a fault Google's end, but they have not reported it.



Thanks,



Mike.










share|improve this question






















  • We are no longer getting errors on servers on the east coast, but they continue at a lower rate on the west coast. (Europe and asia server unaffected). I am surprised no one else has seen this problem. We have had over 3,000 failed uploads in the past 48 hours.

    – Michael Gardiner
    Nov 13 '18 at 13:10
















0















Over the past couple of days we have been seeing the following exception when uploading to Google Cloud Storage:



javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Yesterday this was causing about 10% of uploads to fail from US West coast servers.
Today we are seeing 90% of uploads fail from our US East coast servers.



Uploads are going to a US bucket (Multi-Regional).



We are running Java 11 and google-cloud-storage-1.46.0.jar. This has been working perfectly for months, this is a recent issue.



Is anyone else seeing this problem currently? Any idea how to fix it? To me it looks like a fault Google's end, but they have not reported it.



Thanks,



Mike.










share|improve this question






















  • We are no longer getting errors on servers on the east coast, but they continue at a lower rate on the west coast. (Europe and asia server unaffected). I am surprised no one else has seen this problem. We have had over 3,000 failed uploads in the past 48 hours.

    – Michael Gardiner
    Nov 13 '18 at 13:10














0












0








0








Over the past couple of days we have been seeing the following exception when uploading to Google Cloud Storage:



javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Yesterday this was causing about 10% of uploads to fail from US West coast servers.
Today we are seeing 90% of uploads fail from our US East coast servers.



Uploads are going to a US bucket (Multi-Regional).



We are running Java 11 and google-cloud-storage-1.46.0.jar. This has been working perfectly for months, this is a recent issue.



Is anyone else seeing this problem currently? Any idea how to fix it? To me it looks like a fault Google's end, but they have not reported it.



Thanks,



Mike.










share|improve this question














Over the past couple of days we have been seeing the following exception when uploading to Google Cloud Storage:



javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



Yesterday this was causing about 10% of uploads to fail from US West coast servers.
Today we are seeing 90% of uploads fail from our US East coast servers.



Uploads are going to a US bucket (Multi-Regional).



We are running Java 11 and google-cloud-storage-1.46.0.jar. This has been working perfectly for months, this is a recent issue.



Is anyone else seeing this problem currently? Any idea how to fix it? To me it looks like a fault Google's end, but they have not reported it.



Thanks,



Mike.







java ssl google-cloud-platform google-cloud-storage






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 13 '18 at 1:44









Michael GardinerMichael Gardiner

313




313












  • We are no longer getting errors on servers on the east coast, but they continue at a lower rate on the west coast. (Europe and asia server unaffected). I am surprised no one else has seen this problem. We have had over 3,000 failed uploads in the past 48 hours.

    – Michael Gardiner
    Nov 13 '18 at 13:10


















  • We are no longer getting errors on servers on the east coast, but they continue at a lower rate on the west coast. (Europe and asia server unaffected). I am surprised no one else has seen this problem. We have had over 3,000 failed uploads in the past 48 hours.

    – Michael Gardiner
    Nov 13 '18 at 13:10

















We are no longer getting errors on servers on the east coast, but they continue at a lower rate on the west coast. (Europe and asia server unaffected). I am surprised no one else has seen this problem. We have had over 3,000 failed uploads in the past 48 hours.

– Michael Gardiner
Nov 13 '18 at 13:10






We are no longer getting errors on servers on the east coast, but they continue at a lower rate on the west coast. (Europe and asia server unaffected). I am surprised no one else has seen this problem. We have had over 3,000 failed uploads in the past 48 hours.

– Michael Gardiner
Nov 13 '18 at 13:10













1 Answer
1






active

oldest

votes


















0














This is no longer occurring from any location.



I do not understand the cause of the failures.



My best guess is that either:



  • Some of Googles servers were returning a certificate that is not trusted by the certs in OpenJDK 11.

  • An odd networking fault.





share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    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%2fstackoverflow.com%2fquestions%2f53272582%2fuploading-to-google-cloud-storage-throws-suncertpathbuilderexception-randomly%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














    This is no longer occurring from any location.



    I do not understand the cause of the failures.



    My best guess is that either:



    • Some of Googles servers were returning a certificate that is not trusted by the certs in OpenJDK 11.

    • An odd networking fault.





    share|improve this answer



























      0














      This is no longer occurring from any location.



      I do not understand the cause of the failures.



      My best guess is that either:



      • Some of Googles servers were returning a certificate that is not trusted by the certs in OpenJDK 11.

      • An odd networking fault.





      share|improve this answer

























        0












        0








        0







        This is no longer occurring from any location.



        I do not understand the cause of the failures.



        My best guess is that either:



        • Some of Googles servers were returning a certificate that is not trusted by the certs in OpenJDK 11.

        • An odd networking fault.





        share|improve this answer













        This is no longer occurring from any location.



        I do not understand the cause of the failures.



        My best guess is that either:



        • Some of Googles servers were returning a certificate that is not trusted by the certs in OpenJDK 11.

        • An odd networking fault.






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 14 '18 at 21:14









        Michael GardinerMichael Gardiner

        313




        313



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • 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%2fstackoverflow.com%2fquestions%2f53272582%2fuploading-to-google-cloud-storage-throws-suncertpathbuilderexception-randomly%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

            How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

            Syphilis

            Darth Vader #20