spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
568 stars 102 forks source link

Ray doesn't seem to work from a docker-image #671

Closed rgasch closed 2 years ago

rgasch commented 2 years ago

Describe the bug Ray works on native Linux (to verify that it works at all) but when attempting to use it from a running docker-image, it doesn't seem to send any data to the running ray app (OK, it might be sending something, but no output ever arrives on the actual ray app).

Versions 2.0.1

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

PHP version: 8.1.3 Laravel version (if applicable): N/A

To Reproduce Steps to reproduce the behavior:

  1. Added a ray("blah") call at the start of my controller file

Expected behavior I expect the "blah" to show up in the ray app, but nothing happens.

Screenshots N/A ... nothing happens, so no screenshot to show

Desktop (please complete the following information):

Please advise. Thank you.

freekmurze commented 2 years ago

We don't have any extra information besides what's in the docs. The most important step is to make sure those ports match up. I hope other docker users can help you with this one.