osudroid / osu-droid

http://osudroid.moe
Apache License 2.0
507 stars 76 forks source link

Avatar download fails with new server #160

Closed Rian8337 closed 2 years ago

Rian8337 commented 2 years ago

The new server returns avatar URL that points to old site, http://ops.dgsrz.com, after logging in, causing the request to fail since #152 changes all web-related operations to use HTTPS. Should be clear that this is a server-side issue.

From log:

12-16 14:12:20.076 24596 24912 I AndEngine: request --------Content---------
12-16 14:12:20.081 24596 24912 I AndEngine: request [0]: SUCCESS
12-16 14:12:20.082 24596 24912 I AndEngine: request [1]: 51076 f8a1cb505cf7ba44925de99190afe3b6ba28f072 186 19913545289 97637 Rian8337 http://ops.dgsrz.com/user/avatar/?s=100&id=3770fa681cbf0250204cc92312aaa579
12-16 14:12:20.099 24596 24912 I AndEngine: Starting download http://ops.dgsrz.com/user/avatar/?s=100&id=3770fa681cbf0250204cc92312aaa579
12-16 14:12:20.100 24596 24912 I AndEngine: Connected to http://ops.dgsrz.com/user/avatar/?s=100&id=3770fa681cbf0250204cc92312aaa579
12-16 14:12:20.107 24596 24912 E AndEngine: downloadFile IOException CLEARTEXT communication to ops.dgsrz.com not permitted by network security policy
12-16 14:12:20.107 24596 24912 E AndEngine: java.net.UnknownServiceException: CLEARTEXT communication to ops.dgsrz.com not permitted by network security policy
Rian8337 commented 2 years ago

Solved, fix will be deployed later.