Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Summary of item #1204

Open
StargazerNC opened this issue Jul 27, 2021 · 2 comments
Open

[BUG] Summary of item #1204

StargazerNC opened this issue Jul 27, 2021 · 2 comments
Labels

Comments

@StargazerNC
Copy link

Describe the bug
After upgrading Refit from version 5.2.4 to version 6.0.38, without changes on my backend API and the refit interfaces, I started to get 502 Bad Gateway errors on calls to the API. Simply reverting back to version 5.2.4 made it work again.

This is a Xamarin.Forms (5.0.0.2083) app (Android), .NetStandard 2.1

The issue happens both on the actual physical device and on the emulator.

I can try to provide more details if needed.

Thanks!

Steps To Reproduce
In my case, it was a simple matter of upgrading the Refit nuget package., as mentioned before.

Expected behavior

Calls should work the same way and have same outcome on the latest Refit version

Screenshots

Environment
OS: Android
Device: Emulator running Android 9); Redmi Note 8 Pro (Android 10)
Version: 6.0.38
Working version: 5.2.4

  • OS:
  • Device:
  • Version:
  • Working Version:

Additional context

@clairernovotny
Copy link
Member

clairernovotny commented Jul 27, 2021

There's not much to look at here without specifics. There are several breaking changes in 6.x as noted in the release note, including changing the default seralizer.

https://github.com/reactiveui/refit#breaking-changes-in-6x

GitHub
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface. - GitHub - reactiveui/refit...

@StargazerNC
Copy link
Author

I can try and see if I can come up with a repro project if that would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants