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

Half of HTTP requests on custom domain fails (502) #81

Closed
solidterre opened this issue Sep 18, 2022 · 7 comments
Closed

Half of HTTP requests on custom domain fails (502) #81

solidterre opened this issue Sep 18, 2022 · 7 comments

Comments

@solidterre
Copy link

solidterre commented Sep 18, 2022

Hey,

I was trying out your software and loved it so far. Thank you for contributing to the Open Source space.

I got an issue when trying to use an existing laravel project (that otherwise works on our custom Docker env's).
Basically, half the http requests fail (HTTP 502 - Bad Gateway). We make use of Laravel's asset() method to display images and other assets; and it's not resolving correctly when setting the APP_URL env to the custom stacks.run domain.

image

I also get the "ECONNREFUSED" error 1/2 requests.
image

Might this be because the stacks.run domain exists online?
Anyway, great product, but currently not usable for us because of the unstability 😞

@solidterre
Copy link
Author

I'm pretty sure this could be resolved by letting users use a custom domain (like custom.dev.local or something).

@sfx101
Copy link
Owner

sfx101 commented Sep 19, 2022

Hi,
There is an option to open the localhost domain; could you please check to see if you still get the domain errors there?
image

@wblondel
Copy link

I have the same issue.

App works fine using the "Non secure" link. But most requests fails when using the "Secure" link.
Sometimes I just have this error:
image
and that's it

@nabad600
Copy link
Collaborator

Hi @wblondel ,
Can you please send us the output of this following command by running it in your local terminal -
sudo lsof -PiTCP -sTCP:LISTEN

@wblondel
Copy link

Hi @nabad600,

Sorry for the late reply.

wblondel@MBP-de-William ~ % sudo lsof -PiTCP -sTCP:LISTEN
COMMAND     PID           USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
launchd       1           root   34u  IPv6 0xb3f6da2cb7811b57      0t0  TCP localhost:8021 (LISTEN)
launchd       1           root   35u  IPv4 0xb3f6da231ba82307      0t0  TCP localhost:8021 (LISTEN)
launchd       1           root   36u  IPv6 0xb3f6da2cb7811b57      0t0  TCP localhost:8021 (LISTEN)
launchd       1           root   37u  IPv4 0xb3f6da231ba82307      0t0  TCP localhost:8021 (LISTEN)
launchd       1           root   47u  IPv6 0xb3f6da2cb7812257      0t0  TCP *:50051 (LISTEN)
launchd       1           root   49u  IPv4 0xb3f6da231ba82d9f      0t0  TCP *:50051 (LISTEN)
nfsd        437           root   10u  IPv4 0xb3f6da231ba83837      0t0  TCP *:1023 (LISTEN)
nfsd        437           root   11u  IPv6 0xb3f6da2cb7812957      0t0  TCP *:1022 (LISTEN)
nfsd        437           root   13u  IPv4 0xb3f6da231ba842cf      0t0  TCP *:2049 (LISTEN)
nfsd        437           root   14u  IPv6 0xb3f6da2cb7813057      0t0  TCP *:2049 (LISTEN)
mDNSRespo   438 _mdnsresponder   44u  IPv4 0xb3f6da231a6b4d67      0t0  TCP *:53 (LISTEN)
mDNSRespo   438 _mdnsresponder   46u  IPv6 0xb3f6da2cb780c557      0t0  TCP *:53 (LISTEN)
rpc.statd   524           root   10u  IPv4 0xb3f6da231a69186f      0t0  TCP *:1021 (LISTEN)
rpc.statd   524           root   11u  IPv6 0xb3f6da2cb7804557      0t0  TCP *:1019 (LISTEN)
ControlCe   546       wblondel   19u  IPv4 0xb3f6da231ba7ed9f      0t0  TCP *:7000 (LISTEN)
ControlCe   546       wblondel   20u  IPv6 0xb3f6da2cb7813757      0t0  TCP *:7000 (LISTEN)
ControlCe   546       wblondel   21u  IPv4 0xb3f6da231ba7f837      0t0  TCP *:5000 (LISTEN)
ControlCe   546       wblondel   22u  IPv6 0xb3f6da2cb7813e57      0t0  TCP *:5000 (LISTEN)
rpcbind     548         daemon    7u  IPv4 0xb3f6da231a6b2d9f      0t0  TCP *:111 (LISTEN)
rpcbind     548         daemon    9u  IPv6 0xb3f6da2cb7806957      0t0  TCP *:111 (LISTEN)
rpc.lockd   553           root    9u  IPv4 0xb3f6da231a692d9f      0t0  TCP *:1017 (LISTEN)
rpc.lockd   553           root   10u  IPv6 0xb3f6da2cb7803057      0t0  TCP *:1012 (LISTEN)
figma_age   600       wblondel    3u  IPv4 0xb3f6da231ba84d67      0t0  TCP localhost:44950 (LISTEN)
figma_age   600       wblondel    4u  IPv4 0xb3f6da231ba8186f      0t0  TCP localhost:44960 (LISTEN)
figma_age   600       wblondel   11u  IPv4 0xb3f6da231ba7e307      0t0  TCP localhost:18412 (LISTEN)
figma_age   600       wblondel   45u  IPv4 0xb3f6da231ba7d86f      0t0  TCP localhost:7335 (LISTEN)
rpc.rquot   947           root    9u  IPv4 0xb3f6da231a686307      0t0  TCP *:1005 (LISTEN)
rpc.rquot   947           root   10u  IPv6 0xb3f6da2cb77fe957      0t0  TCP *:1000 (LISTEN)
Notion    29346       wblondel   36u  IPv4 0xb3f6da231a69d86f      0t0  TCP localhost:62847 (LISTEN)
phpstorm  31030       wblondel   11u  IPv6 0xb3f6da2cb780a257      0t0  TCP localhost:6942 (LISTEN)
phpstorm  31030       wblondel   23u  IPv6 0xb3f6da2cb780be57      0t0  TCP localhost:63342 (LISTEN)
QEMULaunc 31314       wblondel   15u  IPv4 0xb3f6da231939ed9f      0t0  TCP localhost:4000 (LISTEN)
Google    31777       wblondel  116u  IPv4 0xb3f6da231a6b3837      0t0  TCP localhost:50885 (LISTEN)
Google    31777       wblondel  182u  IPv4 0xb3f6da231a6bb837      0t0  TCP localhost:54803 (LISTEN)
RoyalTSX  32363       wblondel    5u  IPv4 0xb3f6da231938c2cf      0t0  TCP localhost:54890 (LISTEN)
Spotify   35306       wblondel   46u  IPv4 0xb3f6da23191542cf      0t0  TCP *:57621 (LISTEN)
Spotify   35306       wblondel   51u  IPv4 0xb3f6da2319146307      0t0  TCP *:65507 (LISTEN)
Messenger 38835       wblondel   81u  IPv4 0xb3f6da231a693837      0t0  TCP localhost:3103 (LISTEN)
Messenger 38835       wblondel   84u  IPv6 0xb3f6da2cb7805457      0t0  TCP localhost:3103 (LISTEN)
DECK      42088       wblondel   53u  IPv6 0xb3f6da2cb7811457      0t0  TCP *:443 (LISTEN)
DECK      42088       wblondel   54u  IPv6 0xb3f6da2cb7809b57      0t0  TCP *:80 (LISTEN)

I am using macOS Monterey 12.6

Thank you!

@wblondel wblondel mentioned this issue Sep 29, 2022
@Subhajit9836
Copy link
Collaborator

Hi @wblondel

The output is not conclusive enough to understand the issue. It'll be great for us if our developers can see the issue in realtime via a zoom/skype call with you at your convenient time. We can decide a time if it's okay with you.

Thanks

@nabad600
Copy link
Collaborator

nabad600 commented Mar 6, 2023

Hi @wblondel
We may need to close this ticket in the next 24 hours. So, I request you to inform us about the status of your query.
Let us know of any issues, we'd be happy to help.

@nabad600 nabad600 closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants