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

Ошибка в деструкторе Response после обновления на alpha 6 #277

Closed
SeventhSon77 opened this issue Feb 21, 2022 · 1 comment
Assignees
Labels
2.x issue related with 2.x sdk version bug hacktoberfest-accepted Hacktoberfest
Milestone

Comments

@SeventhSon77
Copy link

После обновления до 6 альфы стали падать все запросы к апи в деструкторе класса ответа на получении таймингов:

Undefined index: namelookup_time_us at .../vendor/mesilov/bitrix24-php-sdk/src/Infrastructure/HttpClient/TransportLayer/NetworkTimingsParser.php:31
(Ubuntu 18.04, php 7.4.27)
Откат до 5 альфы исправил ситуацию.

При этом, судя по логам, запросы нормально отрабатывают и возвращают респонзы от битрикса.
На локальной машине (Arch, php 7.4.27) проблем не возникало, воспроизвести проблему не удалось нигде кроме тестовой машины.

Запросы отправляю через метод Core->call(), Core собираю из ApiClient на базе TraceableHttpClient
Обработка ответа через getResponseData()->getResult()->getResultData()

@mesilov mesilov self-assigned this Mar 1, 2022
@mesilov mesilov added the 2.x issue related with 2.x sdk version label Mar 1, 2022
@mesilov mesilov added this to the 2.x-core milestone Mar 1, 2022
@mesilov mesilov added the bug label Mar 1, 2022
@mesilov mesilov added the hacktoberfest-accepted Hacktoberfest label Oct 29, 2022
@mesilov
Copy link
Owner

mesilov commented Jan 4, 2024

fixed in beta 1

@mesilov mesilov closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x issue related with 2.x sdk version bug hacktoberfest-accepted Hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants