Disable OAUTH ?

237 views
Skip to first unread message

Jacob Brandrup

unread,
Aug 30, 2023, 9:56:40 AM8/30/23
to igv-help
Is it possible to disable OAUTH when launching IGV ?
I am running it on a closed Linux system with no Internet access and every time its launched is spits out 20 line of error related to OAUTH

Jacob Brandrup

unread,
Aug 30, 2023, 9:58:54 AM8/30/23
to igv-help
INFO [Aug 30,2023 15:52] [Globals] Development mode is enabled
INFO [Aug 30,2023 15:52] [Main] Startup  IGV Version 2.16.2 07/14/2023 12:24 AM
INFO [Aug 30,2023 15:52] [Main] Java 18 (build 18+36-2087) 2022-03-22
INFO [Aug 30,2023 15:52] [Main] Java Vendor: Oracle Corporation https://java.oracle.com/
INFO [Aug 30,2023 15:52] [Main] JVM: OpenJDK 64-Bit Server VM
INFO [Aug 30,2023 15:52] [Main] OS: Linux 3.10.0-1160.92.1.el7.x86_64 amd64
SEVERE [Aug 30,2023 15:52] [OAuthUtils] Error fetching oAuth properties
SEVERE [Aug 30,2023 15:52] [OAuthUtils] java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
        at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling0(HttpURLConnection.java:2266)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2136)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:181)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
        at org.igv/org.broad.igv.oauth.OAuthUtils.openInputStream(OAuthUtils.java:221)
        at org.igv/org.broad.igv.oauth.OAuthUtils.loadAsString(OAuthUtils.java:148)
        at org.igv/org.broad.igv.oauth.OAuthUtils.fetchOauthProperties(OAuthUtils.java:123)
        at org.igv/org.broad.igv.oauth.OAuthUtils.<init>(OAuthUtils.java:76)
        at org.igv/org.broad.igv.oauth.OAuthUtils.getInstance(OAuthUtils.java:68)
        at org.igv/org.broad.igv.ui.IGVMenuBar.createGoogleMenu(IGVMenuBar.java:1009)
        at org.igv/org.broad.igv.ui.IGVMenuBar.createMenus(IGVMenuBar.java:181)
        at org.igv/org.broad.igv.ui.IGVMenuBar.<init>(IGVMenuBar.java:132)
        at org.igv/org.broad.igv.ui.IGVMenuBar.lambda$createInstance$0(IGVMenuBar.java:119)
        at org.igv/org.broad.igv.ui.util.UIUtilities.invokeAndWaitOnEventThread(UIUtilities.java:166)
        at org.igv/org.broad.igv.ui.IGVMenuBar.createInstance(IGVMenuBar.java:119)
        at org.igv/org.broad.igv.ui.IGV.<init>(IGV.java:222)
        at org.igv/org.broad.igv.ui.IGV.createInstance(IGV.java:141)
        at org.igv/org.broad.igv.ui.Main.open(Main.java:292)
        at org.igv/org.broad.igv.ui.Main.lambda$main$0(Main.java:112)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

igv-help

unread,
Aug 30, 2023, 2:09:02 PM8/30/23
to igv-help
Is "Enable Google Access" checked on the General tab of user preferences (see screenshot).   Also, is there any consequence other than console chatter?

Screen Shot 2023-08-30 at 11.07.55 AM.png

Jacob Brandrup

unread,
Sep 7, 2023, 7:03:12 AM9/7/23
to igv-help
Enable google  access is not checked also OAUTH provisioning URL  is not set

As far as I can figure is does not have any consequences other than clutter in the latest version ( in earlier version the launch would hang about 30 sec which I assume was a timeout for OAUTH)
I have previously "solved" the issue but dumping output to /dev/null but its not really a solution

Jacob Brandrup

unread,
Sep 7, 2023, 8:39:28 AM9/7/23
to igv-help
it looks like IGV always tries to load https://s3.amazonaws.com/igv.org.app/desktop_google even if google access is disabled
After a suggestion I "fixed" it but making a desktop_google file manually on on local disk and then setting 
PROVISIONING.URL=/home/user/desktop_google in the prefs.properties file

igv-help

unread,
Sep 7, 2023, 10:44:16 AM9/7/23
to igv-help
OK I'll look into it.  Does the attempted load cause issues other than generating error log output?


Reply all
Reply to author
Forward
0 new messages