Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle Received status code 403 from server: Forbidden

Tags:

I can't build my android project due to this error. Gradle failed to GET https://www.jitpack.io/com/github/Raizlabs/DBFlow/dbflow/3.1.1/dbflow-3.1.1.pom . Strange enough I am able to view the pom file behind this URL in my browser. What might be the problem here?

My gradle.properties look like this:

systemProp.http.proxyHost=myproxy.local
systemProp.http.proxyPort=3210
systemProp.https.proxyHost=myproxy.local
systemProp.https.proxyPort=3210
systemProp.http.proxyUser=usr
systemProp.http.proxyPassword=pwd

When I remove the proxyUser/Password I get an 407 Proxy Authentication Required.

like image 337
Chriss Avatar asked Sep 04 '17 13:09

Chriss


People also ask

Could not head received status code 403 from server forbidden gradle?

Received status code 403 from server: Forbidden Error To solve this error just Upgrade Gradle to the latest version. Follow this step to Upgrade Gradle to the latest version. Open Your Build. gradle You can Find at this path android/build.

Why does it keep saying 403 forbidden?

The 403 Forbidden error appears when your server denies you permission to access a page on your site. This is mainly caused by a faulty security plugin, a corrupt . htaccess file, or incorrect file permissions on your server.


1 Answers

For me this worked 1. Invalidate caches/restart 2. Sync project with gradle files

like image 154
Jeremiah Polo Avatar answered Nov 15 '22 11:11

Jeremiah Polo