Massage Warning: An error occurred while requesting the API

System Information
  • v4:
  • Windows:
  • Mysql:
  • v14:
  • v8:

i deployed my strapi project on openshif after i pushed it to nexus repository and then pulled it in openshif after i finish and it was up and runing this was the logs :

empty@0.1.0 start /usr/src/app
strapi start

[2023-09-18 10:16:21.310] e[32minfoe[39m: The Users & Permissions plugin automatically generated a jwt secret and stored it in .env under the name JWT_SECRET.

Project information

e[90m┌────────────────────e[39me[90m┬──────────────────────────────────────────────────┐e[39m
e[90m│e[39m Time e[90m│e[39m Mon Sep 18 2023 10:16:21 GMT+0000 (Coordinated … e[90m│e[39m
e[90m│e[39m Launched in e[90m│e[39m 1127 ms e[90m│e[39m
e[90m│e[39m Environment e[90m│e[39m development e[90m│e[39m
e[90m│e[39m Process PID e[90m│e[39m 19 e[90m│e[39m
e[90m│e[39m Version e[90m│e[39m 4.13.5 (node v14.21.3) e[90m│e[39m
e[90m│e[39m Edition e[90m│e[39m Community e[90m│e[39m
e[90m│e[39m Database e[90m│e[39m mysql e[90m│e[39m
e[90m└────────────────────e[39me[90m┴──────────────────────────────────────────────────┘e[39m

Actions available

One more thing…
Create your first administrator :computer: by going to the administration panel at:

e[90m┌─────────────────────────────┐e[39m
e[90m│e[39m http://localhost:1337/admin e[90m│e[39m
e[90m└─────────────────────────────┘e[39m

[2023-09-18 11:18:47.637] e[32mhttpe[39m: GET /admin (18 ms) 200
[2023-09-18 11:41:55.699] e[32mhttpe[39m: GET /admin (9 ms) 200
[2023-09-18 11:41:55.856] e[32mhttpe[39m: GET /admin/runtime~main.6304468f.js (3 ms) 200
[2023-09-18 11:41:56.136] e[32mhttpe[39m: GET /admin/main.50652367.js (4 ms) 200
[2023-09-18 11:42:00.502] e[32mhttpe[39m: GET /admin/448.829e1344.chunk.js (4 ms) 200
[2023-09-18 11:42:00.503] e[32mhttpe[39m: GET /admin/9944.7af075a5.chunk.js (3 ms) 200
[2023-09-18 11:42:00.648] e[32mhttpe[39m: GET /admin/admin-app.2a8615ab.chunk.js (2 ms) 200
[2023-09-18 11:42:00.935] e[32mhttpe[39m: GET /admin/en-json.e12fd5fc.chunk.js (3 ms) 200
[2023-09-18 11:42:01.061] e[32mhttpe[39m: GET /admin/fr-json.33c6428b.chunk.js (1 ms) 200
[2023-09-18 11:42:01.760] e[32mhttpe[39m: GET /admin/content-type-builder-translation-en-json.ed29ff4d.chunk.js (2 ms) 200
[2023-09-18 11:42:01.760] e[32mhttpe[39m: GET /admin/content-type-builder-translation-fr-json.499c3a46.chunk.js (2 ms) 200
[2023-09-18 11:42:01.907] e[32mhttpe[39m: GET /admin/email-translation-en-json.4211d4d0.chunk.js (6 ms) 200
[2023-09-18 11:42:01.908] e[32mhttpe[39m: GET /admin/email-translation-fr-json.78be2787.chunk.js (5 ms) 200
and so i created a route and it open the page that welcome you and says lets get start it and when i press the button create your first admin it strats loading forever and this message appear : Warning:

An error occurred while requesting the API anyone ones whats wrong ? i made sure that the database is there and connected note: i used deployment for my add and i created PVC for both my app and my database