OH2 (build #693) startup fails due to error resolving artifact org.eclipse.smarthome.automation

I upgraded to Openhab 2 build #693 (online-distro) and now the system won’t start. The reason seems to be a broken link.

2017-01-04 11:09:29.273 [WARN ] [url.mvn.internal.AetherBasedResolver] - Error resolving artifact org.eclipse.smarthome.automation:org.eclipse.smarthome.automation.api:jar:0.9.0-SNAPSHOT: [Could not transfer artifact org.eclipse.smarthome.automation:org.eclipse.smarthome.automation.api:jar:0.9.0-SNAPSHOT from/to esh-snapshot-repo (https://repo.eclipse.org/content/repositories/snapshots/): Connect to repo.eclipse.org:443 [repo.eclipse.org/198.41.30.233] failed: connect timed out, Could not transfer artifact org.eclipse.smarthome.automation:org.eclipse.smarthome.automation.api:jar:0.9.0-SNAPSHOT from/to esh-snapshot-repo (https://repo.eclipse.org/content/repositories/snapshots/): Connect to repo.eclipse.org:443 [repo.eclipse.org/198.41.30.233] failed: connect timed out]
java.io.IOException: Error resolving artifact org.eclipse.smarthome.automation:org.eclipse.smarthome.automation.api:jar:0.9.0-SNAPSHOT: [Could not transfer artifact org.eclipse.smarthome.automation:org.eclipse.smarthome.automation.api:jar:0.9.0-SNAPSHOT from/to esh-snapshot-repo (https://repo.eclipse.org/content/repositories/snapshots/): Connect to repo.eclipse.org:443 [repo.eclipse.org/198.41.30.233] failed: connect timed out, Could not transfer artifact org.eclipse.smarthome.automation:org.eclipse.smarthome.automation.api:jar:0.9.0-SNAPSHOT from/to esh-snapshot-repo (https://repo.eclipse.org/content/repositories/snapshots/): Connect to repo.eclipse.org:443 [repo.eclipse.org/198.41.30.233] failed: connect timed out]
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:720)[7:org.ops4j.pax.url.mvn:2.5.2]
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:659)[7:org.ops4j.pax.url.mvn:2.5.2]
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:600)[7:org.ops4j.pax.url.mvn:2.5.2]
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:567)[7:org.ops4j.pax.url.mvn:2.5.2]
	at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download(MavenDownloadTask.java:36)[8:org.apache.karaf.features.core:4.0.8]
	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60)[8:org.apache.karaf.features.core:4.0.8]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_65]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
Caused by: shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error resolving artifact org.eclipse.smarthome.automation:org.eclipse.smarthome.automation.api:jar:0.9.0-SNAPSHOT
	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
	at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:705)[7:org.ops4j.pax.url.mvn:2.5.2]
	... 12 more
2017-01-04 11:09:29.360 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-hue, openhab-binding-exec, openhab-action-xmpp, openhab-binding-gcal1, openhab-transformation-javascript, openhab-binding-sonos, openhab-binding-weather1, openhab-transformation-regex, openhab-misc-ruleengine, openhab-binding-zwave, openhab-persistence-rrd4j, openhab-ui-basic, openhab-transformation-map, openhab-binding-ntp, openhab-binding-snmp1, openhab-action-mail, openhab-binding-fritzboxtr0641, openhab-binding-astro, openhab-ui-habmin, openhab-binding-systeminfo, openhab-ui-paper': Error

The output and symptoms are very similar to this issue a few builds back, where a library wasn’t yet published.

@Kai: Could you please have a look at this?

Thanks

I just restarted my system and the problem is gone. :slight_smile: I guess this isn’t magic, but someone had to push some buttons - thanks for this! :slight_smile: