[webkit-gtk] The struggles of making Mini-browser work behind a proxy.

Mayur K eminemence at gmail.com
Wed Mar 12 05:32:41 PDT 2014


Hi All,
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.
I tried doing this:
http://trac.webkit.org/wiki/WebKitGTK/StartHacking#Workingbehindaproxy
and this
http://kangilhan.blogspot.in/2012/11/work-around-using-proxy-on-gtk.html
But even after doing these steps the message that greets me on launching
mini-browser is follows:
--
 Cannot connect to destination (www.google.com)
--
Any more suggestions to fix this?

Also, if it interests anyone, following are the logs generated :

$$$$$$$$$$

:~/code/webkitgtk/WebKit$ ./Tools/Scripts/run-launcher --gtk -2  --debug
http://www.google.com/
Starting webkit launcher.
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "canberra-gtk-module"
SQL - prepare - PRAGMA temp_store = MEMORY;
SQL - step - PRAGMA temp_store = MEMORY;
SQL - finalize - PRAGMA temp_store = MEMORY;
SQL - prepare - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'Origins';
SQL - step - SELECT name FROM sqlite_master WHERE type = 'table' AND name =
'Origins';
SQL - finalize - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'Origins';
SQL - prepare - SELECT origin FROM Origins
SQL - step - SELECT origin FROM Origins
SQL - step - SELECT origin FROM Origins
SQL - step - SELECT origin FROM Origins
SQL - finalize - SELECT origin FROM Origins
Creating IconDatabase 0x1389180
Database cleanup is now DISABLED
(THREAD) IconDatabase sync thread started
SQL - prepare - PRAGMA temp_store = MEMORY;
SQL - step - PRAGMA temp_store = MEMORY;
SQL - finalize - PRAGMA temp_store = MEMORY;
(THREAD) Open took 0.0002 seconds
SQL - prepare - SELECT value FROM IconDatabaseInfo WHERE key = 'Version';
SQL - step - SELECT value FROM IconDatabaseInfo WHERE key = 'Version';
SQL - finalize - SELECT value FROM IconDatabaseInfo WHERE key = 'Version';
SQL - prepare - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'IconInfo';
SQL - step - SELECT name FROM sqlite_master WHERE type = 'table' AND name =
'IconInfo';
SQL - finalize - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'IconInfo';
SQL - prepare - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'IconData';
SQL - step - SELECT name FROM sqlite_master WHERE type = 'table' AND name =
'IconData';
SQL - finalize - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'IconData';
SQL - prepare - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'PageURL';
SQL - step - SELECT name FROM sqlite_master WHERE type = 'table' AND name =
'PageURL';
SQL - finalize - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'PageURL';
SQL - prepare - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'IconDatabaseInfo';
SQL - step - SELECT name FROM sqlite_master WHERE type = 'table' AND name =
'IconDatabaseInfo';
SQL - finalize - SELECT name FROM sqlite_master WHERE type = 'table' AND
name = 'IconDatabaseInfo';
SQL - prepare - SELECT value FROM IconDatabaseInfo WHERE key = 'Version';
SQL - step - SELECT value FROM IconDatabaseInfo WHERE key = 'Version';
SQL - finalize - SELECT value FROM IconDatabaseInfo WHERE key = 'Version';
SQL - prepare - PRAGMA cache_size = 200;
SQL - step - PRAGMA cache_size = 200;
SQL - finalize - PRAGMA cache_size = 200;
(THREAD) performOpenInitialization() took 0.0006 seconds, now 0.0008
seconds from thread start
(THREAD) Starting iconURL import
SQL - prepare - SELECT PageURL.url, IconInfo.url, IconInfo.stamp FROM
PageURL INNER JOIN IconInfo ON PageURL.iconID=IconInfo.iconID WHERE
IconInfo.stamp > 1392035344;
SQL - step - SELECT PageURL.url, IconInfo.url, IconInfo.stamp FROM PageURL
INNER JOIN IconInfo ON PageURL.iconID=IconInfo.iconID WHERE IconInfo.stamp
> 1392035344;
Notifying 0 interested page URLs that their icon URL is known due to the
import
SQL - finalize - SELECT PageURL.url, IconInfo.url, IconInfo.stamp FROM
PageURL INNER JOIN IconInfo ON PageURL.iconID=IconInfo.iconID WHERE
IconInfo.stamp > 1392035344;
(THREAD) performURLImport() took 0.0002 seconds.  Entering main loop 0.0010
seconds from thread start
(THREAD) Beginning sync
(THREAD) Main work loop starting
SQL - prepare - BEGIN IMMEDIATE
SQL - step - BEGIN IMMEDIATE
SQL - finalize - BEGIN IMMEDIATE
SQL - prepare - COMMIT
SQL - step - COMMIT
SQL - finalize - COMMIT
Updating the database took 0.0001 seconds
Reading from database took 0.0000 seconds
(THREAD) Main work loop ran for 0.0002 seconds, was not requested to
terminate
To start inspector server set WEBKIT_INSPECTOR_SERVER to 127.0.0.1:2999 for
example.
Gtk-Message: Failed to load module "overlay-scrollbar"
WK2 UIProcess URL import complete, notifying all 0 pending page URL load
decisions
Notifying all DocumentLoaders that were waiting on a load decision for
their icons
Gtk-Message: Failed to load module "canberra-gtk-module"
WebCoreLoading : About to commit provisional load from previous URL '' to
new URL ''
WebCoreHistory: Updating History for Standard Load in frame
WebCoreLoading : Finished committing provisional load to URL
Progress started (0x19b6e00) - frame 0x1916b50(""), value 0.000000, tracked
frames 0, originating frame (nil)
CachedResourceLoader::requestResource 'http://www.google.com/', charset '',
priority=-1, forPreload=0
Loading CachedResource for 'http://www.google.com/'.
MemoryCache::add Added 'http://www.google.com/', resource 0x17f1cf0
ResourceLoadScheduler::load resource 0x1832d30 'http://www.google.com/'
ResourceLoadScheduler::servePendingRequests HostInformation.m_name='
www.google.com'
HostInformation 'www.google.com' loading 'http://www.google.com/'. Current
count 0
ResourceLoadScheduler::scheduleServePendingRequests,
m_requestTimer.isActive()=0
ResourceLoadScheduler::requestTimerFired
ResourceLoadScheduler::servePendingRequests. m_suspendPendingRequestsCount=0
ResourceLoadScheduler::servePendingRequests HostInformation.m_name=''
ResourceLoadScheduler::servePendingRequests HostInformation.m_name='
www.google.com'
< HTTP/1.1 4 Cannot connect to destination (www.google.com)
< Soup-Debug-Timestamp: 1394627344
< Soup-Debug: SoupMessage 0 (0x18528d0)

Failed to load 'http://www.google.com/'.
Evicting resource 0x17f1cf0 for 'http://www.google.com/' from cache
Progress completed (0x19b6e00) - frame 0x1916b50(""), value 0.100000,
tracked frames 1, originating frame 0x1916b50
Final progress complete (0x19b6e00)
ResourceLoadScheduler::servePendingRequests. m_suspendPendingRequestsCount=0
ResourceLoadScheduler::servePendingRequests HostInformation.m_name=''
ResourceLoadScheduler::servePendingRequests HostInformation.m_name='
www.google.com'
ResourceLoadScheduler::scheduleServePendingRequests,
m_requestTimer.isActive()=0
ResourceLoadScheduler::requestTimerFired
ResourceLoadScheduler::servePendingRequests. m_suspendPendingRequestsCount=0
ResourceLoadScheduler::servePendingRequests HostInformation.m_name=''
Progress started (0x19b6e00) - frame 0x1916b50(""), value 0.000000, tracked
frames 0, originating frame (nil)
WebCoreLoading : About to commit provisional load from previous URL '' to
new URL 'about:blank'
WebCoreHistory: Updating History for commit in frame
WebCoreHistory: Updating History for Standard Load in frame about:blank
WebCoreBackForward - Adding backforward item 0x1692710 for frame about:blank
WebCoreLoading : Finished committing provisional load to URL
animations may start for document 0x1859dd0
updateAnimationTimer: timeToNextService is -1.00
Progress completed (0x19b6e00) - frame 0x1916b50(""), value 0.100000,
tracked frames 1, originating frame 0x1916b50
Final progress complete (0x19b6e00)
(THREAD) Main work loop starting
SQL - prepare - BEGIN IMMEDIATE
SQL - step - BEGIN IMMEDIATE
SQL - finalize - BEGIN IMMEDIATE
SQL - prepare - COMMIT
SQL - step - COMMIT
SQL - finalize - COMMIT
Updating the database took 0.0003 seconds
Reading from database took 0.0000 seconds
(THREAD) Main work loop ran for 0.0005 seconds, was not requested to
terminate

$$$$$$$$$$

Best regards,
Mayur Kankanwadi.




-- 
Symbiangeek,Codekata & Webkitwiki all in one - http://flaminghorns.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140312/1616fb67/attachment.html>


More information about the webkit-gtk mailing list