Jsoup 模拟jenkins登录 HTTP error fetching URL. Status=403, URL=https://jenkins.xxx:10012/jenkins/

err: org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=https://jenkins.xxx:10012/jenkins/
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:760)
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:757)
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:705)
    at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:295)
    at com.ltzx.sea.login.service.AbstractLoginService.setLoginCookiesSetResponse(AbstractLoginService.java:121)
    at com.ltzx.sea.login.service.AbstractLoginService.handleLogin(AbstractLoginService.java:87)
    at com.ltzx.sea.login.LoginRouterController.login(LoginRouterController.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegati

你可能感兴趣的:(分布式架构入门到精通)