[GH-ISSUE #41] [Bug]: Client sent an HTTP request to an HTTPS server Error pentagi #20

Closed
opened 2026-06-06 22:08:02 -04:00 by yindo · 2 comments
Owner

Originally created by @andrey-yalta on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/vxcontrol/pentagi/issues/41

Originally assigned to: @asdek on GitHub.

Affected Component

Core Services (Frontend UI/Backend API)

Describe the bug

Hello, guys!
I successfully installed pentagi according to the instructions (Quick Start), launched the docker, but when going to the address http://127.0.0.1:8443/ I see the following entry: "Client sent an HTTP request to an HTTPS server." and the application is missing. Tell me what could have gone wrong?

Image

Steps to Reproduce

  1. Basic install
  2. Visit localhost:8443

System Configuration

Kali linux 2025.1

Logs and Artifacts

No response

Screenshots or Recordings

No response

Verification

  • I have checked that this issue hasn't been already reported
  • I have provided all relevant configuration files (with sensitive data removed)
  • I have included relevant logs and error messages
  • I am running the latest version of PentAGI
Originally created by @andrey-yalta on GitHub (May 28, 2025). Original GitHub issue: https://github.com/vxcontrol/pentagi/issues/41 Originally assigned to: @asdek on GitHub. ### Affected Component Core Services (Frontend UI/Backend API) ### Describe the bug Hello, guys! I successfully installed pentagi according to the instructions (Quick Start), launched the docker, but when going to the address http://127.0.0.1:8443/ I see the following entry: "Client sent an HTTP request to an HTTPS server." and the application is missing. Tell me what could have gone wrong? <img width="1101" alt="Image" src="https://github.com/user-attachments/assets/540701ca-9c6a-4f0e-8c42-5915446cde4d" /> ### Steps to Reproduce 1. Basic install 2. Visit localhost:8443 ### System Configuration Kali linux 2025.1 ### Logs and Artifacts _No response_ ### Screenshots or Recordings _No response_ ### Verification - [ ] I have checked that this issue hasn't been already reported - [ ] I have provided all relevant configuration files (with sensitive data removed) - [ ] I have included relevant logs and error messages - [ ] I am running the latest version of PentAGI
yindo added the bug label 2026-06-06 22:08:02 -04:00
yindo closed this issue 2026-06-06 22:08:02 -04:00
Author
Owner

@asdek commented on GitHub (May 28, 2025):

Hello @andrey-yalta

That's the correct error message - you're trying to use plain HTTP to access an HTTPS server. Simply use https://127.0.0.1:8443 instead.

This happens because if your .env file is based on .env.example, you have the SERVER_USE_SSL feature activated, which generates self-signed SSL certificates during startup.

Your browser might show a security warning about the self-signed certificate, which is normal in this development environment.

<!-- gh-comment-id:2916460051 --> @asdek commented on GitHub (May 28, 2025): Hello @andrey-yalta That's the correct error message - you're trying to use plain HTTP to access an HTTPS server. Simply use https://127.0.0.1:8443 instead. This happens because if your `.env` file is based on `.env.example`, you have the [SERVER_USE_SSL feature](https://github.com/vxcontrol/pentagi/blob/master/.env.example#L48) activated, which [generates self-signed SSL certificates](https://github.com/vxcontrol/pentagi/blob/master/entrypoint.sh#L11) during startup. Your browser might show a security warning about the self-signed certificate, which is normal in this development environment.
Author
Owner

@andrey-yalta commented on GitHub (May 29, 2025):

omg, how could i not solve the problem myself) thanks!

<!-- gh-comment-id:2918852473 --> @andrey-yalta commented on GitHub (May 29, 2025): omg, how could i not solve the problem myself) thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vxcontrol/pentagi#20