EAP Update 403 error

From inside the IDE I clicked the update button when notified of a new EAP 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

Everything else seems to be working

Rob

24 comments
Comment actions Permalink

What version are you trying to upgrade from?

403 http code means the request is forbidden on your end. Could be caused by proxy. Please check the issue with your internet provider or ask IT department to help.

You can also try doing a network test to ensure nothing is blocking the connectivity:

ping jetbrains.com
telnet jetbrains.com 443
0
Comment actions Permalink

ping working no problem.
not using a proxy as far as I know
no IT working from home
no problem with any other site or connection
telnet gives this response

HTTP/1.1 400 Bad Request Server: CloudFront Date: Mon, 30 Mar 2020 10:37:42 GMT Content-Type: text/html Content-Length: 915 Connection: close X-Cache: Error from cloudfront Via: 1.1 0f6f1904b6904f4881311d3f5570a9ab.cloudfront.net (CloudFront) X-Amz-Cf-Pop: MXP64-C1 X-Amz-Cf-Id: ucYzOSqKk7rHzxAKRcZfRa2x8tDutjRjuPoKCX8u4dpkzYAoMuM2Pw== <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE> </HEAD><BODY> <H1>400 ERROR</H1> <H2>The request could not be satisfied.</H2> <HR noshade size="1px"> Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. <BR clear="all"> If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. <BR clear="all"> <HR noshade size="1px"> <PRE> Generated by cloudfront (CloudFront) Request ID: ucYzOSqKk7rHzxAKRcZfRa2x8tDutjRjuPoKCX8u4dpkzYAoMuM2Pw== </PRE> <ADDRESS> </ADDRESS> </BODY></HTML>

Connection to host lost.

TIA
Rob

0
Comment actions Permalink

Would really appreciate help on this:
I do not have any proxy blocking this...

I have checked with the browser and this is what happens
I try to access https://download.jetbrains.com/webstorm - response I get is a 302 which redirects to https://download-cf.jetbrains.com/webstorm
I assume the "cf" stands for CLoudFront

I then get a response 403 forbidden

HTTP/1.1 403 Forbidden

Content-Type: application/xml

Transfer-Encoding: chunked

Connection: keep-alive

Date: Fri, 03 Apr 2020 16:34:55 GMT

Server: AmazonS3

X-Cache: Error from cloudfront

Via: 1.1 d92debab8d9ca0518390aebaec8733a7.cloudfront.net (CloudFront)

X-Amz-Cf-Pop: ZRH50-C1

X-Amz-Cf-Id: p9L2OKNSDSTEVsPY1oPDX7mOxfTXki0b_2dmBUV7m2ngC-v43cjzbg==


Testing the connection with WebStorm  I also get a 403, if I try telnet I get 403
I have checked my firewall its not blocking, and this is the only url I am having a problem with

TIA
Rob

0
Comment actions Permalink

Same issue here...

0
Comment actions Permalink

Can be related to patches re-building due to https://youtrack.jetbrains.com/issue/IDEA-236950

Please try updating now - does it work for you?

0
Comment actions Permalink

such issues can also occur when updating from WebStorm version with the JBR8 runtime
Starting with WebStorm 2020.1, we no longer provide a build with this runtime version and therefore there're no patches for it.
Sorry for not handling the update properly in this case.
Please download WebStorm 2020.1 with the JBR11 runtime from our website: https://www.jetbrains.com/webstorm/download/

0
Comment actions Permalink

https://confluence.jetbrains.com/display/WI/WebStorm+EAP?utm_source=product&utm_medium=link&utm_campaign=WS&utm_content=2020.1

The windows installer link points to the DMG version so cant install this......


and the reason for having to go to the link instead of using the update function in WS is that i "STILL CANT CONNECT"..........

I did the 2020.1 download as you suggested and even after that the next update (today) still fails with 403..... is this never going to work again?

0
Comment actions Permalink

>The windows installer link points to the DMG version so cant install this......

Fixed, thanks for reporting!

>I did the 2020.1 download as you suggested and even after that the next update (today) still fails with 403

what version did you try to update?

0
Comment actions Permalink

Currently have WS-201.6668.106

RUNTIME VERSION 11.0.6+b765.25 amd64
0
Comment actions Permalink

what errors can you see namely on updating?

0
Comment actions Permalink

Exactly the same as before:
Get a notification of update available, click the update, then in the dialog click "Update and Restart" and then get a notification
"Connection Error"
Failed to prepare an update: Request failed with status code 403
and then the link to open the download page on your site......

so exactly the same as first commented on this topic

0
Comment actions Permalink

please share your log folder zipped

0
Comment actions Permalink

Having same issue. Here's the log part with an exception:

2020-04-25 13:04:16,427 [ 26487] 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/idea/IU-193.6911.18-201.6668.121-patch-win.jar
at com.intellij.util.io.HttpRequests.throwHttpStatusError(HttpRequests.java:645)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:626)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:56)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:376)
at com.intellij.util.io.HttpRequests$RequestImpl.getInputStream(HttpRequests.java:385)
at com.intellij.util.io.HttpRequests$RequestImpl.saveToFile(HttpRequests.java:462)
at com.intellij.util.io.RequestBuilder.lambda$saveToFile$1(RequestBuilder.java:69)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:518)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:500)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:56)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:350)
at com.intellij.util.io.RequestBuilder.saveToFile(RequestBuilder.java:69)
at com.intellij.openapi.updateSettings.impl.UpdateInstaller.downloadPatchChain(UpdateInstaller.kt:61)
at com.intellij.openapi.updateSettings.impl.UpdateInfoDialog$5.run(UpdateInfoDialog.java:238)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:888)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:163)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:150)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.lambda$run$0(CoreProgressManager.java:402)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:221)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:402)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:238)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

0
Comment actions Permalink

Same issue here. This is from my home connection. No IT department or proxies  involved

0
Comment actions Permalink

Same issue here - IntelliJ Ultimate 

 

2020-05-01 09:07:52,962 [ 289001] 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/idea/IU-201.6668.121-201.7223.91-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)

 

When accessing URL from logs in browser:

https://download-cf.jetbrains.com/idea/IU-201.6668.121-201.7223.91-patch-jbr11-x86-win.jar

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>D7C7DA8B1F768553</RequestId>
<HostId>
Gm15Qa8C+SKY2UrZ5ciRClIjmNn/Bs1dvFV+ISL3nBmBDINNUrKLexPekD9aApK32PKNiVOTLSU=
</HostId>
</Error>
0
Comment actions Permalink

Same issue here, with Php Storm

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

0
Comment actions Permalink

Same issue with IntelliJ

I use the Ultimate version

0
Comment actions Permalink

Same issue during update from IDEA 2020.1 to 2020.1.1  (community edition)

0
Comment actions Permalink

Same issue for me, I am in my home network and non-community phpstorm version.

 

8:15 a.m. PhpStorm 2020.1.1 available
Update...

8:15 a.m. Connection Error
Failed to prepare an update:
Request failed with status code 403
Open download page.

8:51 a.m. PhpStorm 2020.1.1 available
Update...

8:51 a.m. Connection Error
Failed to prepare an update:
Request failed with status code 403
Open download page.

0
Comment actions Permalink

I have the same issue trying to update from WebStorm 2018.3 on Ubuntu 18.04 with Unity.

Ping and telnet can connect.

$ ping -c 4 jetbrains.com
PING jetbrains.com (13.32.99.25) 56(84) bytes of data.
64 bytes from server-13-32-99-25.prg50.r.cloudfront.net (13.32.99.25): icmp_seq=1 ttl=245 time=24.5 ms
64 bytes from server-13-32-99-25.prg50.r.cloudfront.net (13.32.99.25): icmp_seq=2 ttl=245 time=25.2 ms
64 bytes from server-13-32-99-25.prg50.r.cloudfront.net (13.32.99.25): icmp_seq=3 ttl=245 time=24.8 ms
64 bytes from server-13-32-99-25.prg50.r.cloudfront.net (13.32.99.25): icmp_seq=4 ttl=245 time=26.0 ms

--- jetbrains.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 24.549/25.161/26.007/0.548 ms

$ telnet jetbrains.com 443
Trying 13.32.99.98...
Connected to jetbrains.com.
Escape character is '^]'.

 

When trying the URL from the error log with curl I get a 302 redirect.

$ curl -v https://download.jetbrains.com/webstorm/WS-201.6668.106-201.7223.93-patch-unix.jar<html>

...
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 302
< date: Fri, 29 May 2020 07:57:26 GMT
< content-type: text/html
< content-length: 138
< location: https://download-cf.jetbrains.com/webstorm/WS-201.6668.106-201.7223.93-patch-unix.jar
< server: nginx
< strict-transport-security: max-age=31536000; includeSubdomains;
< x-frame-options: DENY
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block;
< x-geocountry: Czechia
< x-geocode: CZ
< x-geocity: Prague
<
<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

 

0
Comment actions Permalink

Same issue. No fix?

0
Comment actions Permalink

what OS are you on, what version are you updating from? please share the log folder zipped (Help | Collect Logs and Diagnostic Data)

0
Comment actions Permalink

=== About ===
Build version: WebStorm 2019.1.4 Build #WS-191.8026.39 July 29, 2019
Java version: 1.8.0_212-release-1586-b4x86_64
Operating System: Mac OS X (10.15.4, x86_64)
JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o

=== System ===
Number of CPU: 12
Used memory: 302Mb
Free memory: 948Mb
Total memory: 1251Mb
Maximum available memory: 16300Mb

=== Displays ===
Displays:
Display 0: 1920x1200; scale: 1.00
Display 1: 3360x2100; scale: 2.00
Display 2: 1920x1200; scale: 1.00

=== Plugins ===
Custom plugins: [TeamCity (2019.2.71499), Json Parser (1.4.1), React Native Console (2019.3.1), Wallaby (1.0.157)]
Disabled plugins:[IntelliJ Configuration Script (191.8026.39)]

 

Log folder - 
https://drive.google.com/file/d/1_O7ehLLBqNsnEDy9gpx66Unnrr-K1o2W/view?usp=sharing

0

Please sign in to leave a comment.