请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

正在回答 回答被采纳积分+3

1回答

清风 2022-07-12 15:46:11

503是说明Artifactory服务启动错误,看下Artifactory日志

0 回复 有任何疑惑可以回复我~
  • 提问者 慕粉2207556858 #1
    日志报错如下:
     java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x000xec0x010x000x000xe80x030x030x9e0xe4'P0xd70xfd0xa6={0x140xf5q*9":r0x10G0xff0xab0xf80xc80x890xa2sc0x1bA40xf30x13 ]. HTTP method names must be tokens
     	at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:434)
     	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:511)
     	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
     	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
     	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1673)
     	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
     	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
     	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
     	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
     	at java.base/java.lang.Thread.run(Thread.java:829)
    回复 有任何疑惑可以回复我~ 2022-07-12 19:48:43
  • 清风 回复 提问者 慕粉2207556858 #2
    需要配置docker的insecure-registry
    
    Resolved the issue by adding a file /etc/docker/daemon.json with following content
    
    {
        "insecure-registries" : [ "art.local:8081" ]
    }
    And then restart docker
    
    sudo systemctl daemon-reload
    sudo systemctl restart docker
    回复 有任何疑惑可以回复我~ 2022-07-15 17:26:17
  • 慕瓜2456740 回复 清风 #3
    restart了还是没解决 还是登陆不了 但是jfrog网站可以正常访问 请问应该怎么办。。
    回复 有任何疑惑可以回复我~ 2023-03-02 17:18:26
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信