Comments (9)
@yanokwa Just to let you know, I have started on this already. But it takes bit more time than I expected due to me having access to proxy network only for a limited time in a day :-) ...Will send the PR by tomorrow
from briefcase.
I think it's a good idea for Briefcase to be usable behind a proxy. Can you please do some research and propose how we fix this!
from briefcase.
Appspot instances require https (port 443).
The web server will trigger a hard redirect.
The connection layer is likely not detecting and handling that.
from briefcase.
Thanks @mitchellsundt for the hint. I'm looking in to this
from briefcase.
@yanokwa @mitchellsundt Adding following before the HttpClient creation worked. :-) Now the problem is how can we allow user to set these properties up? Via settings tab may be ?
HttpHost proxy = new HttpHost("PROXY_HOST", PROXY_PORT, "http");
DefaultProxyRoutePlanner routePlanner = new DefaultProxyRoutePlanner(proxy);
CloseableHttpClient httpclient = HttpClients.custom() .setRoutePlanner(routePlanner) .build();
from briefcase.
Thanks for taking the lead on this and checking the following hint AND mocking up the UI! That's exactly the kind of initiative that we need!
I think settings is the natural place for the proxy, but how does this work across platforms or with Java installs that already have proxy settings? For example, OS X already has proxy settings. And Java lets you set proxy settings. Is this how most cross-platform Java apps do things?
from briefcase.
@yanokwa I think the settings in link you attached only applies for java applets. But for cross-platform JVM based apps, you need to configure the proxy settings.
An example would be, Eclipse which doesn't work behind a proxy until you set the proxy settings
from briefcase.
This is looking good to me, @rclakmal! Please send in a PR when you are ready.
from briefcase.
@yanokwa PR sent. Could get it done before expected. :-)
from briefcase.
Related Issues (20)
- Crash on export when submission is empty HOT 1
- Crash on reloading from Central server not right after configuring it HOT 1
- Crash on attempted cancel of pull from Central server when offline
- Socket closed when pushing 3k+ submissions to Central HOT 3
- Forms with external secondary instances aren't shown on export or push tabs HOT 1
- Crash when pulling forms with spaces in formId from Central
- Pull before export doesn't work for forms from Central
- Pull from Collect directory where a few versions of the same form are available is not possible HOT 1
- On pull from Central, submission attachments are not requested if submission folder exists
- Forms arenβt immediately showing up in push or export after a canceled pull - only with Java 8
- Export is crashing after canceling pull when empty submissions are created - Java 8
- Make documentation link in Central push warning dialog clickable
- Support empty form versions when doing multi-version push to Central
- Form selection is lost and status is missing on Export tab when pull before export process in progress
- Briefcase tabs are disabled when run on java 9 and 10 and select sd on Windows
- Pull/Push/Export tabs are still active when the storage location is cleared HOT 3
- On export, skip encrypted submissions with manifest but no .enc file and mark as failed
- Form selection and individual export configuration in export tab becomes disabled
- Export using CLI ok, but freezes / hangs using GUI (Key too long?)
- Export of encrypted submissions using Briefcase UI fails HOT 6
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 briefcase.