DragonBox / u3d

U3d is a cross-platform set of tools to interact with Unity3D from command line.
MIT License
361 stars 33 forks source link

(linux) Too many redirections #438

Open chazix opened 1 year ago

chazix commented 1 year ago

Issue Checklist

Issue Description

I encountered this in the past, and was able to do a work around by bypassing the UNITY_LINUX_DOWNLOADS forums, as it is attempting to require the user to login: https://github.com/Animal-Team/u3d/commit/2de960ed7f1e19aedc610a86c62878b5b96a17c7

the-iron-ryan commented 1 year ago

I'm having this exact same issue running on Ubuntu 23.10

itas-admin@ubuntu-server:~/Unity_Projects/drift$ u3d available --no-central --trace
Cache is out of date. Updating cache for Linux
Loading Unity releases
/var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:60:in `follow_redirects': Too many redirections (RuntimeError)
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:87:in `follow_redirects'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/utils.rb:54:in `page_content'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/unity_versions.rb:44:in `page_content'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/unity_versions.rb:208:in `block in list_available'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/unity_versions.rb:207:in `map'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/unity_versions.rb:207:in `list_available'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/unity_versions.rb:149:in `list_available'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/cache.rb:140:in `update_cache'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/cache.rb:115:in `overwrite_cache'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/cache.rb:72:in `initialize'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/commands.rb:275:in `new'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/commands.rb:275:in `cache_versions'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/commands.rb:113:in `list_available'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/commands_generator.rb:142:in `block (2 levels) in run'
        from /var/lib/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
        from /var/lib/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
        from /var/lib/gems/3.1.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
        from /var/lib/gems/3.1.0/gems/commander-4.6.0/lib/commander/runner.rb:58:in `run!'
        from /var/lib/gems/3.1.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/commands_generator.rb:265:in `run'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/lib/u3d/commands_generator.rb:43:in `start'
        from /var/lib/gems/3.1.0/gems/u3d-1.3.3/exe/u3d:9:in `<top (required)>'
        from /usr/local/bin/u3d:25:in `load'
        from /usr/local/bin/u3d:25:in `<main>'

Any updates on this?

jrowinski3d commented 11 months ago

Facing the same issue here +1