Laravel 5.4 : The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths










4














It is Laravel 5.4 setup of my web app.
one thing is happening repeatedly on page load. and because of that, I am not able to get data on my page.



Runtime exception: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.



Got this error repeatedly



I would be thankful for any help.










share|improve this question























  • So it's happening sometimes but not all the time?
    – apokryfos
    Jun 15 '17 at 10:29










  • yes, not all the time
    – Hardika Satasiya
    Jun 29 '17 at 9:46















4














It is Laravel 5.4 setup of my web app.
one thing is happening repeatedly on page load. and because of that, I am not able to get data on my page.



Runtime exception: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.



Got this error repeatedly



I would be thankful for any help.










share|improve this question























  • So it's happening sometimes but not all the time?
    – apokryfos
    Jun 15 '17 at 10:29










  • yes, not all the time
    – Hardika Satasiya
    Jun 29 '17 at 9:46













4












4








4


2





It is Laravel 5.4 setup of my web app.
one thing is happening repeatedly on page load. and because of that, I am not able to get data on my page.



Runtime exception: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.



Got this error repeatedly



I would be thankful for any help.










share|improve this question















It is Laravel 5.4 setup of my web app.
one thing is happening repeatedly on page load. and because of that, I am not able to get data on my page.



Runtime exception: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.



Got this error repeatedly



I would be thankful for any help.







php laravel configuration






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 26 '17 at 10:14







Hardika Satasiya

















asked Jun 15 '17 at 10:20









Hardika SatasiyaHardika Satasiya

179213




179213











  • So it's happening sometimes but not all the time?
    – apokryfos
    Jun 15 '17 at 10:29










  • yes, not all the time
    – Hardika Satasiya
    Jun 29 '17 at 9:46
















  • So it's happening sometimes but not all the time?
    – apokryfos
    Jun 15 '17 at 10:29










  • yes, not all the time
    – Hardika Satasiya
    Jun 29 '17 at 9:46















So it's happening sometimes but not all the time?
– apokryfos
Jun 15 '17 at 10:29




So it's happening sometimes but not all the time?
– apokryfos
Jun 15 '17 at 10:29












yes, not all the time
– Hardika Satasiya
Jun 29 '17 at 9:46




yes, not all the time
– Hardika Satasiya
Jun 29 '17 at 9:46












4 Answers
4






active

oldest

votes


















13














I think you should try this



run this command



php artisan key:generate


and the clear config cache using



php artisan config:cache





share|improve this answer






















  • Why is this happening?
    – Luigi Lopez
    Nov 6 '17 at 0:49










  • worked perfect thank you
    – Sweet Chilly Philly
    Nov 16 '18 at 0:14


















3














Make sure your app config has key and cipher set. Also make sure your .env file does not have an empty APP_KEY entry. Finally run:



php artisan key:generate





share|improve this answer




























    1














    Make sure to set APP_Key in .env file and then run following command in the terminal of your application root.



    php artisan key:generate





    share|improve this answer




























      0














      i was getting the same error.



      run this command.



      php artisan key:generate


      updated the app key in .env



      work for me



      you can take help from link






      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%2f44564962%2flaravel-5-4-the-only-supported-ciphers-are-aes-128-cbc-and-aes-256-cbc-with-th%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        13














        I think you should try this



        run this command



        php artisan key:generate


        and the clear config cache using



        php artisan config:cache





        share|improve this answer






















        • Why is this happening?
          – Luigi Lopez
          Nov 6 '17 at 0:49










        • worked perfect thank you
          – Sweet Chilly Philly
          Nov 16 '18 at 0:14















        13














        I think you should try this



        run this command



        php artisan key:generate


        and the clear config cache using



        php artisan config:cache





        share|improve this answer






















        • Why is this happening?
          – Luigi Lopez
          Nov 6 '17 at 0:49










        • worked perfect thank you
          – Sweet Chilly Philly
          Nov 16 '18 at 0:14













        13












        13








        13






        I think you should try this



        run this command



        php artisan key:generate


        and the clear config cache using



        php artisan config:cache





        share|improve this answer














        I think you should try this



        run this command



        php artisan key:generate


        and the clear config cache using



        php artisan config:cache






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 13 '18 at 9:50









        Mel

        3,77092330




        3,77092330










        answered Jun 15 '17 at 10:33









        AddWeb Solution Pvt LtdAddWeb Solution Pvt Ltd

        12.6k1936




        12.6k1936











        • Why is this happening?
          – Luigi Lopez
          Nov 6 '17 at 0:49










        • worked perfect thank you
          – Sweet Chilly Philly
          Nov 16 '18 at 0:14
















        • Why is this happening?
          – Luigi Lopez
          Nov 6 '17 at 0:49










        • worked perfect thank you
          – Sweet Chilly Philly
          Nov 16 '18 at 0:14















        Why is this happening?
        – Luigi Lopez
        Nov 6 '17 at 0:49




        Why is this happening?
        – Luigi Lopez
        Nov 6 '17 at 0:49












        worked perfect thank you
        – Sweet Chilly Philly
        Nov 16 '18 at 0:14




        worked perfect thank you
        – Sweet Chilly Philly
        Nov 16 '18 at 0:14













        3














        Make sure your app config has key and cipher set. Also make sure your .env file does not have an empty APP_KEY entry. Finally run:



        php artisan key:generate





        share|improve this answer

























          3














          Make sure your app config has key and cipher set. Also make sure your .env file does not have an empty APP_KEY entry. Finally run:



          php artisan key:generate





          share|improve this answer























            3












            3








            3






            Make sure your app config has key and cipher set. Also make sure your .env file does not have an empty APP_KEY entry. Finally run:



            php artisan key:generate





            share|improve this answer












            Make sure your app config has key and cipher set. Also make sure your .env file does not have an empty APP_KEY entry. Finally run:



            php artisan key:generate






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 15 '17 at 10:21







            user320487




























                1














                Make sure to set APP_Key in .env file and then run following command in the terminal of your application root.



                php artisan key:generate





                share|improve this answer

























                  1














                  Make sure to set APP_Key in .env file and then run following command in the terminal of your application root.



                  php artisan key:generate





                  share|improve this answer























                    1












                    1








                    1






                    Make sure to set APP_Key in .env file and then run following command in the terminal of your application root.



                    php artisan key:generate





                    share|improve this answer












                    Make sure to set APP_Key in .env file and then run following command in the terminal of your application root.



                    php artisan key:generate






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jun 15 '17 at 10:31









                    James WalterJames Walter

                    814




                    814





















                        0














                        i was getting the same error.



                        run this command.



                        php artisan key:generate


                        updated the app key in .env



                        work for me



                        you can take help from link






                        share|improve this answer

























                          0














                          i was getting the same error.



                          run this command.



                          php artisan key:generate


                          updated the app key in .env



                          work for me



                          you can take help from link






                          share|improve this answer























                            0












                            0








                            0






                            i was getting the same error.



                            run this command.



                            php artisan key:generate


                            updated the app key in .env



                            work for me



                            you can take help from link






                            share|improve this answer












                            i was getting the same error.



                            run this command.



                            php artisan key:generate


                            updated the app key in .env



                            work for me



                            you can take help from link







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 2 '18 at 16:19









                            Arslan AhmadArslan Ahmad

                            750820




                            750820



























                                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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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%2f44564962%2flaravel-5-4-the-only-supported-ciphers-are-aes-128-cbc-and-aes-256-cbc-with-th%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

                                Top Tejano songwriter Luis Silva dead of heart attack at 64

                                ReactJS Fetched API data displays live - need Data displayed static

                                政党