<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Interesting, I have exact path
mentioned in blog and it does work for me. I am using webkit
2.2.3.<br>
<br>
Sorry to ask stupid questions, but never hurts to double check. I
have personally made these mistakes every now and then.<br>
<br>
1. Was the code recompiled after patch? Can you add print command
temporarily to make sure its actually setting proxy.<br>
2. Environment variable http_proxy is set so that MiniBrowser
does see it. If you do echo $http_proxy, does it print proper
proxy url?<br>
3. Proxy urls have to be proper urls. E.g.
<a class="moz-txt-link-freetext" href="http://myproxy">http://myproxy</a>:<port>. It does not work otherwise. <br>
<br>
Hope this helps,<br>
<br>
Niranjan<br>
<br>
On 03/13/2014 02:11 AM, Mayur K wrote:<br>
</div>
<blockquote
cite="mid:CAKCwhcy+Hmydj2fvbtVXNiNE8JYFrbxbiqDFFEVXeT1ZFYsNrw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I am using webkit2. </div>
<div>Have you been able to make it work behind a proxy?</div>
<div><br>
</div>
<div>
<div style="font-family:arial,sans-serif;font-size:13px">Best
regards,<br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">Mayur
Kankanwadi.</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 12 March 2014 23:29, Niranjan Rao <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:nhrdls@gmail.com" target="_blank">nhrdls@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>What version of webkitgtk and are you using Webkit 1
or 2?
<div>
<div class="h5"><br>
<br>
On 03/12/2014 05:32 AM, Mayur K wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>Hi All,<br>
</div>
<div>I have been trying to get the Mini-browser to
load web sites. As I am working behind a proxy,
loading sites never works. I have been following
the steps mentioned by some kind hearts on irc.<br>
</div>
<div>I tried doing this:<br>
<a moz-do-not-send="true"
href="http://trac.webkit.org/wiki/WebKitGTK/StartHacking#Workingbehindaproxy"
target="_blank">http://trac.webkit.org/wiki/WebKitGTK/StartHacking#Workingbehindaproxy</a><br>
</div>
<div>and this<br>
<a moz-do-not-send="true"
href="http://kangilhan.blogspot.in/2012/11/work-around-using-proxy-on-gtk.html"
target="_blank">http://kangilhan.blogspot.in/2012/11/work-around-using-proxy-on-gtk.html</a><br>
</div>
<div>But even after doing these steps the message
that greets me on launching mini-browser is
follows:<br>
--<br>
Cannot connect to destination (<a
moz-do-not-send="true"
href="http://www.google.com" target="_blank">www.google.com</a>)<br>
--<br>
</div>
<div> Any more suggestions to fix this?<br>
<br>
</div>
<div>Also, if it interests anyone, following are
the logs generated : <br>
</div>
<div><br>
$$$$$$$$$$<br>
<br>
:~/code/webkitgtk/WebKit$
./Tools/Scripts/run-launcher --gtk -2 --debug <a
moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a><br>
Starting webkit launcher.<br>
Gtk-Message: Failed to load module
"overlay-scrollbar"<br>
Gtk-Message: Failed to load module
"canberra-gtk-module"<br>
SQL - prepare - PRAGMA temp_store = MEMORY;<br>
SQL - step - PRAGMA temp_store = MEMORY;<br>
SQL - finalize - PRAGMA temp_store = MEMORY;<br>
SQL - prepare - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'Origins';<br>
SQL - step - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'Origins';<br>
SQL - finalize - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'Origins';<br>
SQL - prepare - SELECT origin FROM Origins<br>
SQL - step - SELECT origin FROM Origins<br>
SQL - step - SELECT origin FROM Origins<br>
SQL - step - SELECT origin FROM Origins<br>
SQL - finalize - SELECT origin FROM Origins<br>
Creating IconDatabase 0x1389180<br>
Database cleanup is now DISABLED<br>
(THREAD) IconDatabase sync thread started<br>
SQL - prepare - PRAGMA temp_store = MEMORY;<br>
SQL - step - PRAGMA temp_store = MEMORY;<br>
SQL - finalize - PRAGMA temp_store = MEMORY;<br>
(THREAD) Open took 0.0002 seconds<br>
SQL - prepare - SELECT value FROM
IconDatabaseInfo WHERE key = 'Version';<br>
SQL - step - SELECT value FROM IconDatabaseInfo
WHERE key = 'Version';<br>
SQL - finalize - SELECT value FROM
IconDatabaseInfo WHERE key = 'Version';<br>
SQL - prepare - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'IconInfo';<br>
SQL - step - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'IconInfo';<br>
SQL - finalize - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'IconInfo';<br>
SQL - prepare - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'IconData';<br>
SQL - step - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'IconData';<br>
SQL - finalize - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'IconData';<br>
SQL - prepare - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'PageURL';<br>
SQL - step - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'PageURL';<br>
SQL - finalize - SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'PageURL';<br>
SQL - prepare - SELECT name FROM sqlite_master
WHERE type = 'table' AND name =
'IconDatabaseInfo';<br>
SQL - step - SELECT name FROM sqlite_master
WHERE type = 'table' AND name =
'IconDatabaseInfo';<br>
SQL - finalize - SELECT name FROM sqlite_master
WHERE type = 'table' AND name =
'IconDatabaseInfo';<br>
SQL - prepare - SELECT value FROM
IconDatabaseInfo WHERE key = 'Version';<br>
SQL - step - SELECT value FROM IconDatabaseInfo
WHERE key = 'Version';<br>
SQL - finalize - SELECT value FROM
IconDatabaseInfo WHERE key = 'Version';<br>
SQL - prepare - PRAGMA cache_size = 200;<br>
SQL - step - PRAGMA cache_size = 200;<br>
SQL - finalize - PRAGMA cache_size = 200;<br>
(THREAD) performOpenInitialization() took 0.0006
seconds, now 0.0008 seconds from thread start<br>
(THREAD) Starting iconURL import<br>
SQL - prepare - SELECT PageURL.url,
IconInfo.url, IconInfo.stamp FROM PageURL INNER
JOIN IconInfo ON PageURL.iconID=IconInfo.iconID
WHERE IconInfo.stamp > 1392035344;<br>
SQL - step - SELECT PageURL.url, IconInfo.url,
IconInfo.stamp FROM PageURL INNER JOIN IconInfo
ON PageURL.iconID=IconInfo.iconID WHERE
IconInfo.stamp > 1392035344;<br>
Notifying 0 interested page URLs that their icon
URL is known due to the import<br>
SQL - finalize - SELECT PageURL.url,
IconInfo.url, IconInfo.stamp FROM PageURL INNER
JOIN IconInfo ON PageURL.iconID=IconInfo.iconID
WHERE IconInfo.stamp > 1392035344;<br>
(THREAD) performURLImport() took 0.0002
seconds. Entering main loop 0.0010 seconds from
thread start<br>
(THREAD) Beginning sync<br>
(THREAD) Main work loop starting<br>
SQL - prepare - BEGIN IMMEDIATE<br>
SQL - step - BEGIN IMMEDIATE<br>
SQL - finalize - BEGIN IMMEDIATE<br>
SQL - prepare - COMMIT<br>
SQL - step - COMMIT<br>
SQL - finalize - COMMIT<br>
Updating the database took 0.0001 seconds<br>
Reading from database took 0.0000 seconds<br>
(THREAD) Main work loop ran for 0.0002 seconds,
was not requested to terminate<br>
To start inspector server set
WEBKIT_INSPECTOR_SERVER to <a
moz-do-not-send="true"
href="http://127.0.0.1:2999" target="_blank">127.0.0.1:2999</a>
for example.<br>
Gtk-Message: Failed to load module
"overlay-scrollbar"<br>
WK2 UIProcess URL import complete, notifying all
0 pending page URL load decisions<br>
Notifying all DocumentLoaders that were waiting
on a load decision for their icons<br>
Gtk-Message: Failed to load module
"canberra-gtk-module"<br>
WebCoreLoading : About to commit provisional
load from previous URL '' to new URL ''<br>
WebCoreHistory: Updating History for Standard
Load in frame <br>
WebCoreLoading : Finished committing provisional
load to URL <br>
Progress started (0x19b6e00) - frame
0x1916b50(""), value 0.000000, tracked frames 0,
originating frame (nil)<br>
CachedResourceLoader::requestResource '<a
moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a>',
charset '', priority=-1, forPreload=0<br>
Loading CachedResource for '<a
moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a>'.<br>
MemoryCache::add Added '<a
moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a>',
resource 0x17f1cf0<br>
ResourceLoadScheduler::load resource 0x1832d30 '<a
moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a>'<br>
ResourceLoadScheduler::servePendingRequests
HostInformation.m_name='<a
moz-do-not-send="true"
href="http://www.google.com" target="_blank">www.google.com</a>'<br>
HostInformation '<a moz-do-not-send="true"
href="http://www.google.com" target="_blank">www.google.com</a>'
loading '<a moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a>'.
Current count 0<br>
ResourceLoadScheduler::scheduleServePendingRequests,
m_requestTimer.isActive()=0<br>
ResourceLoadScheduler::requestTimerFired<br>
ResourceLoadScheduler::servePendingRequests.
m_suspendPendingRequestsCount=0<br>
ResourceLoadScheduler::servePendingRequests
HostInformation.m_name=''<br>
ResourceLoadScheduler::servePendingRequests
HostInformation.m_name='<a
moz-do-not-send="true"
href="http://www.google.com" target="_blank">www.google.com</a>'<br>
< HTTP/1.1 4 Cannot connect to destination (<a
moz-do-not-send="true"
href="http://www.google.com" target="_blank">www.google.com</a>)<br>
< Soup-Debug-Timestamp: 1394627344<br>
< Soup-Debug: SoupMessage 0 (0x18528d0)<br>
<br>
Failed to load '<a moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a>'.<br>
Evicting resource 0x17f1cf0 for '<a
moz-do-not-send="true"
href="http://www.google.com/" target="_blank">http://www.google.com/</a>'
from cache<br>
Progress completed (0x19b6e00) - frame
0x1916b50(""), value 0.100000, tracked frames 1,
originating frame 0x1916b50<br>
Final progress complete (0x19b6e00)<br>
ResourceLoadScheduler::servePendingRequests.
m_suspendPendingRequestsCount=0<br>
ResourceLoadScheduler::servePendingRequests
HostInformation.m_name=''<br>
ResourceLoadScheduler::servePendingRequests
HostInformation.m_name='<a
moz-do-not-send="true"
href="http://www.google.com" target="_blank">www.google.com</a>'<br>
ResourceLoadScheduler::scheduleServePendingRequests,
m_requestTimer.isActive()=0<br>
ResourceLoadScheduler::requestTimerFired<br>
ResourceLoadScheduler::servePendingRequests.
m_suspendPendingRequestsCount=0<br>
ResourceLoadScheduler::servePendingRequests
HostInformation.m_name=''<br>
Progress started (0x19b6e00) - frame
0x1916b50(""), value 0.000000, tracked frames 0,
originating frame (nil)<br>
WebCoreLoading : About to commit provisional
load from previous URL '' to new URL '<a
moz-do-not-send="true">about:blank</a>'<br>
WebCoreHistory: Updating History for commit in
frame <br>
WebCoreHistory: Updating History for Standard
Load in frame <a moz-do-not-send="true">about:blank</a><br>
WebCoreBackForward - Adding backforward item
0x1692710 for frame <a moz-do-not-send="true">about:blank</a><br>
WebCoreLoading : Finished committing provisional
load to URL <br>
animations may start for document 0x1859dd0<br>
updateAnimationTimer: timeToNextService is -1.00<br>
Progress completed (0x19b6e00) - frame
0x1916b50(""), value 0.100000, tracked frames 1,
originating frame 0x1916b50<br>
Final progress complete (0x19b6e00)<br>
(THREAD) Main work loop starting<br>
SQL - prepare - BEGIN IMMEDIATE<br>
SQL - step - BEGIN IMMEDIATE<br>
SQL - finalize - BEGIN IMMEDIATE<br>
SQL - prepare - COMMIT<br>
SQL - step - COMMIT<br>
SQL - finalize - COMMIT<br>
Updating the database took 0.0003 seconds<br>
Reading from database took 0.0000 seconds<br>
(THREAD) Main work loop ran for 0.0005 seconds,
was not requested to terminate<br>
<br>
$$$$$$$$$$<br>
<br>
</div>
<div>Best regards,<br>
</div>
<div>Mayur Kankanwadi.<br>
</div>
<div><br>
<br>
<br>
<br>
-- <br>
Symbiangeek,Codekata & Webkitwiki all in one
- <a moz-do-not-send="true"
href="http://flaminghorns.com" target="_blank">http://flaminghorns.com</a><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
webkit-gtk mailing list
<a moz-do-not-send="true" href="mailto:webkit-gtk@lists.webkit.org" target="_blank">webkit-gtk@lists.webkit.org</a>
<a moz-do-not-send="true" href="https://lists.webkit.org/mailman/listinfo/webkit-gtk" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-gtk</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
webkit-gtk mailing list<br>
<a moz-do-not-send="true"
href="mailto:webkit-gtk@lists.webkit.org">webkit-gtk@lists.webkit.org</a><br>
<a moz-do-not-send="true"
href="https://lists.webkit.org/mailman/listinfo/webkit-gtk"
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-gtk</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Symbiangeek,Codekata & Webkitwiki all in one - <a
moz-do-not-send="true" href="http://flaminghorns.com"
target="_blank">http://flaminghorns.com</a><br>
</div>
</blockquote>
<br>
</body>
</html>