Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Valet log directory don't exists after creating proxy #1242

Open
tomsix opened this issue Jan 17, 2025 · 1 comment
Open

[Bug]: Valet log directory don't exists after creating proxy #1242

tomsix opened this issue Jan 17, 2025 · 1 comment

Comments

@tomsix
Copy link

tomsix commented Jan 17, 2025

Platform

macOS

Operating system version

macOs Sequoia 15.2 (Mac mini M4)

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.14.1

PHP Version

PHP 8.4.

Bug description

After creating a proxy, the proxy doens't resolve and when I look to the logs of Nginx I get an error message. After I created the missing Logs direcory the proxy will work.

2025/01/17 10:39:24 [emerg] 989#9122: open() "/Users/toms/Library/Application Support/Herd/config/valet/Log/localhost.test-error.log" failed (2: No such file or directory)

Steps to reproduce

Command:

herd proxy localhost http://localhost.test:81

Relevant log output

toms@mac-tom ~ % curl http://localhost.test
curl: (7) Failed to connect to localhost.test port 80 after 1 ms: Couldn't connect to server
@issuelabeler issuelabeler bot added the macOS label Jan 17, 2025
@mpociot
Copy link
Member

mpociot commented Jan 17, 2025

Yes, this issue is already fixed and will be available in the next update.
You can also create a secure proxy where this issue does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants