NClientV2 icon indicating copy to clipboard operation
NClientV2 copied to clipboard

"Unable to connect to site" on release 3.0.2

Open Reeses-Puffs opened this issue 1 year ago • 2 comments

Your issue may already be reported! Please search on the issue tracker before creating one.

Expected Behavior

NClient connects to the nhentai servers and displays available entries.

Current Behavior

Nothing loads, the "retry" button on the error pop-up at the bottom of the screen does nothing(?), switching to mobile data causes the infamous cloudflare loop.

Possible Solution

Sorry, I haven't touched code in a couple years, and I haven't developed for Android.

Steps to Reproduce (for bugs)

  1. Open app
  2. Observe the home menu being blank with an error at the bottom
  3. (Optional) switch to mobile data and observe the cloudflare looping event occur, which I presume v3.0.2 was meant to fix.

Context

Well I decided to try my luck today at gambling with the cloudflare token and it said there was a new version. After updating, instead of the cloudflare page I got the standard home page, except it was blank. Restarting the app did not fix this issue.

Your Environment

  • Version used: 3.0.2
  • Operating System version: Android 12 on Google Pixel 4a (couldn't find specific build version, sorry)
  • NHentai link (if relevant):

Reeses-Puffs avatar Jul 23 '23 02:07 Reeses-Puffs

Try changing the agent. I changed mine to: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36

I confirm at the time of replying that this agent works.

ClemCa avatar Jul 26 '23 06:07 ClemCa

Now this agent does not work: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36

Lahanig avatar Aug 05 '23 01:08 Lahanig