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

Ray Dump support #24

Closed
menthol opened this issue Mar 25, 2023 · 13 comments · Fixed by #39
Closed

Ray Dump support #24

menthol opened this issue Mar 25, 2023 · 13 comments · Fixed by #39
Assignees
Labels
help wanted Extra attention is needed module [Ray] question Further information is requested
Milestone

Comments

@menthol
Copy link

menthol commented Mar 25, 2023

Hello,

I don't see the compatibility with Ray dump anymore, did you remove it?
Is it planned in a future version?

@butschster butschster self-assigned this Mar 25, 2023
@butschster butschster added help wanted Extra attention is needed question Further information is requested labels Mar 25, 2023
@butschster
Copy link
Member

Hi! Yes, it's planned after we bring in order a new frontend. Maybe in 2 weeks.

@menthol
Copy link
Author

menthol commented Mar 25, 2023

I can help for the frontend part

@butschster
Copy link
Member

https://myray.app/

@butschster butschster linked a pull request May 10, 2023 that will close this issue
@butschster
Copy link
Member

image

@butschster butschster reopened this May 13, 2023
@butschster
Copy link
Member

butschster commented May 13, 2023

Hi @menthol
I've just finished working on module #39. I didn't finish only mailable type. If you want you can try to finish and maybe polish frontend. There is storybook with all required mocks for ray components.

If you have time, I would appreciate if you test the module!

@Semdevmaster
Copy link

Semdevmaster commented May 16, 2023

Ray integration in Laravel doesn't work in any recent releases: dev, lastest, rc
I am using docker and compose

docker-compose.yml

    buggregator:
      image: ghcr.io/buggregator/server:dev
      container_name: buggregator-${APP_HOST}
      ports:
        - 8000:8000
      networks:
        - docker-server

.env part

RAY_HOST=buggregator
RAY_PORT=8000

The ray() function works in the code, but the buggregator interface is empty, while Symphony var_dumper works fine!

There is an error in the browser console
image

@butschster
Copy link
Member

@Semdevmaster thx for your response!

I found out a problem and seems it's not on PHP side, but on ]nginx side](https://github.com/buggregator/spiral-app/blob/master/docker/nginx/default.conf#L11).

Ray server uses root path for sending requests, but I redirect all urls that not starts with /api to node server. I'll try to make up a solution!

@butschster
Copy link
Member

@Semdevmaster I've just release a new version, could you try it?

@HydroMoon
Copy link

HydroMoon commented May 21, 2023

@butschster I can confirm still this issue exist.

MacOs
.env
RAY_HOST=host.docker.internal
RAY_PORT=23517

Nothing appear in log however SMTP is working fine with:
MAIL_HOST=host.docker.internal
MAIL_PORT=1025

image

This is when used with javascript. When used with Laravel nothing happen on the output

Edit: The port is changed according to my docker command
docker run --pull always -p 23517:8000 -p 1025:1025 -p 9912:9912 -p 9913:9913 -d ghcr.io/buggregator/server:dev

@Semdevmaster
Copy link

Semdevmaster commented May 22, 2023

@Semdevmaster I've just release a new version, could you try it?

I checked the latest version (rc-4) - error still exists

@daronspence
Copy link

Hi, might be unrelated, but i notice that eloquent models are sent with ->toArray() in Buggregator. Is this intentional?

I see it has an eloquent_model tag but that doesn't help much when using Polymorphism in the calling location :(

Maybe I have a setting incorrectly applied? I'm using the docker compose install method.

CleanShot 2023-06-09 at 21 40 22@2x

@FluffyDiscord
Copy link
Contributor

Any updates on this?

@butschster
Copy link
Member

I think the problem was solved and I can close the issue. If someone has a new problems, let me know! Thx for help! Join our discord!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed module [Ray] question Further information is requested
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

7 participants