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

No more working #892

Open
damms005 opened this issue Feb 11, 2024 · 8 comments
Open

No more working #892

damms005 opened this issue Feb 11, 2024 · 8 comments

Comments

@damms005
Copy link

Before creating a new bug report
Please check if there isn't a similar issue on the issue tracker or in the discussions.

If you are having troubles connecting your project to Ray, please check our docs first, especially the configuration and environment specific configuration sections.

Describe the bug
Sorry I know "not working" is vague but I do not know how best to say it.

Route::get('/r', function () {
    ray('of light');
    return "ray('of light')";
});

I see the string ray('of light') in my browser when I visit the route but nothing in Ray app.

Browser view:
image

Ray app view:
image

Versions
v2.7.5

You can use composer show to get the version numbers of:

  • spatie/ray package version: 1.39.0
  • spatie/laravel-ray package version (if applicable): 1.33.0

PHP version: 8.1.27
Laravel version (if applicable): 10.28.0

To Reproduce
Steps to reproduce the behavior:

  1. In route, do ray('anything')
  2. Ray app doesn't show anything

Expected behavior
Ray app should show ray stuff

Screenshots
Browser view:
image

Ray app view:
image

Desktop (please complete the following information):

  • OS: Linux
  • Version:
Linux damms005-HP-Laptop-15t-dy200 5.15.0-92-generic #102~20.04.1-Ubuntu SMP Mon Jan 15 13:09:14 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
@timvandijck
Copy link
Member

@damms005 could you tell me what distro you are using?

@damms005
Copy link
Author

damms005 commented Mar 5, 2024

Zorin OS 16.3

@RhysLees
Copy link

Im also facing this issue. There is no output at all, i've removed ray and installed again but that has not solved the issue.

Im running:
Mac M2 Air
Ray 2.7.5
laravel-ray 1.36.1

@damms005
Copy link
Author

Now also happening on my MBP M3. Was working but now stopped working completely.

@ksorbo
Copy link

ksorbo commented Jul 25, 2024

Same using Herd in Windows 11

@spatie spatie deleted a comment from damms005 Jul 29, 2024
@smoetje
Copy link

smoetje commented Aug 10, 2024

Same problem here. I can't get it working with Sail. I'm using Ubuntu Desktop 22.04 & followed the instructions,
Tried Ray configuration with Homestead instead to try out this way and this works like a charm (however it's not my preferred environment)

With Docker (after reconfiguring following the documentation) I'm not getting anything: no response at all from Ray app.

Linux 6.5.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Docker version 27.1.1, build 6312585

@smoetje
Copy link

smoetje commented Aug 10, 2024

Same problem here. I can't get it working with Sail. I'm using Ubuntu Desktop 22.04 & followed the instructions, Tried Ray configuration with Homestead instead to try out this way and this works like a charm (however it's not my preferred environment)

With Docker (after reconfiguring following the documentation) I'm not getting anything: no response at all from Ray app.

Linux 6.5.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Docker version 27.1.1, build 6312585

After further browsing the issues I found the reason: UFW was active (it wasn't before when using in the past).
By adding sudo ufw allow 23517 it works now. May be useful to mention UFW in the docs, saves time...

@damms005
Copy link
Author

@smoetje's suggestion or Ray can auto-detect such blockers and show a notice to the user with suggestion/possible workaround/fix.

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