OpenFeign / OpenFeign/feign

Fallback not working post version 12.4

Open
#2,483 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feedback provided
Dominant language
Java
Stars
9.8k
Forks
1.9k
Avg merge
1d 2h
Merged PRs (30d)
41

Description

After upgrading feign-core dependency to version > 12.4, the fallback logic stopped working.
The flow does not seem to go in the fallback logic in case of any error, and directly throws the exception for the feign call.

This is happening in a project with Java 21, Spring Boot 3.2.5, and Virtual threads enabled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the fallback failure in a project using Java 21, Spring Boot 3.2.5, virtual threads, and feign-core newer than 12.4, then compare it with version 12.4. Done means errors in the Feign call enter the configured fallback logic instead of being thrown directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.