org.springframework.web.client.HttpClientErrorException: 401 null

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your path is correct, if it's correct already you have to register your path to the mapping configuration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 609#294467035
    via GitHub by KMedhansh
    ,
    • org.springframework.web.client.HttpClientErrorException: 401 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:620) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:595) at org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport.executeInfoRequestInternal(RestTemplateXhrTransport.java:138) at org.springframework.web.socket.sockjs.client.AbstractXhrTransport.executeInfoRequest(AbstractXhrTransport.java:155) at org.springframework.web.socket.sockjs.client.SockJsClient.getServerInfo(SockJsClient.java:286) at org.springframework.web.socket.sockjs.client.SockJsClient.doHandshake(SockJsClient.java:254) at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:274) at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:255) at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:235) at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:219) at com.hpi.hpdm.console.message.WebsocketClient.openConnection(WebsocketClient.java:66) at com.hpi.hpdm.console.message.WebsocketClient.main(WebsocketClient.java:35)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    osvzs
    osvzs9 times, last one,
    tvrmsmith
    tvrmsmith5 times, last one,
    batwalrus76
    batwalrus7627 times, last one,
    118 more bugmates