Skip to main content
1-Visitor
March 6, 2019
Solved

Vuforia View - "Connection Error" while scanning the ThingMark with OnePlus 6

  • March 6, 2019
  • 1 reply
  • 5094 views

Hi everyone,

 

I have made the Experience in Vuforia Studio (8.4.0.4300), I set the Experience Service and I published this Experience (Project 2D).
Then I have opened the Vuforia View on my OnePlus 6, I set the Experience Service (same as on my project) and when I try to scan the ThingMark I get an error as on the photo below:
Screenshot_20190306-153042.jpg

 

I also attached the Vuforia View logs from OnePlus 6.

I have to mention that the same project works on IPad. The only difference is in the device.

What can may cause this error?

Thank you in advance.

Best answer by dupatel

@Macierzynski_K  Yes, the issue will occur with Android 9 & above due to behavioral changes introduced starting with Android 9.0 (API level 28), clear text support is disabled by default. Changing URL from HTTP to HTTPS in this case Experience Service URL should work.

 

-Durgesh

1 reply

17-Peridot
March 7, 2019

Hello,

 

When reproducing the issue on the OnePlus6, what are the verbose in Vuforia Experience Service ?

 

It is very strange, I have a case reported by another customer with the same error message on a similar mobile Redmi Note 6 Pro!

I am double checking with him to see if we are in the same hardware and if we have the errors in log of Vuforia View.

 

If you attach the log from Experience Service, I will have a complete view around this issue and if both are the same problem.

 

If my expectations are correct, I suppose that a library provided in the android installed on Redmi's mobile is different.

Anyway, in all case, if it is confirmed, I can report that to R&D as a bug.

 

Thanks in advance for your help.

 

Best regards,

Samuel

5-Regular Member
March 14, 2019

@Macierzynski_K  What is the Android OS version ? As this could be due to the fact that Android 9 Apps have to explicitly opt into being allowed to make HTTP (rather than HTTPS) requests.

 

03-06 16:02:03.872 19982 20374 E TGXIdentityRequestTask: Caused by: java.io.IOException: Cleartext HTTP traffic to ar.ttpsc.pl not permitted

 

It seems to me that this is related to the Network security configuration in Android 9 (Starting with Android 9.0 (API level 28), cleartext support is disabled by default.) . This issue has already been reported with R&D team under PTC internal ticket reference PSPT-6440  .

 

-Durgesh