-
-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP Proxy for outbound requests #693
Comments
Hi, I also have a problem with proxy, there is a way to add it to sandstorm for the moment ? to force the plate-forme going through it ? |
Hi @A-Picogna , It's your lucky week! I'm testing this right now and one of my goals for the week is to make sure that this works. I'm going to leave a few comments here about how I test this, so that I can test it again more easily in the future. |
Goal: Run a Sandstorm process on my laptop with no access to the actual Internet, except via a HTTP proxy Strategy:
Great. Next up, adding it to Sandstorm. (Note: wget requires lowercase |
|
|
|
I'm working on this right now, so self-assigning. |
Hi @paulproteus I'll be very interested by your results ^^. I have a distant machine on an internal network which need to get through a proxy to acces internet. the command : systemctl daemon-reload dosen't exist on ubuntu 14.04 apparently :) |
This adjusts `installer.js` to use the `request` API, rather than the node HTTP/HTTPS API. It also adjusts `run-bundle.c++` to pass this variable through, and adjusts the docs to explain how to use this feature. Refs #693 Does not fully close #693 yet because a few other places need a similar update.
This adjusts `installer.js` to use the `request` API, rather than the node HTTP/HTTPS API. It also adjusts `run-bundle.c++` to pass this variable through, and adjusts the docs to explain how to use this feature. Refs #693 Does not fully close #693 yet because a few other places need a similar update.
Per #1438 I have app install working with a proxy now. Not everything is ready though, and this isn't in a released Sandstorm build yet. |
Thanks @kentonv for fixing the metadata fail! |
Next up - test/fix the following:
|
Could we also allow HTTP POST requests? This would allow apps to do bot POST requests in the name of the user. For me Sandstorm is really about making personal apps and such apps often also want to automatize some tasks. Sending an outbound HTTP POST is pretty common. |
@mitar This issue is not about grains doing HTTP requests, it's about making the Sandstorm shell's HTTP requests go through a proxy (as is required on e.g. many corp networks). |
Oh, sorry. I misread. I read "To implement the httpGet() API method, which e.g. TinyTinyRSS uses to fetch RSS feeds." Is there a more appropriate ticket? Or should I open a new one? |
@mitar Dunno if there is a ticket. Secretly you can do posts today using HackSessionContext::getUiViewForEndpoint() and passing a regular old URL (rather than a webkey) and then requesting a WebSession. However, all these APIs will be replaced soon with Powerbox APIs (which will definitely support POST). Feel free to open a ticket or don't, either way it'll get fixed just as fast. |
Opened #1924. |
I haven't done any work on this lately, so I'm de-assigning from myself for now so that no one thinks I am. |
Further to the email discussion with @kentonv:
The text was updated successfully, but these errors were encountered: