![]() |
Codeigniter official website open source code shows Invalid request (Unsupported SSL - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Codeigniter official website open source code shows Invalid request (Unsupported SSL (/showthread.php?tid=87946) |
Codeigniter official website open source code shows Invalid request (Unsupported SSL - Amirhossein_Moloudi - 06-25-2023 I just cloned the project ( https://github.com/codeigniter4projects/website ) on my own pc and then used "php spark serve" to test it. but the problem is, whenever I try to access it through "http://localhost:8080/", it redirects me to "https://localhost:8080/" and then the browser shows "This site can’t be reached-localhost refused to connect-ERR_CONNECTION_REFUSED" and also the console keeps saying "Invalid request (Unsupported SSL request)" I double-ckecked config files, htaccess and also php serve arguments but nothing seems wrong! Thanks in advance for your attention. RE: Codeigniter official website open source code shows Invalid request (Unsupported SSL - kenjis - 06-25-2023 Add the following in your .env: Code: app.forceGlobalSecureRequests = false |