RatPoison-dev / RatPoison

Latest Ver: 1.7; Default Menu Key is F1; Charlatano's Successor; dn
GNU Affero General Public License v3.0
327 stars 95 forks source link

[BUG] 1.8.4 Building failed #730

Closed MotiasNotMe closed 3 years ago

MotiasNotMe commented 3 years ago

Describe the bug:

Building failed:

To Reproduce:

  1. [failure] Start installer.bat Missing installer, try auto-downloading it - error
    Exception calling "DownloadFile" with "2" argument(s): "The request was aborted:
    Could not create SSL/TLS secure channel."
    At line:1 char:1
    + (New-Object Net.WebClient).DownloadFile('http://github.com/SPRAVEDLIV ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException
  2. [success] Downloading installer.exe from master branch
  3. [success] Start installer.bat 3.1. [failure] Good! downloading, building, but failed. Can't download 1.9.13-SNAPSHOT
    > Could not determine the dependencies of task ':shadowJar'.
    > Could not find com.badlogicgames.gdx:gdx-box2d:1.9.13-SNAPSHOT.
    > Could not find com.badlogicgames.gdx:gdx-backend-lwjgl3:1.9.13-SNAPSHOT.
    > Could not find com.badlogicgames.gdx:gdx-platform:1.9.13-SNAPSHOT.
    > Could not find com.badlogicgames.gdx:gdx-box2d-platform:1.9.13-SNAPSHOT.
    > Could not find com.badlogicgames.gdx:gdx-freetype-platform:1.9.13-SNAPSHOT.
    > Could not find com.badlogicgames.gdx:gdx-freetype:1.9.13-SNAPSHOT.
    > Could not find com.badlogicgames.gdx:gdx:1.9.13-SNAPSHOT.
  4. [failure] Trying downloading last release installer.exe using link from installer.bat Page not found - Error 404
  5. [success] Downloading installer.exe manualy from
  6. [success] Start installer.bat 6.1. [failure] Error same as 3.1 Can't download 1.9.13-SNAPSHOT
  7. [success] Going to We see that the version of the snapshot has been changed to 1.9.15
  8. [success] Change version to 1.9.15 in build.gradle
  9. [success] Start installer.bat
  10. [success] Build Successful.
sotakoira commented 3 years ago

Edit this line to ext.gdxVersion = '1.9.13'

MotiasNotMe commented 3 years ago

Possibly sollution add [Net.ServicePointManager]::SecurityProtocol = "tls12" but it doesn't work for me(

PS C:\Users\User> [Net.ServicePointManager]::SecurityProtocol = "Ssl3, Tls, Tls11, Tls12, Tls13"
PS C:\Users\User> [Net.ServicePointManager]::SecurityProtocol
Ssl3, Tls, Tls11, Tls12, Tls13
PS C:\Users\User> powershell -Command "(New-Object Net.WebClient).DownloadFile('http://github.com/SPRAVEDLIVO/RatInstaller/releases/
latest/download/installer.exe', 'installer.exe')"
Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
At line:1 char:1
+ (New-Object Net.WebClient).DownloadFile('http://github.com/SPRAVEDLIV ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException
RamyS2K commented 3 years ago

I have the same problem, it always download openjdk-14.0.2_windows-x64_bin.zip and then says "some exception occurred"

I tried asking in discord server, but ain't work

MotiasNotMe commented 3 years ago

I

I have the same problem, it always download openjdk-14.0.2_windows-x64_bin.zip and then says "some exception occurred"

I tried asking in discord server, but ain't work

I solved it, follow for my steps

RamyS2K commented 3 years ago

I

I have the same problem, it always download openjdk-14.0.2_windows-x64_bin.zip and then says "some exception occurred" I tried asking in discord server, but ain't work

I solved it, follow for my steps

I redownload the 1.8.4 beta zip file and open installer.bat and it says "Installer script wasn't found. Downloading..." and then start downloading openjdk-14.0.2_windows-x64_bin.zip again. where do i save it?

image

MotiasNotMe commented 3 years ago

I redownload the 1.8.4 beta zip file and open installer.bat and it says "Installer script wasn't found. Downloading..." and then start downloading openjdk-14.0.2_windows-x64_bin.zip again. where do i save it?

im updated my issue, try follow for my successful steps

RamyS2K commented 3 years ago
  1. [success] Going to We see that the version of the snapshot has been changed to 1.9.15
  2. [success] Change version to 1.9.15 in build.gradle
  3. [success] Start installer.bat
  4. [success] Build Successful. I have followed these step, it still give me Build Failed error image
RamyS2K commented 3 years ago
  1. [success] Going to We see that the version of the snapshot has been changed to 1.9.15
  2. [success] Change version to 1.9.15 in build.gradle
  3. [success] Start installer.bat
  4. [success] Build Successful. I have followed these step, it still give me Build Failed error image

UPDATE: ok i manage to fix it by change version to 1.9.13 in build.gradle

still, thanks to MotiasF33 for giving me detailed steps