Closed Fush4 closed 7 months ago
Are you sure you are solving the captcha correctly? This happens now when you make even a slight mistake in your captcha solution.
I'm positive, I've tried too many times just for it to be a wrong captcha.
I see this same behavior using a Pass, so please disable the codepath entirely for post-with-Pass mode. Part of the problem is that the API endpoint takes a few seconds to return a new post, possibly because of database write latency. Polling for a new post less than a second after completing upload is probably going to fail most of the time even in the best case.
Please try this apk. I have tried to fix the current issues with the post acknowledgement checks, as well as 2ch.hk crash and the bug described by @tidux
This is a beta build so backup it if you use it daily.
works so far
Installed 1.3.31 and the captchas just keep instantly reloading whether I fill them out correctly or not. Turned off the acknowledgement feature and force stopped the app, but I still get the same issue
Installed 1.3.31 and the captchas just keep instantly reloading whether I fill them out correctly or not. Turned off the acknowledgement feature and force stopped the app, but I still get the same issue
I just noticed that it only happens after I get the message that my post wasn't acknowledged. I have to erase my post for the infinite captcha loop to stop
Please try this apk.
@K1rakishou Using this apk and the current stable release both, I'm never prompted for a captcha; pressing the post button just has a ~5-10 second delay and then pops up the "Error posting: Unable to find your post" message.
While using this apk (not the release version) if and only if I manually go through Cloudflare verification and solve a captcha without posting (the blue recaptcha button), and then press post, them it works.
@frozenpandaman long tap the reply button -> reply modes -> solve captcha and the post
Ah, thanks!
By the way, I think I found a way to fix the posting and by that I mean I'm now constructing most of the POST request manually with some headers taken from the browser, in other words now it tells you that you have mistyped the captcha when you make a mistake in it.
For now I have fixed it in KurobaExLite (because it's easier to iterate with this kind of stuff there) but I will port the fix into the main app, if it actually works, some time closer to the weekends. Please, give it a try.
This is a split apk release so you have to install one for your CPU architecture (most likely it's going to be arm64-v8a
. If it doesn't work then try the other arm
apk).
@K1rakishou Aha... you found out about the form-data boundary 😝
@moffatman I'm not really sure if it was the boundary that made it work or something else. I've tried so many things over the past couple of days and then it suddenly started working randomly. I think it was after I added these headers
requestBuilder.addHeader("Sec-Fetch-Dest", "document")
requestBuilder.addHeader("Sec-Fetch-Mode", "navigate")
requestBuilder.addHeader("Sec-Fetch-Site", "same-site")
requestBuilder.addHeader("Sec-Fetch-User", "?1")
that it started working. But maybe it only works in combination with other things. Not sure.
There is also this one very interesting header that they use when you make a post via a browser:
appendFormDataSegment("MAX_FILE_SIZE", "2097152")
Right now it's hardcoded and I'm not sure if it actually does something or not. Need to play around with it.
Interesting... form boundary is definitely used, I don't think you can delete posts with it set to something unfamiliar.
Hi, I tried the beta app but it's still the same, no post I make is acknowledged. Here's the log:
@Fush4 you should try the one linked in this post https://github.com/K1rakishou/Kuroba-Experimental/issues/996#issuecomment-1914685399
The fix was released.
No post I make through the app is acknowledged. No matter if I turn off the acknowledgement check, posts still won't go through. If I post through a browser, the post goes through normally.