Giter Club home page Giter Club logo

Comments (9)

rclakmal avatar rclakmal commented on June 1, 2024 1

@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.

yanokwa avatar yanokwa commented on June 1, 2024

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.

mitchellsundt avatar mitchellsundt commented on June 1, 2024

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.

rclakmal avatar rclakmal commented on June 1, 2024

Thanks @mitchellsundt for the hint. I'm looking in to this

from briefcase.

rclakmal avatar rclakmal commented on June 1, 2024

@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();

1

from briefcase.

yanokwa avatar yanokwa commented on June 1, 2024

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.

rclakmal avatar rclakmal commented on June 1, 2024

@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

k

from briefcase.

yanokwa avatar yanokwa commented on June 1, 2024

This is looking good to me, @rclakmal! Please send in a PR when you are ready.

from briefcase.

rclakmal avatar rclakmal commented on June 1, 2024

@yanokwa PR sent. Could get it done before expected. :-)

from briefcase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.