bugGNU Octave - Bugs: bug #52369, proxy settings do not work at...

 
 

bug #52369: proxy settings do not work at Windows 10

Submitted by:  Elvira D. Antal <antale>
Submitted on:  Wed 08 Nov 2017 03:53:22 PM UTC  
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  Need Info Assigned to:  None
Originator Name:  antale Open/Closed:  Open
Release:  4.2.1 Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Thu 19 Jul 2018 12:47:11 PM UTC, comment #10:

works with IP address, and also with the URL of the proxy server.
(But I need to set the proxy by the putenv/setenv command at every restart of Octave, as I wrote below.)
News/Community News does not ("Octave's community news source seems to be unavailable."), even if I use the menus.

Elvira D. Antal <antale>
Wed 18 Jul 2018 04:14:24 PM UTC, comment #9:

This may not be resolvable. The finaly thing to try would be to use the URL, rather than the IP address of it, in the environment variable https_proxy.

The code should be

For example, if the proxy was called "proxy_A" and the port was 5000 then the full command would be

To test, start with

If that starts to return data then you can interrupt it with Ctrl+C. The next step would be to use the menus and try News/Community News and see if it returns anything.

Rik <rik5>
Project Administrator
Wed 18 Jul 2018 07:59:41 AM UTC, comment #8:

Manual proxy configuration works in Firefox and Chrome also. I can reach both
and
.
Remark, that I use the URL of the proxy server instead of the IP address of it. I have just figured out, that Chrome truncates automatically the "http://" part of the given URL, while Firefox does not, and it works only if I leave out this part of the URL.
I checked in Octave also, whether it helps if I include or not the "http://" part, but it does not matter. Community news does not work inside Octave.

Elvira D. Antal <antale>
Tue 17 Jul 2018 04:56:55 AM UTC, comment #7:

It's possible that your proxy is filtering out results. If you use a regular web browser, and configure https proxy manually to be 123.12.123.1 port 8080, can you reach

What about

Rik <rik5>
Project Administrator
Mon 16 Jul 2018 10:13:20 AM UTC, comment #6:

I have tried without the slash, with setenv and putenv also, but the Community News could not load in.

Elvira D. Antal <antale>
Thu 12 Jul 2018 05:11:56 PM UTC, comment #5:

The proxy set in Edit/Preferences/Network in the GUI does not seem to be used which is a bug.

Can you try starting a new session of Octave and immediately executing

and then using the menu for News/Community News?

Note that the change from your previous code in comment #4 was to drop the slash '/' at the end of the proxy. I don't think that is a valid character.

Rik <rik5>
Project Administrator
Thu 12 Jul 2018 12:45:50 PM UTC, comment #4:

I have installed Octave 4.4.0 and the issue is modified, but still exists. After executing

I could execute

but the Octave community news does not work in any way.
I have "Use proxy server" checked, HttpProxy chosen and the hostname and port filled at Edit/Preferences/Network after executing the above putenv command.
However, after Octave restart, Edit/Preferences/Network settings remains the same, but I need to reexecute the putenv command to get network connection.

Elvira D. Antal <antale>
Wed 11 Jul 2018 11:54:28 PM UTC, comment #3:

Version 4.2.1 of Octave is deprecated. Could you download the latest stable version 4.4.0 and try to replicate the issue?

Otherwise we can close this report as being on an unsupported version.

Rik <rik5>
Project Administrator
Thu 09 Nov 2017 08:51:07 AM UTC, comment #2:

Mike, I have tried what you had suggested, and it does not help.

Elvira D. Antal <antale>
Wed 08 Nov 2017 08:53:07 PM UTC, comment #1:

Thanks for the bug report. I don't have access to Windows or to a proxy set up to test with, but can you try setting "https_proxy" instead of "http_proxy"? Octave Forge packages are installed over HTTPS, and the library used by Octave uses distinct environment variables for each protocol.

Mike Miller <mtmiller>
Project Administrator
Wed 08 Nov 2017 03:53:22 PM UTC, original submission:

I am using Octave 4.2.1 configured for "x86_64-w64-mingw32" at Windows 10, and behind a proxy server. I cannot connect the package manager nor Octave Community News, however I set the proxy server (hostname URL) and port as my system administrator suggested. I have set these settings in the GUI at Edit/Preferences/Network, and also tried from the Octave command line with
and
as suggested at
http://octave.1599824.n4.nabble.com/Connecting-to-internet-td4659960.html
and
http://octave.1599824.n4.nabble.com/problem-with-curl-installation-td4656082.html#a4656246

I still get
"error: get_forge_pkg: could not read URL, please verify internet connection
error: called from
get_forge_pkg at line 66 column 7
get_forge_download at line 26 column 12
pkg at line 382 column 29"
for
for example.

(I hope I post this in the right category, this is my first bug report at this site.)

Elvira D. Antal <antale>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by antale (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-08 mtmiller StatusNone => Need Info

    Back to the top


    Powered by Savane 3.3