PHP Storm Update 403 error

From inside the IDE I clicked the update button when notified of a new version but then I get a notification 

Failed to prepare an update: Request failed with status code 403 

I know I can go to the site and download the update but wondered why this is happening

the error appears for more than a week

I see that it is not the first time that it happens

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007759600-EAP-Update-403-error 

0
7 comments

What version are you trying to upgrade from? Also, in the idea.log, please check what file exactly fails to be downloaded.

0

My version

PhpStorm 2020.1
Build #PS-201.6668.153, built on April 13, 2020

 

The update

Build #PS-201.7223.96

 

idea.log

2020-05-11 18:24:26,341 [ 70111] INFO - ateSettings.impl.UpdateChecker - failed to load plugin descriptions from : Malformed URL:
2020-05-11 18:26:08,406 [ 172176] WARN - eSettings.impl.UpdateInstaller - Request failed with status code 403
com.intellij.util.io.HttpRequests$HttpStatusException: Request failed with status code 403. Status=403, Url=https://download.jetbrains.com/webide/PS-201.6668.153-201.7223.96-patch-jbr11-x86-win.jar
at com.intellij.util.io.HttpRequests.throwHttpStatusError(HttpRequests.java:643)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:624)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:56)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:375)
at com.intellij.util.io.HttpRequests$RequestImpl.getInputStream(HttpRequests.java:384)
at com.intellij.util.io.HttpRequests$RequestImpl.saveToFile(HttpRequests.java:460)
at com.intellij.util.io.RequestBuilder.lambda$saveToFile$1(RequestBuilder.java:69)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:516)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:498)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:56)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:349)
at com.intellij.util.io.RequestBuilder.saveToFile(RequestBuilder.java:69)
at com.intellij.openapi.updateSettings.impl.UpdateInstaller.downloadPatchChain(UpdateInstaller.kt:60)
at com.intellij.openapi.updateSettings.impl.UpdateInfoDialog$5.run(UpdateInfoDialog.java:237)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:930)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:432)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$null$3(ProgressRunner.java:233)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:625)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:570)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:233)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

0

Did you modify the installation and replace the x64 JDK with the x86 one? Because otherwise, I don't understand why 201.6668.153 which didn't have the x86 bundled would try to download an x86 patch.

0

I don't have x64 JDK installed. I also didn't have JRE x86 installed when I installed Php storm. I didn't have Java installed on my computer when I installed Php Storm.

I remember that Php Storm gave me the possibility to install it without Java. I remember I checked an option where it downloaded and installed what it needed by itself.

After installing Php Storm I installed Java x86 because I needed it for another application

 

 

0

Ah, got it. You must have checked this checkbox during the installation.
Unfortunately, we don't build patches for x86 installations any longer, so please consider either re-installing Phpstorm not checking this checkbox (if you are using an x64 Windows version), or use JetBrains Toolbox to manage IDE updates.

0

Ok i will do what you say. I have a x64 Windows version and I have jre-8u251-windows-x64 (i said i had installed Java x86 but is x64)

Is that enough or do I need another java version?

Thanks!

0

You don't need to install Java Runtime Environment separately, it's bundled with the Phpstorm installer. Just re-install the IDE not checking this checkbox.

0

Please sign in to leave a comment.