3

Nexus Repo 503 错误解决

 2 years ago
source link: https://droidyue.com/blog/2022/07/12/nexus-503-issues/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Nexus Repo 503 错误解决

Jul 12th, 2022

最近访问Nexus Repo 曝出了下面的503 问题

http://your_server:8081/nexus/content/repositories/xxxx/module/3.0.0/module-3.0.0.pom. Return code is: 503, ReasonPhrase:Service Unavailable. ->

尝试重新启动 Nexus Repo 服务也没有解决。

后来定位到问题是代理相关设置导致。具体修改

systemProp.https.proxyPort=1080
systemProp.http.proxyHost=127.0.0.1
org.gradle.jvmargs=-Xmx10240m -XX\:MaxPermSize\=4096m -XX\:+HeapDumpOnOutOfMemoryError -Dfile.encoding\=UTF-8
org.gradle.daemon=true
systemProp.https.proxyHost=127.0.0.1
org.gradle.parallel=true
systemProp.http.proxyPort=1080

把上面设计到代理的内容删除即可。即删除下面内容

systemProp.https.proxyPort=1080
systemProp.http.proxyHost=127.0.0.1
systemProp.https.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080
droidyue_gzh_green_png.png

低价正版软件,限时优惠,Office 365,Typora等海量优惠

Posted by androidyue Jul 12th, 2022Android, Gradle, Linux, Mac, Nexus

« Flutter webview 处理回退历史


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK