-
Notifications
You must be signed in to change notification settings - Fork 477
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
The HTTPS url generated when running 'sail share' throws ERR_CONNECTION_REFUSED #216
Comments
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 |
Works fine for me so I suspect these are network hiccups on your end. |
I have the same problem at POP_OS! 21.04 |
@driesvints, it's a good idea to use the server and client of the same version, can sail share use a |
@finagin I'm not sure how we'd have to enforce that. |
@driesvints Check server expose version in config file on laravel-sail.site and use it in Line 325 in 78d7485
If some users want to use self hosted expose with newest version we can set version with env variable. ...
export SAIL_SHARE_SUBDOMAIN=${SAIL_SHARE_SUBDOMAIN:-""}
export SAIL_SHARE_VERSION=${SAIL_SHARE_VERSION:-"2.0.2"} # etc. 2.0.2
...
docker run --init --rm -p $SAIL_SHARE_DASHBOARD:4040 -t beyondcodegmbh/expose-server:"$SAIL_SHARE_VERSION" share http://host.docker.internal:"$APP_PORT" \
... |
@finagin that could maybe work yeah. Maybe you can whip up a PR for Taylor to review? |
Anyone been able to solve this? I still have this exact issue (on Ubuntu)
|
Same problem as @Ken-vdE. WSL2 running Ubuntu 20.04. Sail 8.1. Docker version 20.10.12. https://stackoverflow.com/questions/70970715/laravel-sail-share-gives-404-or-err-connection-refused |
Also the same problem on PopOS 20.04 |
@driesvints Can this issue be reopened? It seems more people run into this issue. |
I'll need a way to reproduce this otherwise I can't debug it. |
I am having the same problem, Expose has just been installed, Sail running on latest Laravel 9. |
I am having the same problem too. Sail version 1.15 Here is the Expose output:
And the error message:
I'm really at a loss for how to troubleshoot. |
@tsummerer we do own |
@driesvints And the I've tried on my Mac, on my phone with cellular (to rule out modem/network/wifi settings), with browsers and with curl.
|
I now realize we can't offer https because we'd have to issue certificates for each subdomain. Just use the http version for now. |
Aren’t you using wildcard certificates? |
I haven't configured HTTPS for |
If you require HTTPS, you can use https://expose.dev instead of the included |
I am working on an integration against an accounting program. They require HTTPS for the redirect URL (back to my site) once authenticated, when building and testing I need this to point to my local env. So now I'll need to add valet or herd on top of sails. I understand "PRs are welcome" but I just wonder if the HTTPS is about to be implemented soon? UPDATE: |
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_REFUSEDThe 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:
sail share
The text was updated successfully, but these errors were encountered: