-
Notifications
You must be signed in to change notification settings - Fork 15
GUI does not work with some proxy servers #627
Comments
@HelenClifton please select Main Menu / View / DevTools Window and make a screenshot / text copy of errors |
Here is the error from my GUI. I'm using openSUSE 42.3 as well. ./cate-desktop-2.0.0-dev.9-x86_64.AppImage [13:01:30.648] [info] Waiting for response from Cate service http://127.0.0.1:9090/ [13:01:43.225] [info] Splash says: Done. New Features and UX Improvements\n
Fixes\n
updateInfo: { version: '2.0.0-dev.9', files: [ [Object] ], path: 'cate-desktop-2.0.0-dev.9-x86_64.AppImage', sha512: 'dTIezZK2lZfFBveKEm02AlS/lE93nEexruPNqdSi48SvfRg6w5GDxkAuEuh4uslJ1PHzfOFOHWxsDGHdFqhhow==', releaseDate: '2018-04-17T14:06:08.934Z', releaseName: '2.0.0-dev.9', releaseNotes: ' New Features and UX Improvements\n
Fixes\n' } } |
@VPriemer it seems you have a problem with your network proxy. Did you configure a proxy in |
@VPriemer is it a native Linux installation or a VM, e.g. on VirtualBox? |
@forman it is a native one |
@VPriemer please send me your |
@forman I've sent it via email. |
Ok, it seems the reason for this is your organisation's proxy server. According to this article a proxy server may decide to close WebSockets connections, which are used by Cate for the inter-process communication of the Cate WebAPI service (Python) and the GUI (JavaScript/Electron):
Here is described a similar issue in another project deployed on CloudFoundry. I don't really know what to do about this in our case, especially because we are connecting to |
@forman |
@forman I have forwarded it. Unfortunately, the main admin is not available until Friday. |
@forman export http_proxy= Then I start the GUI and write in file -> preferences -> proxy configuration: The GUI looks a bit strange and in the console you can see a 'CeasiumGlobe' error and that the connection timed out. I can load local data sources but I cannot load data sources from the ODP. Following error mesage: |
@forman is it GUI related issue or Core? If it's Core issue - as @VPriemer mentioned, on linux there is 'no_proxy' environment variable which allows to exclude praticular hosts from using proxy https://curl.haxx.se/docs/manpage.html#NOPROXY
For GUI, Electron also allows custom proxy configuration from application level |
@forman The originally error ("Establishing a tunnel via proxy server failed" (see my comment from 27th April) occurs again. |
@VPriemer that should be ok, as there was no update since you've observed the problem. |
@forman ok. So I've to wait for the next update? When is it planned? |
Hopefully today. Note that the background map you see is Cate's static world image. It will be shown when Cate cannot reach http://dev.virtualearth.net which provides Cate's default Bing Maps imagery. This may be another problem caused by your proxy server. |
I just released 2.0.0.dev11 |
Hi, i've got the same exception of @VPriemer originally solved starting the web service manually |
@papesci Vivien's browser passed the web socket test. When she runs the |
…igure Electron's proxy command-line switches to maybe target, see CCI-Tools/cate#627
Issue could be partly solved by letting Cate Desktop recognizing environment variables
This solves the primary problem namely allowing making WebSockets connections to localhost, but does not yet allow fetching Bing map tiles from dev.virtualearth.net. |
Expected behavior
@forman, @VPriemer, @papesci
Expect GUI to work
Actual behavior
See blank blue screen
Steps to reproduce the problem
Specifications
openSUSE 42.3
The text was updated successfully, but these errors were encountered: