Unleash / proxy-client-react

Apache License 2.0
42 stars 32 forks source link

Unable to fetch feature toggles DOMException: signal is aborted without reason #165

Open nmaties opened 3 months ago

nmaties commented 3 months ago

Describe the bug

Hello there,

I keep on getting the following error in the browser: image

image

Has anyone else experienced this?

Do you know how I can fix it?

Using version: ^4.1.1 in the package.json

Steps to reproduce the bug

No response

Expected behavior

No response

Logs, error output, etc.

No response

Screenshots

No response

Additional context

No response

Unleash version

^4.1.1

Subscription type

None

Hosting type

None

SDK information (language and version)

No response

kwasniew commented 3 months ago

We're aware of this: https://github.com/Unleash/unleash-proxy-client-js/pull/183. A few people reported seeing those error so we'll be looking into this today.

nmaties commented 3 months ago

Thank you @kwasniew!

kwasniew commented 3 months ago

@nmaties can you confirm if https://github.com/Unleash/proxy-client-react/releases/tag/v4.2.3 fixes your issue?

nmaties commented 3 months ago

Give me some time, I'll check it and reply here. @kwasniew

nmaties commented 3 months ago

@kwasniew I am still able to reproduce it with v4.2.3

kwasniew commented 3 months ago

@nmaties can you fork and edit my blitz https://stackblitz.com/edit/react-flags-demo?file=src%2FApp.js to help me diagnose the issue? I prepared a starter project reading a flag from a demo account and doing a basic check. I use 4.3.2 for the react lib and 3.4.0 of unleash-proxy-client as my peer dependency.

kwasniew commented 3 months ago

Also I updated peerDependency version in 4.2.4 if you didn't install unleash-proxy-client dependency manually and depended on auto install.