Skip to content

webclient onErrorResume does not work #151

Closed

Description

@781574155
            var result = client.initialize()
                    .onErrorResume(e -> Mono.empty())
                    .block();

when I connect to a 404 endpoint, there is still error print on screen after I setup onErrorResume.

Please finish this:

Image

Not only non-200-ok response, but also 'Connection refused: getsockopt'

Activity

  1. 781574155 commented on Apr 15, 2025

    @781574155
    Author

    when the server is offline, there will be an error log in console. I expect not as I have specify an onErrorResume.

    Image

  2. Kehrlann commented on Jun 25, 2026

    @Kehrlann
    Contributor

    WebClient transports has been moved to Spring AI (https://github.com/spring-projects/spring-ai). Please reopen an issue on that project if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions