yeriomin / YalpStore

Download apks from Google Play Store
GNU General Public License v2.0
2.38k stars 258 forks source link

"invalid request" when using a proxy #635

Closed kayceegb closed 4 years ago

kayceegb commented 4 years ago

Before creating an issue

  1. Make sure you are running the latest version of Yalp Store. Check here. OK
  2. Search for similar issues here. Not found similar
  3. Send developer a bug report using Yalp's built-in crash tool. Please identify yourself - the reports are anonymous by default. I'm not using my the mail part of the account provided to yalpstore. And for visibility for others who may have the same issue.
  4. Number 3 is important. Please do it. It helps a lot. See above
  5. Use the following template to write the text of your issue.

Expected behavior When a proxy is configured, it should be possible to at least get list for apk to update.

Actual behavior There is no apk update list A popup with "success" is displayed

On proxy side, the logs shows NONE/400 3702 NONE error:invalid-request - HIER_NONE/- text/html

Another proxy software shows Received: from socket 5: \x04\x01\x1f\xb6\x0a[\x02\x03default\x00

and a tcpdump shows 16:49:01.574728 IP 10.91.100.3.47359 > 10.91.2.3.3128: tcp 0 E..4o@.@... [d. [.....8mt....i............ ...Y..15 16:49:02.041688 IP 10.91.100.3.47359 > 10.91.2.3.3128: tcp 16 E..Dp@.@... [d. [.....8mt....i............ ...Y..15...8 [..default. 16:49:02.048566 IP 10.91.2.3.3128 > 10.91.100.3.47359: tcp 1448 E.....@.@..` [.. [d..8....i.mt.......g..... ..5r...YHTTP/1.1 400 Bad Request Server: squid/4.10 Mime-Version: 1.0 Date: Mon, 15 Jun 2020 16:49:02 GMT Content-Type: text/html;charset=utf-8 Content-Length: 3329 X-Squid-Error: ERR_PROTOCOL_UNKNOWN 0 Vary: Accept-Language Content-Language: en X-Cache: MISS from localhost X-Cache-Lookup: NONE from localhost:3128 Via: 1.1 localhost (squid/4.10) Connection: close

Steps to reproduce

  1. Configure an account for accessing apk listing
  2. Go to settings, enable proxy (here http but socks does not work too), set proxy settings
  3. Try to list apks to update

Your setup Samsung GS4, kitkat, Yalp Store 0.45-legacy

Without configuring a proxy. I can list and update apks.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.