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

u3d available 403 and patch releases #402

Open
4 tasks done
bdovaz opened this issue Jul 16, 2020 · 5 comments
Open
4 tasks done

u3d available 403 and patch releases #402

bdovaz opened this issue Jul 16, 2020 · 5 comments

Comments

@bdovaz
Copy link

bdovaz commented Jul 16, 2020

Issue Checklist

  • I'm using the latest u3d version
  • I ran u3d --help
  • I read the README
  • I made sure that a similar issue doesn't exit

Issue Description

When you run the command it returns a 403 when fetching patch releases, I don't know if Unity has changed anything on its side regarding "patch releases".

Fetching central 'versions.json' cache
Cache is out of date. Updating cache for Mac OSX
Loading Unity lts releases
Found 71 lts releases.
Loading Unity stable releases
Found 232 stable releases.
Loading Unity patch releases
Traceback (most recent call last):
        26: from /Users/jenkins/.gems/bin/u3d:23:in `<main>'
        25: from /Users/jenkins/.gems/bin/u3d:23:in `load'
        24: from /Users/jenkins/.gems/gems/u3d-1.2.3/exe/u3d:7:in `<top (required)>'
        23: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:41:in `start'
        22: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:263:in `run'
        21: from /Users/jenkins/.gems/gems/commander-4.5.0/lib/commander/delegates.rb:15:in `run!'
        20: from /Users/jenkins/.gems/gems/commander-4.5.0/lib/commander/runner.rb:68:in `run!'
        19: from /Users/jenkins/.gems/gems/commander-4.5.0/lib/commander/runner.rb:446:in `run_active_command'
        18: from /Users/jenkins/.gems/gems/commander-4.5.0/lib/commander/command.rb:153:in `run'
        17: from /Users/jenkins/.gems/gems/commander-4.5.0/lib/commander/command.rb:182:in `call'
        16: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/commands_generator.rb:140:in `block (2 levels) in run'
        15: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/commands.rb:112:in `list_available'
        14: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/commands.rb:270:in `cache_versions'
        13: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/commands.rb:270:in `new'
        12: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/cache.rb:68:in `initialize'
        11: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/cache.rb:111:in `overwrite_cache'
        10: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/cache.rb:136:in `update_cache'
         9: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/unity_versions.rb:146:in `list_available'
         8: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/unity_versions.rb:308:in `list_available'
         7: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/unity_versions.rb:295:in `fetch_all_channels'
         6: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/unity_versions.rb:268:in `fetch_some'
         5: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/unity_versions.rb:268:in `each'
         4: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/unity_versions.rb:269:in `block in fetch_some'
         3: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/unity_versions.rb:163:in `fetch_version_paged'
         2: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/utils.rb:45:in `get_ssl'
         1: from /Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/utils.rb:49:in `page_content'
/Users/jenkins/.gems/gems/u3d-1.2.3/lib/u3d/utils.rb:79:in `follow_redirects': Request failed with status 403 (RuntimeError)
@BastianBlokland
Copy link

The same thing started happening for us today.

@brennenawana
Copy link

brennenawana commented Jul 16, 2020

https://github.com/DragonBox/u3d/blob/master/lib/u3d/unity_versions.rb#L112
UNITY_PATCHES = 'https://unity3d.com/unity/qa/patch-releases'.freeze
This url was returning 403 earlier this morning, now it's returning

Language Undefined
Template Path: 
unity/qa/static--unity-qa-patch-releases
Render Layout: 
Render Layout
Body class: 
unity-qa patchreleases footer-no-space

It's at least not breaking stuff now.

@niezbop niezbop mentioned this issue Jul 16, 2020
4 tasks
@niezbop
Copy link
Member

niezbop commented Jul 16, 2020

I checked this morning using u3d available --no-central --force, and got 403 as well. While this was purely a Unity change that caused the issue (and solved it), this highlights two other issues in u3d:

  • will the patches come back to this page, or will we have to change the way we fetch those?
  • such errors should not be blocking and prevent us from getting other releases and we should definitely consider rescuing this type of situation to limit their impact. A drawback to this would be that issues could be "hidden" for longer and harder to track when they eventually pop. I'm interested in your opinion on this issue, and the way you think we should handle those.

I'll monitor the first point in the coming days to analyze whether we lost the patch listing or not.

@brennenawana
Copy link

Response from Unity support

Hi Brennen,

Thanks for your response,

spoken internally with our team in charge removing the QA patches site was a decision taken recently.

The QA patches releases are not longer a thing. This is as we are getting more regular releases on the Unity editor and are properly tested so the need for patches have reduced and we have not had any patch release since 2018.

However, if you have issues with the editor, please do let us know and we will do our best to help :)
Best regards,
Link
Customer Service Analyst

@bdovaz
Copy link
Author

bdovaz commented Jul 28, 2020

What I don't understand is why they don't leave it like it is.

If you have an old project in a version of this you can't download it anymore

What if they also take out all the 5.x's or 2017.x's...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants