NativeAlphaForAndroid icon indicating copy to clipboard operation
NativeAlphaForAndroid copied to clipboard

net::ERR_HTTP_RESPONSE_CODE_FAILURE When trying to make Lite App

Open AlexanderTheGr3at opened this issue 1 year ago • 9 comments

Hello,

I'm trying to create an app of a site I'm hosting via cloudflare tunnel. It's a server that hosts books from Calibre. I'm having a problem though, it won't open the page. I just get:

"Web page not available The web page at http:/xxxxxxxx.org/ could not be loaded because: net::ERR_HTTP_RESPONSE_CODE_FAILURE"

I can open it up in chrome, explorer, and Firefox fine but their download to homescreen fake app thing sucks. I was referred to your app but can't get it working. Any suggestions?

AlexanderTheGr3at avatar Dec 11 '24 10:12 AlexanderTheGr3at

If your page has a http link, have you tried toggling "Allow HTTP" and "Ignore SSL errors" in Expert settings?

bl4ckswordsman avatar Dec 20 '24 02:12 bl4ckswordsman

If your page has a http link, have you tried toggling "Allow HTTP" and "Ignore SSL errors" in Expert settings?

I have. I think the issues is because the site has a pop up sign in and not a sign in page. Not sure how to get around that.

AlexanderTheGr3at avatar Dec 20 '24 02:12 AlexanderTheGr3at

If your page has a http link, have you tried toggling "Allow HTTP" and "Ignore SSL errors" in Expert settings?

I have. I think the issues is because the site has a pop up sign in and not a sign in page. Not sure how to get around that.

I see. Did you also remove the 's' in "https://..." of Start URL (this is also in Expert Settings) ?

bl4ckswordsman avatar Dec 20 '24 09:12 bl4ckswordsman

If your page has a http link, have you tried toggling "Allow HTTP" and "Ignore SSL errors" in Expert settings?

I have. I think the issues is because the site has a pop up sign in and not a sign in page. Not sure how to get around that.

I see. Did you also remove the 's' in "https://..." of Start URL (this is also in Expert Settings) ?

I did. Didn't help. It works fine without the login pop-up. But then I'm exposing my network to the internet password free.

AlexanderTheGr3at avatar Dec 20 '24 12:12 AlexanderTheGr3at

Ok, I understand. I'm not the developer so I hope they respond and perhaps can add support for popups (I assume you've tried experimenting with all other options too already). I might try to add this too if I get some free time and it's easy to add, will open a pull request if I do.

Maybe a workaround is to see if you can have the login as a forms page instead of a pop up/dialog, but you've probably already thought of that too. Sorry I couldn't help.

bl4ckswordsman avatar Dec 20 '24 16:12 bl4ckswordsman

Ok, I understand. I'm not the developer so I hope they respond and perhaps can add support for popups (I assume you've tried experimenting with all other options too already). I might try to add this too if I get some free time and it's easy to add, will open a pull request if I do.

Maybe a workaround is to see if you can have the login as a forms page instead of a pop up/dialog, but you've probably already thought of that too. Sorry I couldn't help.

Thanks for trying. I appreciate it :)

AlexanderTheGr3at avatar Dec 20 '24 21:12 AlexanderTheGr3at

Unfortunately HTTP Auth dialogs are not supported at the moment. It does seem to be relatively easy though.

The next release will first and foremost be about the adblocking and the system bars on Android 15 but maybe I can fit this in 🙂

cylonid avatar Dec 20 '24 21:12 cylonid

Unfortunately HTTP Auth dialogs are not supported at the moment. It does seem to be relatively easy though.

The next release will first and foremost be about the adblocking and the system bars on Android 15 but maybe I can fit this in 🙂

That would be amazing if you could! Thank you! If not I can wait. Love the app.

AlexanderTheGr3at avatar Dec 20 '24 21:12 AlexanderTheGr3at

Unfortunately HTTP Auth dialogs are not supported at the moment. It does seem to be relatively easy though.

The next release will first and foremost be about the adblocking and the system bars on Android 15 but maybe I can fit this in 🙂

@cylonid if you actually fix the adblocking, I can try to help porting some simple improvements from my fork (site icons in recent apps screen, and icon fetching from more sites), if you want 🙂

bl4ckswordsman avatar Dec 20 '24 22:12 bl4ckswordsman

@AlexanderTheGr3at Happy to announce HTTP Auth is implemented in the next release.

cylonid avatar Apr 13 '25 09:04 cylonid

@bl4ckswordsman Of course PRs are always welcome, espeicially regarding edge-to-edge and icons in recent apps. I need to mention I did many refactorings in the meantime, so rebasing might be difficult (they are not published on GitHub yet, I use my own Git instance and usually push to GitHub when finished). Maybe it would be easier with a fresh fork and then cherry-picking some commits?

cylonid avatar Apr 13 '25 09:04 cylonid

@bl4ckswordsman Of course PRs are always welcome, espeicially regarding edge-to-edge and icons in recent apps. I need to mention I did many refactorings in the meantime, so rebasing might be difficult (they are not published on GitHub yet, I use my own Git instance and usually push to GitHub when finished). Maybe it would be easier with a fresh fork and then cherry-picking some commits?

I completely understand. And I knew "simply rebasing" wouldn't probably be doable.

I'll see what can be done when you push your changes, and if I can find time to redo my updates. In the meantime, you're free to pick whatever you want from my fork. No need to ask or give credit :)

bl4ckswordsman avatar Apr 13 '25 10:04 bl4ckswordsman