-
Notifications
You must be signed in to change notification settings - Fork 33
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
u3d available getting a 403 #433
Comments
Unfortunately, we are also getting 403 error when using u3d.
|
Same issue. Reinstalling u3d doesn't seem to help.
|
This appears to be Unity blocking default Ruby user agent. This line can set a real user agent: https://github.com/DragonBox/u3d/blob/master/lib/u3d/utils.rb#L46 i.e. this works for me: def get_ssl(url, redirect_limit: 10, request_headers: {'User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0'}) |
Nice find. Thanks, it also works for me. |
Thanks @mwegner for the find! I've opened a PR that does mostly the same, I'll try to release this fix ASAP! |
Hi! May I ask for an approximate release date with a fix? |
@niezbop Hi! Would be you kind to merge this fix? |
Hey everyone. Sorry for the time it took. u3d has been updated to 1.3.3! It's available on RubyGems and will be available on Github once I manage to fix my setup on my machine |
Issue Checklist
u3d --help
Issue Description
Running u3d available from a Mac, I'm seeing 403 errors, though I'm not sure which underlying call is having the actual problem. I see there was a similar issue a couple years ago: #402, and I wonder if some page has been made unavailable recently. From a previous run a few days ago that did work, we had gotten results like:
Version 2020.3.41f1: https://download.unity3d.com/download_unity/7c19dc9acfda/
I see that the link gets access denied when I try it locally, I don't know if that was the case before or if that is new.
Current output from the command:
The text was updated successfully, but these errors were encountered: