Realm-java: Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle. Consult IDE log for more details (Help | Show Log)

Created on 16 Oct 2016  ·  15Comments  ·  Source: realm/realm-java

We LOVE to help with any issues or bug you have!

Questions: If you have questions about how to use Realm, please ask on SO - we monitor the Realm tag.

Feature Request: Just fill in the first two sections below.

Bugs: To help you as fast as possible with an issue or bug please describe your issue and the steps you have taken to reproduce it in as many details as possible.

Thanks for helping us help you :-)

Remove this and above before submitting.

Goal

What do you want to achieve?

Expected Results

?

Actual Results

E.g. full stack trace with exception

Steps & Code to Reproduce

Describe your current debugging efforts.

Code Sample

> Your code here. Bigger samples should ideally be as separate Android Studio project, 
> in gists/repositories or privately at [email protected])

Version of Realm and tooling

Realm version(s): ?

Android Studio version: ?

Which Android version and device: ?

T-Help

Most helpful comment

turn off your firewall

All 15 comments

screenshot_sun_oct_16_11 15 54
I am using Android Studio 2.2.1 and facing this error. I have tried almost everything read more than 100+ articles but still i m on the same page unable to solve to solve this problem? Please Help me i'll be thankful to you!
Error:-
Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
Consult IDE log for more details (Help | Show Log)

example of http proxy configuration is here:

https://docs.gradle.org/current/userguide/build_environment.html#sec:accessing_the_web_via_a_proxy

Feel free to reopen this if you have further question.

turn off your firewall

Solution: that worked for me

setting -
language and framework -
kotline -
update kotline plugin version -
restart computer -
run android studio and shhuk it works and it ran fater

Update kotline plugin version

tried
1) using local gradle repository

2) changing no proxy in setting-http

3) uninstalling, reinstalling, formating my laptop
after 2 days:

i tried to see a kotline in setting. then there was an update for kotline,

Hi,
i am trying to build my project after making changes in gradle.build and Manifes file, the error is occuring again and again

ERROR: Cause: connect timed out

  • i am not using any proxy
  • Internet Connection is fine
  • Android Studio is up to date

what to do with this error ?
please assist me...

image

Hi,
i am trying to build my project after making changes in gradle.build and Manifes file, the error is occuring again and again

ERROR: Cause: connect timed out

  • i am not using any proxy
  • Internet Connection is fine
  • Android Studio is up to date

what to do with this error ?
please assist me...

image

same here!

Read timed out

Maybe you need turn off your firewall

пн, 18 лист. 2019 о 22:38 Kshitiz Kumar notifications@github.com пише:

Hi,
i am trying to build my project after making changes in gradle.build and
Manifes file, the error is occuring again and again

ERROR: Cause: connect timed out

  • i am not using any proxy
  • Internet Connection is fine
  • Android Studio is up to date

what to do with this error ?
please assist me...

[image: image]
https://user-images.githubusercontent.com/36516390/67361991-b3f3cc00-f587-11e9-92ee-52ea770ddb87.png

same here!


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/realm/realm-java/issues/3636?email_source=notifications&email_token=AEF5XWLKSZAAREU5CJEJUOTQUL4M3A5CNFSM4CS7S23KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEL2Q6Q#issuecomment-555198586,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEF5XWJTUFM5JV4KOBNEMETQUL4M3ANCNFSM4CS7S23A
.

Maybe you need turn off your firewall

чт, 12 бер. 2020 о 18:48 kondwani chiomba notifications@github.com пише:

Read timed out


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/realm/realm-java/issues/3636#issuecomment-598294183,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEF5XWM6H7JOJLT6VDUCGWTRHEG7FANCNFSM4CS7S23A
.

same problem plzz help

Hi,
i am trying to build my project after making changes in gradle.build and Manifes file, the error is occuring again and again
ERROR: Cause: connect timed out

  • i am not using any proxy
  • Internet Connection is fine
  • Android Studio is up to date

what to do with this error ?
please assist me...
image

same here!

I also got the same problem. It is a newly created project but the gradle just won't build. It always give error

Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.

Though i'm not using proxy server. Also tried turning off the firewall and same error. anybody answer. please. Thank you

Solution: that worked for me

_setting - language and framework - kotline - update kotline plugin version - restart computer - run android studio and shhuk it works and it ran fater_
Update kotline plugin version

tried

  1. using local gradle repository
  2. changing no proxy in setting-http
  3. uninstalling, reinstalling, formating my laptop
    after 2 days:

i tried to see a kotline in setting. then there was an update for kotline,

will this work if i'm using java?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jjorian picture jjorian  ·  3Comments

wyvern610 picture wyvern610  ·  3Comments

mithrann picture mithrann  ·  3Comments

AlbertVilaCalvo picture AlbertVilaCalvo  ·  3Comments

yuwu picture yuwu  ·  3Comments