nexus-2.14.5-02 显示连接到repository.apache.org:443 [repository.apache.org/207.244.88.140]失败:连接超时处于运行模式

nexus-2.14.5-02 显示连接到repository.apache.org:443 [repository.apache.org/207.244.88.140]失败:连接超时处于运行模式

启动 nexus 后出现以下警告,访问 8081 端口时显示HTTP ERROR: 404。请指导。

jvm 1    | 2019-06-26 02:35:38,236-0400 INFO  [pxpool-1-thread-1] *TASK org.sonatype.nexus.index.NexusScanningListener - Scanning of repositoryID="central" finished: scanned=0, added=0, updated=0, removed=0, scanningDuration=0:00:00.123
jvm 1    | 2019-06-26 02:35:38,237-0400 INFO  [pxpool-1-thread-1] *TASK org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository central
jvm 1    | 2019-06-26 02:35:38,263-0400 INFO  [pxpool-1-thread-1] *TASK org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository public
jvm 1    | 2019-06-26 02:35:38,293-0400 INFO  [pxpool-1-thread-1] *TASK org.sonatype.nexus.index.tasks.UpdateIndexTask - Scheduled task (UpdateIndexTask) finished :: Updating repository index "Public Repositories" from path null and below. (started 2019-06-26T02:35:37-04:00, runtime 0:00:00.693)
jvm 1    | 2019-06-26 02:35:38,504-0400 INFO  [pxpool-1-thread-1] *TASK org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Tasks] made by *TASK...
jvm 1    | 2019-06-26 02:35:38,805-0400 INFO  [jetty-main-1]  org.sonatype.nexus.webresources.internal.WebResourceServiceImpl - Discovered 1971 resources
jvm 1    | 2019-06-26 02:35:38,806-0400 INFO  [jetty-main-1]  org.sonatype.nexus.webresources.internal.WebResourceServlet - Max-age: 30 days (2592000 seconds)
jvm 1    | 2019-06-26 02:35:38,830-0400 INFO  [jetty-main-1]  org.sonatype.nexus.bootstrap.jetty.InstrumentedSelectChannelConnector - Metrics enabled
jvm 1    | 2019-06-26 02:35:38,844-0400 INFO  [jetty-main-1]  org.eclipse.jetty.server.AbstractConnector - Started [email protected]:8081
jvm 1    | 2019-06-26 02:35:38,844-0400 INFO  [jetty-main-1]  org.sonatype.nexus.bootstrap.jetty.JettyServer - Running
jvm 1    | 2019-06-26 02:35:38,844-0400 INFO  [WrapperListener_start_runner]  org.sonatype.nexus.bootstrap.jetty.JettyServer - Started
jvm 1    | 2019-06-26 02:35:57,818-0400 WARN  [ar-4-thread-3] *TASK org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl - Remote strategy prefix-file error on M2Repository(id=apache-snapshots): org.apache.http.conn.ConnectTimeoutException: Connect to repository.apache.org:443 [repository.apache.org/207.244.88.140] failed: connect timed out
jvm 1    | 2019-06-26 02:35:57,881-0400 WARN  [ar-4-thread-2] *TASK org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl - Remote strategy prefix-file error on M2Repository(id=central): org.apache.http.conn.ConnectTimeoutException: Connect to repo1.maven.org:443 [repo1.maven.org/151.101.184.209] failed: connect timed out

还尝试在nexus.properties文件中添加以下行:

org.sonatype.nexus.proxy.maven.routing.Config.prefixFileMaxSize=500000

这没用。

相关内容