Comments (2)
Well I tried compiling UMR for Windows. Qt uses system proxy by default and it worked flawlessly on Windows.
UltimateMangaReader-win32.zip
On Kobo I tried to set proxy by adding this line to launch script:
export http_proxy=socks5h://192.168.1.1:2020
but it either can't connect to Wi-Fi or hangs/doesn't load anything.
I also reviewed logs on proxy server (an openssh tunnel with -D switch) and there seems to be no connection from Kobo.
Could it be from the Qt library that you have provided with release (maybe a switch that you used for configuration)? I just used your release and didn't recompile anything for kobo.
from ultimatemangareader.
OK, after wasting some hours figuring out how to compile Qt for kobo and library stuffs,... I found out a weird behaviour from Qt on Kobo.
Even though Qt detects system proxy and by default is set to use it doesn't use it!
The output of:
QTextStream(stdout) << "***Proxy:" << QNetworkProxy::applicationProxy().hostName() << ":" << QNetworkProxy::applicationProxy().port() << " type:" << QNetworkProxy::applicationProxy().type()<< endl;
QTextStream(stdout) << "***Use system proxy:" << QNetworkProxyFactory::usesSystemConfiguration() << endl;
QNetworkProxyFactory::setUseSystemConfiguration(true);
QTextStream(stdout) << "***Proxy:" << QNetworkProxy::applicationProxy().hostName() << ":" << QNetworkProxy::applicationProxy().port() << " type:" << QNetworkProxy::applicationProxy().type()<< endl;
is
***Proxy:localhost:2020 type:1
***Use system proxy:1
***Proxy:localhost:2020 type:1
Even this one didn't work:
QNetworkProxy::setApplicationProxy( QNetworkProxy::applicationProxy());
Only this one makes it to use proxy:
QNetworkProxy proxy;
proxy.setType(QNetworkProxy::applicationProxy().type());
proxy.setHostName(QNetworkProxy::applicationProxy().hostName());
proxy.setPort(QNetworkProxy::applicationProxy().port());
QNetworkProxy::setApplicationProxy(proxy);
QTextStream(stdout) << "***Proxy:" << QNetworkProxy::applicationProxy().hostName() << ":" << QNetworkProxy::applicationProxy().port() << " type:" << QNetworkProxy::applicationProxy().type()<< endl;
Output:
***Proxy:localhost:2020 type:1
BTW I can now use proxy and access mangadex!
from ultimatemangareader.
Related Issues (20)
- Exiting UltimateMangaReader has turned my screen black, cannot operate reader anymore
- Input is being read too quickly HOT 1
- Touch Not working on latest Release with Kobo Clara HD HOT 3
- Touch not Working Kobo Libra
- mangadex issue HOT 5
- [Bug] UltimateMangaReader crash when opening any manga HOT 13
- Crashes on Kobo stage when starting application HOT 3
- Kobo Touch (N905) doesn't seem to respect touchscreen settings HOT 1
- Libra 2 Rotation Support HOT 4
- Download timeout
- kobo sage log.txt for further use
- Touchscreen not working on Libra 2 HOT 7
- Mangadex cannot load pages HOT 1
- Cannot unzoom or move the page to read all text
- Keyboard doesn't show when clicking search bar HOT 7
- Kobo Sage support
- Abandoned? HOT 2
- Kobo Forma - No keyboard and can't lock screen HOT 7
- Mangadex update error
- Unresponsive when launching through NickelMenu on Kobo Libra 2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ultimatemangareader.