Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

proxy with CT Gen IV 11 years 9 months ago #3372

  • airpumpkin
  • airpumpkin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
The rolling update feature is very exciting.
But I'm using the web behind my company's proxy.
Is there any solution to use proxy with the update manager, or is there any plan to support proxy in the future?

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 9 months ago #3373

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir, my suggestion is to test Update manager.

1) Remove one file from codetyphon/allzips directory
for sample codetyphon/allzips/src/qt4pas.7z

2) run CTC->Update procedure

after "update" the removed file must be in the same directory.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

proxy with CT Gen IV 11 years 9 months ago #3374

  • Marius
  • Marius's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 1
Please, can you add proxy server support to Update Manager?
It is very simple if you are using synapse and httpsend for downloading files, all you need is to populate 2 other variables.
Thank you again. It is a very requested feature.

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 9 months ago #3375

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
we will try
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3399

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Why not use system-wide proxy?
Done easily under most OSes and solves the problem.
I mean, if you want to use internet, you want to set that up anyway, right?
コンソールマニアック

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3406

  • Marius
  • Marius's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 1
Yes, but the application must support proxy in order to use the info from there.

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3407

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
For our help Sir
please make this test for us

Wget use initialization file "wgetrc"
here is the Wget help

location for Unix here
location for windows here

wgetrc file commands here

==========

Suggestion wgetrc Sample for CT

use_proxy = on

http_proxy = string
https_proxy = string
http_password = string
http_user = string

or

ftp_proxy = string
ftp_password = string
ftp_user = string
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

proxy with CT Gen IV 11 years 8 months ago #3410

  • airpumpkin
  • airpumpkin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
Tested on Win7 x64
Uses the wget windows edition from GnuWin project on sf.net(sourceforge.net/projects/gnuwin32/files/wget/1.11.4-1/).
My configure file with the proxy is modified from the default template:
http_proxy = proxy_url
ftp_proxy = proxy_url
use_proxy = on
Wget works fine with the proxy settings.

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3411

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3471

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12

mdalacu wrote: Yes, but the application must support proxy in order to use the info from there.

In Windows you should try using "proxycfg" util and set a desired proxy.
Then you want to open your connection properties and choose setup correct gateway and DNS (considering IP and subnet mask already set). If you have dynamic IP assigned to your PC via DHCP, then you still want to setup correct DNS.

If you have some questions, then look here first: superuser.com/questions/29701/global-proxy-settings-for-windows
コンソールマニアック

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3472

  • Marius
  • Marius's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 1
Proxycfg is deprecated on windows and is only working for proggrams using WinHTTP. If you use other library or OS (synapse, wget..) it makes no change. And the solutions presented in the link are unacceptable. You should not modify you whole system to only make one app work.
The application alone, should support proxy.
The bottom line is that CT should support proxy and is very easy to implement (<10 lines of code).
Thank you for your answer.

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3485

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Anyway, I see your point and don't want to argue, but you're wrong about at least 2 points:
1. You've said proxycfg is deprecated. But it exist nowadays and, if that does the trick (and it did for me at my work) then why not use it? If you want to use CT under win8 or releases yet to come, then (and only then) should you be concerned about smth being deprecated. Besides, if you DO know about proxycfg being that way, then you also should know there is a replacement for it. Which too has it's own flaws, true.
Also I live behind a proxy (usergate 5) and CT updates like it should both under WinXPSP3 and Win7Ent on 30 different PCs. So, if you experience some trouble being behind a proxy - then you just misconfigured smth ;)

2. Yes, modifying one's system in order to launch 1 particular program seems not quite right. But CT isn't the only program that needs it. If you don't use those programs, then it's naturally you think the way you do. But this logic is not consistent, as modifying, for example, %path% variable IS modifying one's system (in a way), yet no one complained about being forced to have MinGW\bin directory added to the %path% so that CMake would find it automatically. (If you'll find this example bad/wrong, then ask for another - I already know what they say about %path% examples, but it suits here well. JMO ;)

Nevertheless, CT definitely should have proxy settings, but it also should be able to use system proxy as well. Having system-wide proxy was introduced for some reasons. And one of those reasons is unifying. When you have more then 10 PC with set of programs which require proxy you probably want to use system-wide proxy instead of setting it manually for each program on each PC.

As for WinHTTP... well that fact didn't stop CT from updating, so the conclusion should be obvious.
コンソールマニアック

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3486

  • Marius
  • Marius's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 1
Hi, my work scenario is a corporate network where on your computer (Ubuntu or win) you have multiple apps that are accessing web services from internet or from the local domain. If an app is connecting to a local server then a system wide proxy setting will prevent that app reaching the server.
There is another option to setup an transparent proxy but in my case it is impossible (network admnistrators, security experts...no way to do this).
And CT should implement something that is cross platform : synapse library, wget program etc.
I only write this for motivating CT in supporting proxy in their app (describing different network environments).

"As for WinHTTP... well that fact didn't stop CT from updating, so the conclusion should be obvious."...then CT is using WinHTTP witch is not cross platform.

Please Log in or Create an account to join the conversation.

proxy with CT Gen IV 11 years 8 months ago #3488

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Actually didn't try updates under ubuntu, but I have Ubuntu at home. (And I have to use proxy at home too - there about 10 people that are using Internet, and I'm the one who sets up everything PC/Internet related.)
So I'll try CT updates under ubuntu 12.04 32 bit and tell if it'll work. (I have a suspicion that CT uses WinHTTP only on win platform.)

Anyway, CT definitely should have proxy settings, at least for cases when a programmer/student doesn't allowed to change network settings by himself.
コンソールマニアック

Please Log in or Create an account to join the conversation.

  • Page:
  • 1