Dart Plugin For Eclipse - Using a network Proxy - eclipse

I'm currently using Eclipse: Kepler and just installed the Dart plug-in via Help->Install New Software.
Download went through without a hitch and I attempted to create my first dummy project to see if it was all working fine similar to how it's displayed in http://blog.dartwatch.com/2013/01/integrating-dart-into-eclipse-and-your.html
However, I'm getting some pub errors where it can not download of the required libraries. The error in question looks like this
Got socket error trying to find package "browser" at https://pub.dartlang.org.
SocketException: Connection failed (OS Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
, errno = 10060), address = pub.dartlang.org, port = 443
That said, is there an additional configuration/ini file that I need to modify for this to work? I've checked my system and environment variables - nothing seems out of place. I can use the build in browser inside of eclipse and download other packages through the Eclipse Marketplace.

Issue 5454 is relating to using pub behind a proxy and marked as "Fixed", but there's still some discussion going on after it was marked as Fixed, so I'm not completely sure what the status is today. There's some discussion of different behaviour from the editor though.

Related

eclipse market place connection issue

I have issue in connecting to eclipse market place from Eclipse Version: Oxygen.3a Release (4.7.3a)
I am getting below error when try to open eclipse market place.
"Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Unable to connect to repository http://marketplace.eclipse.org/catalogs/api/p
Unable to connect to repository http://marketplace.eclipse.org/catalogs/api/p
Connection timed out: connect
Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Connection timed out: connect"
have tried changing window-->preferences-->General-->Network connections-->active provider to Direct/Manual, updating eclipse.ini with "-Djava.net.preferIPv4Stack=true"..
None of the things worked out for me..
Please suggest me on this.
Thanks
The point in the comment is well-taken. I find it hard to understand why so many people at my company are still trying to get Oxygen to work.
However, it is within the realm of possibilities that you can get the Marketplace connection working with this. I would assume that you are running behind a corporate firewall. There will be a particular proxy url you're supposed to use behind the firewall, which you have to configure in "Manual" mode in Network Connections. If you don't know what that proxy url is, you won't be able to get this to work.
Once you get the proxy working, you may get a different error, related to SSL and certificates. That would imply that your firewall requires a particular root certificate provided by your company. Assuming that's the case, that certificate needs to be installed in the Java distribution that is being used to run Eclipse. If you run into this, I would post a new question if you're unable to resolve this.

Eclipse/ App Engine Page load failed with error: The network connection was lost

I had a Google App Engine Standard Projects running in Eclipse in different workspaces without any problems for many weeks.
Suddenly, since today, I get an error when trying to Run any projects as an App Engine:
http://localhost:8080/
Page load failed with error: The network connection was lost.
I have no idea by what this was caused, as I was coding on a project during that time and a few hours ago still worked normally.
I do not get any other specific error in the Console, the processes seem to run normally at first. Any ideas that I could try?
I think for some reason the local preview in port 8080 is not available anymore, not sure if it changed its port, you can try restarting your OS and eclipse and launching the local server again. You can also Go to the servers tab in Eclipse and change the HTTP port there to something else like 9080 and try again with that new port.
I could not find the exact reason why it was caused, but my system seemed to have issues to resolve localhost. I used it with the IP instead and after some days it started working again using localhost.

Eclipse connecting errors

I'm new to using Eclipse and my experiance with it so far has been shocking. It wouldnt even install from the Exe provided on the site... Every time it tries to connect for an update or a plugin I want to install it just throws an error saying it can't connect to the site or theres an error authenticating or theres an error reading signed content. Is there something ive missed while searching the internet to resolve these issues...
I have already tried disabling firewall, disabling antivirus, setting 'Active Provider' under network connections to Manual and the default of Native, Deleting the artifacts.xml file, deleting cache.
Just as an example of the error I have included an error I've just made it create by reloading Oxygen in Available Software Sites of the settings:
Unable to read repository at http://download.eclipse.org/releases/oxygen.
Unable to read repository at http://download.eclipse.org/releases/oxygen.
Unable to read repository at http://download.eclipse.org/releases/oxygen/201712201001.
Input is not in the XZ format
Also when Installing WindowBuilder from this URL http://download.eclipse.org/windowbuilder/WB/integration/4.7/ which is clearly working:
Unknown Host: http://http/download.eclipse.org/windowbuilder/WB/integration/4.7/content.xml
Unknown Host: http://http/download.eclipse.org/windowbuilder/WB/integration/4.7/content.xml
http

unable to read repository when installing google plugin for eclipse

when I tried to install Google plugin for eclipse, the installation was always failed with the following error messages.
the first ones:
Unable to connect to repository h**ps://dl.google.com/eclipse/plugin/4.2/content.xml
Unable to connect to repository h**ps://dl.google.com/eclipse/plugin/4.2/content.xml
Connection timed out: connect
I clicked the OK button, after a few minutes, the second ones popped up as follows.
Unable to read repository at h**ps://dl.google.com/eclipse/plugin/4.2/content.xml.
Unable to read repository at h**ps://dl.google.com/eclipse/plugin/4.2/content.xml.
Software caused connection abort: recv failed
Then I clicked the OK button again, the installation stopped and failed.
I totally follow the instruction on Google's official website https://developers.google.com/eclipse/docs/getting_started. The version of Eclipse I used is
Eclipse 3.8/4.2 (Juno), and the direct link of the plugin for Eclipse 3.8/4.2 (Juno) is https://dl.google.com/eclipse/plugin/4.2.
BTW, the goagent was running during I did all the above searching and installation, would this be a problem of the connection failure? Hope it's not, because I need to run goagent otherwise I cannot access to Google's websites...
Could anyone tell me have to fix the problem? Thanks in advance!
PS. ** stands for tt. I made such changes because the body of my question now cannot contain more than two links...

Getting a HTTP ERROR 404 when I try to download Rational Test Workbench for Android. Why?

I am using IBM Mobile Test Workbench for Worklight 8.5.10 plugin for Eclipse and I am trying to add a device using my PC. I've done the same process on a Mac and it works fine no issues. However on my PC when I go to the Workbench URL in a browser, phone, or emulator I go to start the download and I receive this on all devices...
HTTP ERROR: 404 Problem accessing
/android/client/com.ibm.rational.test.mobile.android.client.ui-release.apk.
Reason:
Not Found
Does anybody have any idea why I would be getting this?
a good idea would be to check if your firewall is not blocking port 7878 or 8080 (the ones that are used by MTWW to communicate between device and workbench)
simple test for that : stop your firewall for 5 minutes, retry
if it works, it mean you'll have to configure this firewall to open this port
if you can't open this specific port, you can configure MTWW to change the default communication port (to use one that is open in your firewall) like this :
in MTW, open : windows => preferences => Test => performance Test
Report => Web report
check "Allow remote access from a web browser"
check "no security is required to access reports"
change value of "non-secure port" (default = 8080)
when done, it would be better to restart MTWW before retrying
if all of this fail, last solution is to manually install the client apk
apk is located there :
[IBM shared dir of your install]\plugins\com.ibm.rational.test.mobile.android.runtime_[some version number]\client
apk to install : com.ibm.rational.test.mobile.android.client.ui-release.apk
the simpler is use "adb connect [your device ip]" (if adb is not yet connected to your device), then "adb install [apkname]"
Jerome B.
After much trial and errors I finally fixed my issue. Here's the last thing I did to get it working. I uninstalled everything from Java, Eclipse, and IBM. I then reinstalled everything and placed Eclipse in My Documents and I changed Java versions to 1.6. After all of that it seems to be working fine. It doesn't make much sense.