I have problem with web viewer and ip camera

Hi, I have a problem with the web viewer, I try to access an ip camera, everything works perfectly with the companion, but when I build the apk and try to access the camera I get the error “Header fields are too long for server interpret”
I have tried dialing external browser and it does not work in apk but in companion.
When I access the camera from the mobile browser, it accesses without problems and does not show me header problems.
Any ideas…
translated with google.
Thank you.