209 похожих чатов

Всем привет! Есть две, кажется, связанные проблемы. 1. Когда пришел запрос

на контроллер, тот делает с десяток запросов туда-сюда во внешний API через стандартный Axios. Эти Axios-запросы в свою очередь интерцептятся и шлют парочку запросов в сервис телеметрии.
Иногда всё это падает с ошибкой User has aborted the request в рандомном месте (в основном при аплоаде файлов), хотя внешний API возвращает 200.
Никто ничего не абортит, ёпта, аборт - это грех и харам.
Так вот, почему этот баг может возникать? Axios ругается на слишком частые вызовы?

2. Точно такая же ошибка бывает, если во время дебага исполнение кода натыкается на точку останова. После продолжения исполнения кода возникает сея ошибка.

Это явно мой плохо написанный код, но как его правильно писать? Это же стандартный HTTP-клиент, тот же стандартный Axios, те же стандартные RxJS-операторы...

3 ответов

7 просмотров

по таймауту падают запросы скорее всего

А как понимаете что возвращает 200? В самом сервисе если смотреть? Может перед ним какая-то прокся стоит и она и убивает запросы по таймауту

А зачем в несте использовать axios если есть http service

Похожие вопросы

Обсуждают сегодня

Is Kadena onto something special? No one really knows. Good luck!
Bright Uncle Stephen EqualBet
40
isn't utxo commitements pretty close though if someone wanted to get it over the finish line? my understanding is that most of the ground work was already down by verde
Luke High - Rabbi Of Bcash High Rabbi Of Bcash
23
is the buyback program live and at what prices are the purchases fixed? excuse me for the bland PA question, sophisticated defi people keke
Imnothere
20
VIP-303 Risk Parameters Adjustments (USDT, weETH, XVS, FDUSD) This VIP will perform the following Risk Parameter actions as per Chaos Labs’ latest recommendations in this Ven...
Venus Announcements
4
Why in gods name do we need to connect our wallet to Discord to be eligible? Isn't holding the UOS token in a wallet enough?
Wingardium Cryptosa
16
what is the current inflation of fxs?
Imnothere
12
My First Conversation with Roger Ver After reading Roger Ver's book, "Hijacking Bitcoin," I realized the importance of getting this information to people in their native lang...
Munnir
1
I arrived here after a Chico Crypto show highlighted the project & the Team - the fact that the Team had a long history of successfully working with household names gave me e...
Banter is Bullish
5
@samkazemian - couple questions: Update on frxBTC? - This would do well with the current influx of institutional investment entering the space Update on future veFXS streams...
Costi
16
Are new addresses written instantly on the blockchain? Given one can create as many addresses as they like and as many wallet as they like. What if someone starts creating a l...
Vincenzo Tamborino F
8
Карта сайта