Coder Social home page Coder Social logo

Comments (8)

kanstantsin avatar kanstantsin commented on July 18, 2024

Hi!
Sorry, can't reproduce your issue with SDK 2.7.0 in our demo app.
Can you provide your SDK version, block ID, sample code and Charles report to reproduce it? Any of those would we helpful.

from yandex-ads-sdk-ios.

staskochkin avatar staskochkin commented on July 18, 2024

Hello! Thanks for fast reply!
I use SDK 2.7.0.
Integration code - it's just your demo with additional logging (to see view controller life time). Also contains my block ID:
https://pastebin.com/dvQza4pN

Log for unsuccessful session:
https://pastebin.com/uJED8Pn6

Charles session:
https://s3-eu-west-1.amazonaws.com/uploads-eu.hipchat.com/35497/2440054/UVWy43Q0zeSSfsq/yandex_banner.chls

from yandex-ads-sdk-ios.

kanstantsin avatar kanstantsin commented on July 18, 2024

Sorry, still can't reproduce the issue, even after pasting your code, running it on iOS 8, 9, 10.3 Simulator, iOS 10.3.2 device, replacing response with one you provided. The adViewDidFailLoading:error: delegate method is being called with YMAAdErrorCodeNoFill error code.

Do you experience same issue on other iOS versions, devices or simulators?
Do you experience same issue with other block IDs?
Is it 100% reproducible on your side? You can check it by making an ad unit with very high CPM floor so, that it's very likely that SDK can't fetch ad for it. You can try to make a couple of ad requests and watch how many times delegate methods are called.

from yandex-ads-sdk-ios.

staskochkin avatar staskochkin commented on July 18, 2024

Ok, I continue to research this issue on my side. I reproduce it on iOS 10 on simulator and device (iPhone 7). This reproduce also with older versions of SDK.
Maybe it some server (look at https://mobile.yandexadexchange.net) response processing issue?

from yandex-ads-sdk-ios.

kanstantsin avatar kanstantsin commented on July 18, 2024

We tried getting real 204 from backend (by using high CPM floor) and replacing server response with Charles. In both cases delegate method was called.
The only idea I have right now is that it's some proxy issue (response doesn't come back to app) or specific app state. But it's quite weird that we're using same SDK and application code for debug, same response text, but get different behavior.
Did you encounter this issue before or did it appear after any update of SDK or ad units?

from yandex-ads-sdk-ios.

staskochkin avatar staskochkin commented on July 18, 2024

I firstly integrate YandexMobileAds. In response that SDK received from ad exchange returned 204 code, but response also contains headers fields
Content-Encoding: gzip
Content-Length: 20

And it's strange

from yandex-ads-sdk-ios.

kanstantsin avatar kanstantsin commented on July 18, 2024

I tried different versions of Charles. Indeed, when using Charles 3 connection hangs forever in case of 204 response. But with Charles 4 everything is fine. It's also fine with no proxy connected.

from yandex-ads-sdk-ios.

staskochkin avatar staskochkin commented on July 18, 2024

Thanks! I update Charles to 4 version and everything works fine!

from yandex-ads-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.