Thread: Protocol https not supported or disabled in libcurl
Status: Alpha
Brought to you by:
coroberti
From: Seetha m. <sma...@gm...> - 2010-01-27 08:25:06
|
<https://owa.i2r.a-star.edu.sg/exchange/smjandhyala/Sent%20Items/No%20Subject.EML/#> Hi 1) I am trying to test a https page but the log file says: ERR Protocol https not supported or disabled in libcurl when i look at the curl-config --protocols it says it supports HTTPS. How do i solve this problem.? 2) Also i am only able to connect to the pages hosted in localhost. when i change the URL to http://ip-address:8080/something.html , with glassfish running in that server, i am not able to connect to the page. Any idea why this might be the case? Even normal web pages like www.google.com or any other pages cannot be connected to , except those in localhost. Thanks Seetha |
From: Robert I. <cor...@gm...> - 2010-01-27 08:41:15
|
Hi Seetha, On Wed, Jan 27, 2010 at 10:24 AM, Seetha manognya <sma...@gm...>wrote: > > <https://owa.i2r.a-star.edu.sg/exchange/smjandhyala/Sent%20Items/No%20Subject.EML/#> > Hi > > 1) I am trying to test a https page but the log file says: > > ERR Protocol https not supported or disabled in libcurl > > when i look at the curl-config --protocols it says it supports HTTPS. How > do i solve this problem.? > > 2) Also i am only able to connect to the pages hosted in localhost. when i > change the URL to http://ip-address:8080/something.html , with glassfish > running in that server, i am not able to connect to the page. Any idea why > this might be the case? Even normal web pages like www.google.com or any > other pages cannot be connected to , except those in localhost. > > Thanks > Seetha > HTTPS is definitely supported. In order to understand what are you doing, please, fill the PROBLEM-REPORTING-FORM, which is located within curl-loader tarball. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Robert I. <cor...@gm...> - 2010-01-27 10:25:56
|
Hi Seetha, CURL-LOADER VERSION: 0.50, September 21, 2009 HW DETAILS: CPU/S and memory are must: LINUX DISTRIBUTION and KERNEL (uname -r): 2.6.28-17-generic GCC VERSION (gcc -v): gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) COMPILATION AND MAKING OPTIONS (if defaults changed): defaults used COMMAND-LINE: curl-loader -f 10K.conf -e -v -u -d -u CONFIGURATION-FILE (The most common source of problems): Place the file inline here: ########### GENERAL SECTION ################################ BATCH_NAME= 10K CLIENTS_NUM_MAX=10 CLIENTS_NUM_START=2 CLIENTS_RAMPUP_INC=1000 INTERFACE =eth0 NETMASK=16 IP_ADDR_MIN= 192.168.1.1 IP_ADDR_MAX= 192.168.1.255 CYCLES_NUM= 1 URLS_NUM= 1 ########### URL SECTION #################################### URL=https://127.0.0.1:443/jsp_pages/index/jsp # tried with URL=https://127.0.0.1/jsp_pages/index/jsp as well #URL=http://localhost/ACE-INSTALL.html URL_SHORT_NAME="local-index" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 5000 # In msec. When positive, Now it is enforced by cancelling url fetch on timeout TIMER_AFTER_URL_SLEEP =20 DOES THE PROBLEM AFFECT: COMPILATION? No LINKING? No EXECUTION? No OTHER (please specify)? Have you run $make cleanall prior to $make ? no . but this needs to be done everytime before you run a test? cause i am having no problems testing for a http page. DESCRIPTION: QUESTION/ SUGGESTION/ PATCH: >1) I am trying to test a https page but the log file says: >ERR Protocol https not supported or disabled in libcurl How it was built? What happens, if you use the same URLs in browser? >2) Also i am only able to connect to the pages hosted in localhost. when i change the URL to >http://ip-address:8080/something.html , with glassfish running in that server, i am not able to >connect to the page. Any idea why this might be the case? Even normal web pages like >www.google.com or any other pages cannot be connected to , except those in localhost. The addresses you are using are supposed to be routable. NETMASK=16 IP_ADDR_MIN= 192.168.1.1 IP_ADDR_MAX= 192.168.1.255 This is up to you ensure that. To begin with start with the address you your computer, like if it is routable to outside world and has IP A.B.C.D use: IP_ADDR_MIN= A.B.C.D IP_ADDR_MAX= A.B.C.D -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Seetha m. <sma...@gm...> - 2010-01-29 03:40:49
|
Hi Robert QUESTION/ SUGGESTION/ PATCH: >>1) I am trying to test a https page but the log file says: >>ERR Protocol https not supported or disabled in libcurl >How it was built? What do you mean by how it was built? the https page? i added port 443 in the glassfish admin page and added a default certification. Thats all. I did not build anything. Then i changed the address from http://localhost:8080/jsp_pages/index.jsp to htttps://localhost/jsp_pages/index.jsp and it works well in the browser. >What happens, if you use the same URLs in browser? The add exception page is shown and once that's done, i can access the https page. >>2) Also i am only able to connect to the pages hosted in localhost. when i change the URL to >http://ip-address:8080/something.html , with glassfish >>running in that server, i am not able to >connect to the page. Any idea why this might be the case? Even normal web pages like >www.google.com or any >>other pages cannot be connected to , except those in localhost. >The addresses you are using are supposed to be routable. >NETMASK=16 >IP_ADDR_MIN= 192.168.1.1 >IP_ADDR_MAX= 192.168.1.255 >This is up to you ensure that. >To begin with start with the address you your computer, >like if it is routable to outside world and has IP A.B.C.D >use: >IP_ADDR_MIN= A.B.C.D >IP_ADDR_MAX= A.B.C.D I am inside a corporate lan space so i guess thats why 192.168.0.0/16 doesnt work right? since that is not a routable address. But if i am connecting to http://204.236.255.202:8080/xxx.jsp and i set the IP_ADDR_MIN= 204.236.255.202 IP_ADDR_MAX= 204.236.255.202 it still doesnt work. |
From: Robert I. <cor...@gm...> - 2010-01-29 05:44:03
|
Hi, On Fri, Jan 29, 2010 at 5:40 AM, Seetha manognya <sma...@gm...>wrote: > > >How it was built? > What do you mean by how it was built? How the curl-loader has been built? Describe the commands. > > >What happens, if you use the same URLs in browser? > The add exception page is shown and once that's done, i can access the > https page. > This may be the crucial point. The very recent versions of libcurl are enforcing faliure upon exeptions, if not specifically alloweed via API. You choices are: 1. ensure your certificate, etc are valid and no-exception is required by browser; 2. downgrade the curl package to some lower version that may require other changes like not using asynchronous DNS lookups by disabling that in Makefile; 3. using libcurl C-API to explicitly allow such exceptions in loader.c file via API > > >The addresses you are using are supposed to be routable. > >NETMASK=16 > >IP_ADDR_MIN= 192.168.1.1 > >IP_ADDR_MAX= 192.168.1.255 > > >This is up to you ensure that. > > >To begin with start with the address you your computer, > >like if it is routable to outside world and has IP A.B.C.D > > >use: > >IP_ADDR_MIN= A.B.C.D > >IP_ADDR_MAX= A.B.C.D > > > I am inside a corporate lan space so i guess thats why 192.168.0.0/16doesnt work right? since that is not a routable address. > But if i am connecting to http://204.236.255.202:8080/xxx.jsp and i set > the > IP_ADDR_MIN= 204.236.255.202 > IP_ADDR_MAX= 204.236.255.202 > > it still doesnt work. Use command ping with -I option to bind to a certain address and check it versus some external address, like $ping -I <my-local-address> <an-external-address> Working for a corporate means that you have some admins. This is not a curl-loader issue. There are too many reasons, why an address is not passing. > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > |