sail: The HTTPS url generated when running 'sail share' throws ERR_CONNECTION_REFUSED

  • Sail Version: 1.9.0
  • Laravel Version: 8.54.0
  • PHP Version: 8.0.1
  • OS: macOS 11.5.1

Description:

When loading the https version of the URL returned by sail share in the browser, the page does not load and gives the error ERR_CONNECTION_REFUSED

The non-https url works fine.

The TrustProxies middleware has been modified following the instructions in the documentation: https://laravel.com/docs/8.x/sail#sharing-your-site

Steps To Reproduce:

  1. Run sail share
  2. Visit the https version of the Expose-URL:
Thank you for using expose.
Local-URL:		host.docker.internal:80
Dashboard-URL:		http://127.0.0.1:4040
Expose-URL:		http://7xgkwyajfn.laravel-sail.site:8080
Expose-URL:		https://7xgkwyajfn.laravel-sail.site

image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 22 (9 by maintainers)

Most upvoted comments

I haven’t configured HTTPS for sail share. Just use the HTTP link.

I have same issue

  • Sail Version: 1.15.1 (latest at now)
  • Laravel Version: 9.19
  • PHP Version: 8.0.21
  • OS: macOS 10.15.7 Screenshot 2022-08-03 at 11 33 24 Screenshot 2022-08-03 at 11 34 48

Aren’t you using wildcard certificates?

Anyone been able to solve this? I still have this exact issue (on Ubuntu)

I have same issue here on linux ubuntu 20.04, the site can’t be reached for https and for http it is keep loading without getting any results.

Sail Version: 1.9.0 Laravel Version: 8.54.0 PHP Version: 8.0.9 OS: Linux, Ubuntu 20.04.01

I have same issue here on linux ubuntu 20.04, the site can’t be reached for https and for http it is keep loading without getting any results.

Sail Version: 1.9.0 Laravel Version: 8.54.0 PHP Version: 8.0.9 OS: Linux, Ubuntu 20.04.01

@finagin that could maybe work yeah. Maybe you can whip up a PR for Taylor to review?