Invalid request (Unsupported SSL request) - Laravel - laravel

Microsoft Windows 11 Pro Build 22000
PHP 8.1.6
Laravel Framework 8.83.24
XAMPP 8.1.4
Hi all! I have a problem with opening the page http://127.0.0.1:8000/admin/auth/login, an error appears. The .env file was edited like this on the screenshot
Getting invalid SSL certificate, got many errors on command line: Bad request (Unsupported SSL request) Closing, tried these methods from the post: How to fix Invalid request (Unsupported SSL request)
there are many errors Invalid request (Unsupported SSL request) Closing
Has anyone come across this problem and can you tell me how to solve the problem?
Code from .env file:
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:WCPyXwmMZszSnG1mbDTw4jywbcL4XXv0NW0zPSZD7ok=
APP_DEBUG=true
APP_URL=https://127.0.0.1:8000/ //tried to enter http without s same error of unsupported ssl certificate
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=shopping-app
DB_USERNAME=admin
DB_PASSWORD=
Command line errors:
D:\Programming\XAMPP\xampp\htdocs\shopping-app>php artisan serve --port 8002
PHP Warning: Module "openssl" is already loaded in Unknown on line 0
Warning: Module "openssl" is already loaded in Unknown on line 0
Starting Laravel development server: http://127.0.0.1:8002
[Sun Sep 25 09:42:51 2022] PHP Warning: Module "openssl" is already loaded in Unknown on line 0
[Sun Sep 25 09:42:51 2022] PHP 8.1.6 Development Server (http://127.0.0.1:8002) started
[Sun Sep 25 09:43:02 2022] 127.0.0.1:59678 Accepted
[Sun Sep 25 09:43:02 2022] 127.0.0.1:59679 Accepted
[Sun Sep 25 09:43:02 2022] 127.0.0.1:59679 Closing
[Sun Sep 25 09:43:02 2022] 127.0.0.1:59685 Accepted
[Sun Sep 25 09:43:03 2022] 127.0.0.1:59685 Closing
[Sun Sep 25 09:43:03 2022] 127.0.0.1:59678 Closing
[Sun Sep 25 09:43:04 2022] 127.0.0.1:59693 Accepted
[Sun Sep 25 09:43:04 2022] 127.0.0.1:59693 [200]: GET /favicon.ico
[Sun Sep 25 09:43:04 2022] 127.0.0.1:59693 Closing
[Sun Sep 25 09:43:13 2022] 127.0.0.1:59695 Accepted
[Sun Sep 25 09:43:13 2022] 127.0.0.1:59696 Accepted
[Sun Sep 25 09:43:14 2022] 127.0.0.1:59695 Closing
[Sun Sep 25 09:43:14 2022] 127.0.0.1:59699 Accepted
[Sun Sep 25 09:43:14 2022] 127.0.0.1:59699 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:14 2022] 127.0.0.1:59699 Closing
[Sun Sep 25 09:43:14 2022] 127.0.0.1:59700 Accepted
[Sun Sep 25 09:43:14 2022] 127.0.0.1:59700 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:14 2022] 127.0.0.1:59700 Closing
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59702 Accepted
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59703 Accepted
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59703 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59703 Closing
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59702 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59702 Closing
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59704 Accepted
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59705 Accepted
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59704 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59704 Closing
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59705 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:15 2022] 127.0.0.1:59705 Closing
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59708 Accepted
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59709 Accepted
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59709 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59709 Closing
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59708 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59708 Closing
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59710 Accepted
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59711 Accepted
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59711 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59711 Closing
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59710 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:20 2022] 127.0.0.1:59710 Closing
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59715 Accepted
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59716 Accepted
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59716 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59716 Closing
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59715 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59715 Closing
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59717 Accepted
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59718 Accepted
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59717 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59717 Closing
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59718 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:43:50 2022] 127.0.0.1:59718 Closing
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59696 Closed without sending a request; it was probably just an unused speculative preconnection
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59696 Closing
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59722 Accepted
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59723 Accepted
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59722 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59722 Closing
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59723 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59723 Closing
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59725 Accepted
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59726 Accepted
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59725 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59725 Closing
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59726 Invalid request (Unsupported SSL request)
[Sun Sep 25 09:44:50 2022] 127.0.0.1:59726 Closing
Upd. Updated php versions to version 8.1.10, xampp to version 8.1.6. Added xampp version at the beginning of the post.

First Way:
Please update your php.ini file or its sub-files. It is probably because you have defined the line, extension=php_openssl.dll twice in there.
Second Way:
If you are using xammp or alternative then:
Open xampp -> PHP -> php.ini
Open the file php.ini in any text editor
Press CTRL + F and Search for openssl
Comment the line extension=php_openssl.dll by placing a semi-colon at the beginning: ;extension=php_openssl.dll
Third Way:
Try to put http://localhost in .env file instead of https://127.0.0.1:8000

If none of the steps listed in above answers works. Maybe there is cache issue, you can try clearing your cache after doing these steps and see if it works.
Try these commands to remove cache:
php artisan clear
php artisan cache:clear
php artisan config:clear
php artisan optimize:clear
If the error still persists, kindly share screenshot of laravel debugger.
Thanks

Related

magento get Internal Server Error when click payment methods on backend's Configuration

I am a new guy for Magento. When I click on backend's System>Configuration>Sales>Payment Methods, I got Internal Server Error. I checked error log file, it shows the below error:
[Tue Nov 29 20:25:39.934637 2016] [access_compat:error] [pid 306944:tid 140107193476864] [client 210.5.50.143:55854] AH01797: client denied by server configuration: /var/www/vhosts/baoho.nz/httpdocs/app/etc/local.xml
[Tue Nov 29 20:25:40.318493 2016] [:error] [pid 306946:tid 140107373123328] [client 222.153.188.223] ModSecurity: Output filter: Response body too large (over limit of 524288, total not specified). [hostname "baoho.nz"] [uri "/index.php/admin/system_config/edit/section/payment/key/0ad75a974774456d274ebf7c4bcf4cb1/"] [unique_id "WD0tb#nx70z3ONKpFlNGtgAAAEI"]
[Tue Nov 29 20:25:40.318964 2016] [proxy_fcgi:error] [pid 306946:tid 140107373123328] [client 222.153.188.223:55836] AH01068: Got bogus version 101, referer: http://baoho.nz/index.php/admin/system_config/edit/section/checkout/key/0ad75a974774456d274ebf7c4bcf4cb1/
[Tue Nov 29 20:25:40.318986 2016] [proxy_fcgi:error] [pid 306946:tid 140107373123328] (22)Invalid argument: [client 222.153.188.223:55836] AH01075: Error dispatching request to :, referer: http://baoho.nz/index.php/admin/system_config/edit/section/checkout/key/0ad75a974774456d274ebf7c4bcf4cb1/
I did change .htaccess file's memory limited from 64MB to 512MB. However, it still showed the same error. Could anyone help me to solve this problem?
Thanks

Xampp can't start apache in Windows 10

I updated to Windows 10 today and I need to install XAMPP. When I do, I have one problem. When I start Apache, it gives me the following error:
This is from the apache log:
[Sun Aug 16 20:31:11.735761 2015] [ssl:warn] [pid 4600:tid 164] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:12.230789 2015] [ssl:warn] [pid 4600:tid 164] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:13.463859 2015] [mpm_winnt:notice] [pid 4600:tid 164] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.11 configured -- resuming normal operations
[Sun Aug 16 20:31:13.463859 2015] [mpm_winnt:notice] [pid 4600:tid 164] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Sun Aug 16 20:31:13.463859 2015] [core:notice] [pid 4600:tid 164] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Aug 16 20:31:13.475859 2015] [mpm_winnt:notice] [pid 4600:tid 164] AH00418: Parent: Created child process 1920
[Sun Aug 16 20:31:15.265137 2015] [ssl:warn] [pid 1920:tid 480] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:15.663212 2015] [ssl:warn] [pid 1920:tid 480] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:15.863341 2015] [mpm_winnt:notice] [pid 1920:tid 480] AH00354: Child: Starting 150 worker threads.
Thanks for your help!

wamp on windows7 - This webpage is not available

I have been using WAMP on my localhost for a few weeks and since this morning it doesn't work.
This is the error I get when loading localhost: This webpage is not available.
Firefox error is: Unable to connect. Firefox can't establish a connection to the server at localhost.
If I try to load phpmyadmin from the wamp menu, it will return the same error.
This is my apache error log:
[Mon Sep 15 23:10:36.435939 2014] [ssl:warn] [pid 2064:tid 308] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Sep 15 23:10:36.557946 2014] [mpm_winnt:notice] [pid 2064:tid 308] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g PHP/5.5.12 configured -- resuming normal operations
[Mon Sep 15 23:10:36.557946 2014] [mpm_winnt:notice] [pid 2064:tid 308] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Sep 15 23:10:36.557946 2014] [core:notice] [pid 2064:tid 308] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Sep 15 23:10:36.559946 2014] [mpm_winnt:notice] [pid 2064:tid 308] AH00418: Parent: Created child process 4796
[Mon Sep 15 23:10:37.751014 2014] [ssl:warn] [pid 4796:tid 208] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Sep 15 23:10:37.779016 2014] [mpm_winnt:notice] [pid 4796:tid 208] AH00354: Child: Starting 64 worker threads.
The day before having these problems I followed some instructions on how to make localhost load faster. I got to these instructions by simply googling "localhost slow" but I don't have the exact links to these things.
I do recall though, having disabling IPV6 (which I think is causing some problems now) in the regedit, by adding DisabledComponents with the value fffffff to the registry.
I've already deleted that key.
I also played around with the host file (which I believe I have reverted back to the original).
I currently only have one localhost in it (127.0.0.1). The rest are commented out.
If anyone needs more info, please let me know.
edit: I forgot to mention that when I run google app engine server, my localhost works fine with GAE applications but still doesn't budge for WAMP.

XAMPP gives me a blank page?

I've been using XAMPP ever since, I get this problem. Whenever I go to my page "127.0.0.1/advancedtempl" It doesn't give me an error, Just a blank soulless page, I'm not sure what's going on, I've tried putting index.php and trying other pages but no avail. What do I do?
EDIT:
This is my error logs:
[Thu Aug 15 22:25:23.186600 2013] [mpm_winnt:notice] [pid 7224:tid 344] AH00430: Parent: Child process 2036 exited successfully.
[Thu Aug 15 22:25:37.607600 2013] [ssl:warn] [pid 6540:tid 344] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:38.359600 2013] [ssl:warn] [pid 6540:tid 344] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:38.498600 2013] [mpm_winnt:notice] [pid 6540:tid 344] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.16 configured -- resuming normal operations
[Thu Aug 15 22:25:38.498600 2013] [mpm_winnt:notice] [pid 6540:tid 344] AH00456: Server built: Feb 23 2013 13:07:34
[Thu Aug 15 22:25:38.498600 2013] [core:notice] [pid 6540:tid 344] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Aug 15 22:25:38.502600 2013] [mpm_winnt:notice] [pid 6540:tid 344] AH00418: Parent: Created child process 5868
[Thu Aug 15 22:25:39.881600 2013] [ssl:warn] [pid 5868:tid 244] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:40.868600 2013] [ssl:warn] [pid 5868:tid 244] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:41.005600 2013] [mpm_winnt:notice] [pid 5868:tid 244] AH00354: Child: Starting 150 worker threads.

error 500 with xampp for linux and joomla

Im using ubuntu and XAMPP for linux and I have a problem when I try to upload an extension greater than 500kb in Joomla, I get an "HTTP Error 500"
http://s4.postimage.org/7wgxcfveq/error500.jpg
My php.ini file is configured following the joomla recomendations:
"display_errors=Off"......
here is my error log
[Mon Jun 06 14:12:45 2011] [notice]
suEXEC mechanism enabled (wrapper:
/opt/lampp/bin/suexec) [Mon Jun 06
14:12:45 2011] [warn] RSA server
certificate is a CA certificate
(BasicConstraints: CA == TRUE !?) [Mon
Jun 06 14:12:45 2011] [warn] RSA
server certificate CommonName (CN)
localhost' does NOT match server
name!? [Mon Jun 06 14:12:46 2011]
[notice] Digest: generating secret for
digest authentication ... [Mon Jun 06
14:12:46 2011] [notice] Digest: done
[Mon Jun 06 14:12:47 2011] [warn] RSA
server certificate is a CA certificate
(BasicConstraints: CA == TRUE !?) [Mon
Jun 06 14:12:47 2011] [warn] RSA
server certificate CommonName (CN)
localhost' does NOT match server
name!? [Mon Jun 06 14:12:48 2011]
[notice] Apache/2.2.17 (Unix) DAV/2
mod_ssl/2.2.17 OpenSSL/1.0.0c
PHP/5.3.5 mod_apreq2-20090110/2.7.1
mod_perl/2.0.4 Perl/v5.10.1 configured
-- resuming normal operations [Mon Jun 06 14:15:34 2011] [error] [client
192.168.56.1] PHP Fatal error: Maximum execution time of 30 seconds
exceeded in
/opt/lampp/htdocs/csu/libraries/joomla/filesystem/archive/tar.php
on line 154, referer:
http://192.168.56.101/csu/administrator/index.php?option=com_installer&view=install
The PHP Fatal error is "Maximum execution time of 30 seconds exceeded".
You could try increasing this by altering the max_execution_time in the php.ini file or create a .htaccess file containing..
php_value max_execution_time 60
Should the installation of an extension take longer than 30 seconds?
There might be a script issue, such as an endless loop, that's causing problems.

Resources