ray
ray copied to clipboard
Laravel Ray License Activation Issues Over SOCKS5 Proxy
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:
- spatie/ray package version:
- spatie/laravel-ray package version (if applicable):
To Reproduce In my case, the bug is reproduced when using a SOCKS5 proxy. Here are the steps:
- 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.
- Launch Laravel Ray on any device using the SOCKS5 proxy connection.
- See the license activator pop up.
- 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.
Desktop (please complete the following information):
- OS: macOS
Additional context So here's the deal: I'm running a pretty unique setup using a SOCKS5 proxy to share my mobile internet connection with my other devices, a trick I call 'fake-tethering'. It's a workaround I came up with because Google Fi doesn't support tethering on iOS. The cool thing about this is that it lets me bypass any tethering restrictions and speed limits set by my carrier.
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?
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.
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
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.