Questions tagged [curl]

cURL is an HTTP client library and command line tool.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Resuming download from multiple sites

Looking for any tools which downloads the single file hosted in different multiple websites matching the same size, version, name which includes matching AOO, KEYS and PGP/ASC keys and having SHA256 / ...
-1
votes
0answers
15 views

host unable to connect with self through its public ip

I'm on a home network with 2 machines behind a sagemcom router. One machine is a server (RPI) running ubuntu 1804 the other is a regular PC. I've only got a dynamic public ip address (say 1.2.3.4) I'...
0
votes
0answers
31 views

cURL download always stalls but works on second attempt

Once a week, I download a file from the US FCC. I have a bash script with the following. curl http://wireless.fcc.gov/uls/data/complete/l_amat.zip --remote-name Every week, the first attempt to run ...
0
votes
1answer
21 views

CURL call is blocked due to suspected security breach

I am trying to extract list of cities from https://www.lalpathlabs.com/find-a-lab.aspx which can be extracted one by one by selecting different states. To achieve that through a shell program, I ...
0
votes
2answers
172 views

fastest way to flood a certain Curl request (not for DDOS!)

Im trying to Send bunch of POST request to a server . i need to send maximum amount of possible requests for a second to sever and i have used CURL in linux a few tools like axios and nodejs but they ...
0
votes
0answers
23 views

scripting download of teradata files

I'm trying to automate the build of a server and am having troubles scripting out the download of the teradata tools and utilities for linux from this site https://downloads.teradata.com/download/...
0
votes
0answers
8 views

Parsing output with spesiffic text

I have a web application that uses cURL, but I have problems when displaying the output of the application: $ curl https://leon36.web.id/status.php -d data=leon36.web.id <html><title>...
1
vote
1answer
65 views

Compiling cURL 7.69.1 with OpenSSL version 1.1.1g

I am compiling cURL (version 7.69.1) with OpenSSL (version 1.1.1g) on CentOS 7. This is what i have done -- For compiling curl ./configure --with-ssl --with-nghttp2 {nghttp2 for adding HTTP/2 ...
0
votes
1answer
17 views

php-curl and php7.3-curl installed but curl_init() is “undefined function” (Debian buster)

I have a problem with my web server since upgrading to buster. PHP doesn't seem to see the curl library : root@myserver ~ # php -r "curl_init();" PHP Fatal error: Uncaught Error: Call to undefined ...
1
vote
0answers
53 views

Send and receive SMS with mySMS

Sending and receiving SMS with mySMS using just bash & curl. (Breaking the rules here - don't have a question - but I found this a challenge to make work, with few good examples out there, so ...
0
votes
0answers
39 views

How to install curl that depends on libcurl3 (Ubuntu 18)

This is the situation: I currently have libcurl3 installed on my box and I want to install the curl package. However, when I try to do apt-get install curl, I get this error message: curl : Depends:...
-1
votes
1answer
65 views

Can I use libcurl 7.60.0 with CentOS 6.9?

My production server is CentOS 6.9. Is libcurl 7.60.0 compatible for CentOS 6.9? Where can I get more information on this? Thanks. Jessica
1
vote
1answer
38 views

Nginx cannot send whole response in a slow connection

Some user reported that cannot download whole response from my site when they are in a slow network connection. I tested with curl --limit-rate 1k, and curl did report transfer closed with 769569 ...
0
votes
1answer
46 views

Restricting which ports accept connections (Debian 9 Stretch)

I am not a sysadmin but I am having to assume some duties in that realm. We have a Debian 9 Stretch server for development use. Linux xxxxxx 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) ...
1
vote
0answers
115 views

Why does calling HEAD on this URL prevent the following error: ERROR: Message: SSL peer certificate or SSH remote key was not OK

This is an issue I'm having with a specific package but it looks like the software is using a version of CURL for windows or something. I want to understand this specific behavior because it doesnt ...
0
votes
1answer
47 views

Curl doesn't work when run with crontab [duplicate]

This is my curl script #!/bin/bash PING_STATUS="$(netcat -vz mc.bella.wtf 25565 2>&1)" curl -H "Content-Type: application/json" -X POST -d '{"embeds": [{"title": "Server Status:","color": ...
0
votes
0answers
20 views

Browser content differs from curl content; Does the browser somehow manipulate it?

I have a virtual machine with Ubuntu server 18.04 on which I am running an apache2 webserver with two virtual hosts. I configured one vhost to run as a reverse proxy for the other vhost. On the proxy ...
0
votes
1answer
140 views

curl command works as expected on CLI but not in a shell script

I have a series of curl commands I use to warm varnish using a script. The individual commands work just fine on the command line but when I put those same commands in a script they don't work. #!/...
0
votes
0answers
26 views

Certificate renewal caching in clients

I did a regular certificate renewal with digicert and deployed a new certificate to our system. But it looks like some clients using openssl instead of schannel had problems updating and validating ...
0
votes
0answers
155 views

HAproxy forward proxy with SSL termination

Problem: Iam trying to build a forward proxy with ssl termination, further it upstreams to my proxy servers eg: TOR. My upstream proxy services are non-https. Client -> Network-Haproxy -> Uptstream-...
0
votes
0answers
65 views

Docker race condition leading to curl error “transfer closed with 1 bytes remaining to read”

It is hard to fully describe our problem. However, I will try my best to provide full information. I spent many hours and still stuck. Hope that anyone here can help me. Currently, our container ...
0
votes
0answers
51 views

apache2 mod_proxy working awesome for http://urls and not for https://urls for curl requests

I have proxy setup with apache2 mod_proxy, Note: I did not change proxy port When I try curl -x http://proxyurl:80 -L http://destinationservice.com Now it works, but when i try with https://...
0
votes
1answer
46 views

curl: works ONLY using “sudo” for Remote Server-1, and without “sudo” for Remote Server-2

i am using curl in my local linux server to access my remote web service, and i found that both servers are reachable. But my issue is that Remote Server-1 is not accessible without "sudo" but my ...
0
votes
2answers
945 views

How do I install a PFX certificate file into Ubuntu so Curl trusts it?

I'm running Ubuntu 18.04 on Windows Subsystem for Linux 2. I am making a curl request to a web service running on the Windows side using a self-signed certificate. I receive this error: curl: (60) ...
0
votes
0answers
23 views

Aggregate the Intermediate CAs certificate to System Certificates Store

I recently received an API documentation, it came with customer certificate and the instructions says, Symantec signs the server certificates of the Platform in Preproduction and Digicert in ...
3
votes
1answer
3k views

What does `* Mark bundle as not supporting multiuse` mean in my curl trace?

When I do a curl -v to some docker container that I created, I get: * Mark bundle as not supporting multiuse What does it mean? Where is it documented?
0
votes
1answer
286 views

Getting error in curl command(curl: (35) error reading X.509 potentially-encrypted key file: Error in parsing.)

I am using below command curl --insecure --cert 'cert.p12:password' -X GET https://serverUrl -H 'Content-Type: application/json' curl --insecure --cert-type P12 --cert 'cert.p12:password' ...
0
votes
0answers
215 views

Intermittent Curl 35 error when using self signed certificate on Tomcat

We are using self signed certificate behind a range of load balancers, the endpoints use Self Signed Certificates. When testing the endpoints directly using CURL, we get intermittent SSL Connect ...
0
votes
0answers
32 views

cURL error 60 with certificate self-generated

I have a script in php that through cURL must connect to an address, but the following error comes out: curl: (60) Issuer certificate is invalid. More details here: http://curl.haxx.se/docs/sslcerts....
0
votes
0answers
80 views

curl ifconfig.me: curl: (7) Couldn't connect to server

I got a server on vultr, it has an ivp6 address I used their in-site command utility to get into the server's terminal and tried to run curl ifconfig.me I get curl: (7) Couldn't connect to server ...
0
votes
0answers
79 views

Troubleshooting Docker Swarm cURL docker service across nodes via overlay network

I have setup a 3-node Docker Swarm. I can ping but cannot curl a docker service that ends up deployed on Host B from within a docker container on Host A. What am I missing? What else can I do to ...
0
votes
0answers
62 views

Remote host closed connection during handshake - Certificate issue or connectivity?

I am getting SSL Handshake Exception when trying to communicate with a server. I tried doing a curl to the server to figure out if there is connectivity but got the below error. NSS error -5938 (...
0
votes
0answers
21 views

Record nginx log for functional testing

We have a legacy PHP application running behind nginx. To make sure that refactoring done on the app won't affect end users, we are looking for a way to replay production requests on staging / ...
1
vote
1answer
77 views

IP incorrect when making curl request from the same server

I have a user A with IP AAA.AAA.AAA.AAA, this user needs to access a directory of an other user B (with IP BBB.BBB.BBB.BBB) with CURL on the same server (Directadmin/CentOS/IP CCC). This directory of ...
1
vote
1answer
288 views

How to properly generate self signed certificates for use in Nginx

I used openssl to generate the following certificates: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt -subj "/C=IT/ST=Mi/L=Milan/O=MyOrg/OU=RnD/CN=localhost/...
0
votes
0answers
11 views

Curl -X GET incorrect output

I've been searching or any information for about two days and still no result. Preamble: I have Prometheus instance that scrapes metrics from few hosts. One day, unexpectedly and absolutely without ...
0
votes
1answer
202 views

How to open google.com using curl with Host header (certificate does not match) [closed]

Since Google is using HTTPS/SSL I am unable to access it using the IP of Google.com and passing the Host header. I don't understand why this is not working. Here is what I have tried so far. I got ...
0
votes
1answer
483 views

Error uploading zip with curl on Catalina OSX 10.15.1

Using curl command tool pre-installled in OSx. Command like: curl -v -H 'Authorization:Bearer xxx' -H 'Accept:application/json' -F 'funzione=uploadPacket' -F 'folder_id=159' -F 'userfile=@//Users/...
1
vote
0answers
82 views

CURL Cannot Resolve Host running on MAMP

I have a MAMP PRO set up with local SSL certificates for a url named qph-plugin.local which is running a wordpress site. When I view the site in the browser on my machine it all works as expected. ...
0
votes
0answers
21 views

How to get the jenkins swarm client connect status?

Is there an API or curl request to query Jenkins swarm client connect status? Because of using swarm client, sometimes we don't know whether the jenkins slaves are connected or if some of them gets ...
-2
votes
1answer
124 views

I can see HTTP/2 headers with curl. But, if this protocol works with frames and binary numbers: shouldn't these headers be “invisible”?

HTTP/2 has several differences with respect to HTTP/1.1. One of them is the use of frames, binary numbers and compression to optimize the headers. However, when I use "curl -v --http2" against a ...
0
votes
3answers
120 views

Blocked from accessing website with EC2 Instance

When I run this command on my Ubuntu 16.04 EC2 Instance: curl -vvv https://www.oddsportal.com/site-map-active/ it returns * connect to 188.92.41.44 port 443 failed: Connection timed out * Failed ...
0
votes
0answers
169 views

Howto mount curlftps in fstab with custom netrc-file

The problem is, I have to mount two folders from one ftp(s) server with different user names (and passwords, of course). I found the option netrc-file, but don't know how to use it in fstab, I tried: ...
1
vote
1answer
431 views

cURL specify outbound IP - Windows

I have configured my Windows AWS instance to use two IP addresses and would like to be able to choose which of these two IPs are used for a HTTP GET request using curl (pycurl). I want it to appear ...
0
votes
1answer
851 views

how use weak client certificate with curl/openssl

I'm trying to use a PCKS12 client certificate with curl 7.58.0 and OpenSSL 1.1.1 on Ubuntu 18.04 server. My certificate info is: ~# openssl pkcs12 -info -in cert.p12 -noout -nomacver Enter Import ...
0
votes
2answers
44 views

HTTP Protocol: TLS/Requests/Responses classification after invoking the GET request method in curl

First of all, sorry for the inconvenience. I don't know if this is the right forum, but I've read several threads and there are some very expert people on this subject, so maybe one of them can help ...
1
vote
0answers
218 views

TLS handshake fails when traffic goes through OpenVPN tunnel [duplicate]

I have an OpenVPN server in US and a client in Europe. When connected all traffic is routed through VPN tunnel. A problem has been detected - for some HTTPS websites connection fails. I will present 3 ...
0
votes
0answers
22 views

Server intermittently dropping http requests in 0s when network traffic high

We have a web server that makes a number of http (actually https) requests to itself using curl. (This is because we have multiple websites running on the same server, and they use each other's APIs.) ...
0
votes
1answer
37 views

When using the curl -v -i command in the Ubuntu Terminal the server responses are duplicated. why?

I'm doing university work on the HTTP protocol and I want to explain "visually" how an HTTP connection occurs between a client and a server. To do this, I use in the Ubuntu terminal (which I have ...
1
vote
1answer
253 views

PASV FTP fails for wget/ftp but works for curl/lftp

I have a server running Centos 7 and vsftpd-3.0.3 (installed from source to get the latest version, though everything I describe was also applicable to the vsftpd-3.0.2 version that was previously ...

1
2 3 4 5
11