Metals version info hangs
filipwiech opened this issue · comments
Describe the bug
Sometime recently trying to get Metals version info (with a list of supported Scala releases) through the command line, using metals -v
, started to hang indefinitely and not print anything. I suspect it might be caused by the recent changes in #6417. I am testing this without any VPN and the URLs referenced in the linked PR (https://oss.sonatype.org/content/repositories/snapshots/org/scalameta/, https://repo1.maven.org/maven2/org/scalameta/) seem to work just fine in the web browser. Maybe at least having a timeout when fetching the remote data could help a little bit, although the main issue still stands. 🙂
Expected behavior
Metals shows version info and a list of supported Scala releases.
Operating system
Linux
Editor/Extension
None
Version of Metals
1.3.1+18-a009ca0e-SNAPSHOT
Extra context or search terms
Version, versions, freeze, hang.