spatie / ray

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

Laravel Ray License Activation Issues Over SOCKS5 Proxy #812

Closed marijnbent closed 3 months ago

marijnbent commented 11 months ago

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 Laravel Ray License activation prompts are persistently appearing in my unique network environment which utilises a SOCKS5 proxy. I have previously activated my Laravel Ray license, however, now the license activator pops up every time I launch the app. This interrupts my usual development workflow and is causing frustration.

Versions Ray version (you can see this in "About Ray"): 2.5.1

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

To Reproduce In my case, the bug is reproduced when using a SOCKS5 proxy. Here are the steps:

  1. Set up a SOCKS5 proxy on iOS device with Pythonista installed, running a SOCKS5 server script, which shares the mobile internet connection with other devices.
  2. Launch Laravel Ray on any device using the SOCKS5 proxy connection.
  3. See the license activator pop up.
  4. When clicking the Activate button, after x seconds the following message appears: "The license server gave an unexpected response, please try again"

Expected behavior Upon successfully activating the license once, I expect to be able to use Laravel Ray without having to go through the license activation process every time the application is launched. The license activation prompts should not interfere with the normal usage of the application after successful activation.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2023-07-26 at 15 14 48

Desktop (please complete the following information):

This SOCKS5 setup doesn't just proxy web stuff, but pretty much any TCP connection, which comes in really handy for my development work. For example, I can proxy an SSH connection like so:

ssh -o ProxyCommand='nc -X 5 -x <IP>:9876 %h %p' user@host

I've also set it up for git like this:

$ https_proxy=socks5://172.16.20.1:9876 git clone https://github.com/nneonneo/iOS-SOCKS-Server

It's pretty neat! But here's where I hit a snag - my Laravel Ray license. I've activated it before, but now the license activator pops up every time I launch the app. It's really putting a damper on my dev process and causing me some frustration.

I get that the license check is probably for security, but it seems to be having some unintended consequences with my setup.

So, could you give me a hand with this? Is there a way to validate my license that'll play nice with my setup? Or maybe there's an alternative method or a workaround I could use?

ronfuller commented 10 months ago

I continually get the license activation prompt on Mac OS Ventura 13.5.1 as well but am not running a special proxy server. I have to delete the license on the Ray website license manager and then re-activate almost daily.

majidsmileitsolutions commented 7 months ago

I don't use any proxy or VPN and still get the same error on activating the application:

The license server gave an unexpected response, please try again
spatie-bot commented 3 months ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.