Skip to content

kitro/simlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Issue 503 Service Unavailable after reload frankenphp

The demo simulate the issue in reload frankenphp service throw 503 during handling requests.

First let's up the services:

docker compose up -d

In your terminal to test http requets

count=0; while true; do ((count++)); echo -ne "Requests sent: $count\r"; http_status=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:81); if [ "$http_status" != "200" ]; then echo ""; echo "Loop broken at request $count"; echo "Server returned HTTP status $http_status"; break; fi; done

Access to the frankenphp and reload the service

docker compose exec frankenphp bash
frankenphp reload -c /etc/frankenphp/Caddyfile -f

Now the command to send request stop and throw Server returned HTTP status 503.

About

resolve_root_symlink issue in Frankenphp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages