43,927 questions
0
votes
0
answers
22
views
Eliminating unnecessary files from a website
Someone gave me a copy of a website serving all of my late father's photography in a rather fancy Javascript-enhanced presentation. He created it with some scanning tool and never put it online, and ...
-3
votes
0
answers
15
views
Curl. Handshake failure [closed]
Problem:
~$ curl https://ya.ru -v
Trying 104.21.92.106:443...
Connected to ya.ru (104.21.92.106) port 443 (#0)
ALPN, offering h2
ALPN, offering http/1.1
CAfile: /etc/ssl/certs/ca-certificates.crt
...
-5
votes
1
answer
55
views
Why do my ubuntu server parsing The certificate of github does not correspond to the github website? [closed]
When I try
git clone https://github.com/xixi-cathy/regX.git
It returns an error shows "fatal: SSL: certificate subject name (*.inkafactura.com) does not match target host name 'github.com'"....
-3
votes
3
answers
56
views
Downloading zip file with curl
I am trying to download the VS code zip file with the curl command but what is being downloaded doesn't seem to be a zip file. What am I doing wrong?
#!/bin/bash
echo "Downloading Visual Studio ...
-3
votes
0
answers
30
views
Is this a memory leak or something else? [closed]
Circumstances of the problem:
Windows 8.1, application written in Pascal/Lazarus 2.2.6 (fpc 3.2.2), 11 days of uptime.
This is a parser of one web system, and it used external cURL.exe to send ...
0
votes
1
answer
20
views
Creating Folder in SharePoint via curl gives curl: (56) Recv failure: Connection was reset
I am trying to create a task in a AzureDevops release pipeline that uploads a file to SharePoint. Since the extensions in the marketplace give me increasingly weird errors, i wanted to do this via cmd ...
0
votes
0
answers
30
views
Issue with VB Shell function after recent Windows 10 update
Prior to windows update I setup curlcommand to be
curlcommand = ocurlMain & content & oAuth & " " & oTarg & Outfile
where Outfile -"-o filename"
when I ...
0
votes
0
answers
19
views
cUrl quic support udp-associate (need keep-alive)
Good day, everyone. I needed SOCKS5 support over the QUIC protocol.
I created a new connection filter in the cURL source code: Curl_cft_socks5_udp.
It works! But the problem is that a new connection ...
-3
votes
0
answers
77
views
How to bypass CloudFlare inside a Docker container Golang? [closed]
I have a project which it should fetch crypto/fiat price and return via Telegram bot when the user send a query. It has 3 services and one of them is bon-bast. everything was okay and works well last ...
-3
votes
0
answers
29
views
Curl Version not upgrading [closed]
I am in redhat 8 linux server where I am using Golang 1.24.2 base image in my docker. There I am installing curl 8.12.1 from my directory (I have already downloaded the curl and placed it inside my ...
0
votes
2
answers
42
views
SSRS CSV export via PHP cURL returns incorrect encoding (e.g. "–" instead of "–"), but works when downloaded via browser
I'm using PHP with cURL to programmatically download SSRS (SQL Server Reporting Services) reports in CSV format. The download works, but the character encoding is off. For example:
Text that should be ...
-2
votes
0
answers
69
views
Core PHP cURL - header origin pass null value
Payment gateway integration to access the URL, I'm using PHP's cURL function.
The code answer is 200 OK. However, it is not the intended answer. I reviewed the request headers in the developer tool ...
1
vote
1
answer
83
views
How to enable PHP's cURL extension on Apache 2.4 PHP 8.4.6 And Win64
I have the following setup:
Windows 10 x64
Apache24 Installed at: C:\Apache24\
PHP 8.4.6 Installed at: C:\php\
I've made minimal changes to both php.ini and httpd.conf
I tried enabling PHP's cURL ...
0
votes
0
answers
9
views
LinkedIn won't preview any URLs at my domain or subdomain
LinkedIn will not fetch any URLs on my domain for a post. When I use Post Inspector with any url for my domain or any of its subdomains I get this message: "We did not re-scrape (url) because the ...
0
votes
1
answer
38
views
Unknown Guild error when retrieving Guild (Server) from Discord's API
I'm trying to retrieve the details of a Discord Server:
curl -X GET -H "Authorization: Bot mytoken" -H "Content-Type: application/json" https://discord.com/api/guilds/...
0
votes
1
answer
46
views
403-response when doing a python request?
i try to do a get request using the follwing code -
(i have taken the get response from this site:
https://www.marinetraffic.com/en/ais/home/centerx:-15.7/centery:25.1/zoom:3
copied it with right ...
0
votes
1
answer
66
views
java java.net.http.HttpClient returns http status 403 while curl works fine
I'm trying to fetch a json string from a (GraphQL ?) server. The input is a json string + POST request and the ouput is a json document.
When using curl, it works (well , let's be honest it works if ...
1
vote
0
answers
76
views
Update z/OS Password Using PHP cURL Module
STARTEDIT:
The process below works and is the accepted answer. I don't know why but I can't reply with an answer, and I can only comment on this question, so I'm choosing to edit my initial question ...
1
vote
1
answer
48
views
Status code in httr2 when uploading a file that already exists
I'm using the R package httr2 to upload files to a secure environment. If a file already exists, I'd like to receive a warning. Instead, I get a response status of 200 which, means "OK". ...
0
votes
0
answers
29
views
Replicating the deferred body handler of java http client in curl
I have this Java code. It sends a http request to the server and based on certain conditions, and it reads the streaming response body.
import java.io.InputStream;
import java.net.URI;
import java.net....
0
votes
1
answer
56
views
Php curl get Acces denied error. What is wrong in my code?
I have test curl command on Reqbin.com and get correct result.
curl execed on reqbin return exactly result
But when I run php curl code, It return Access Denied error.
Result when run php curl code
...
0
votes
0
answers
26
views
In CMake why does find_package search for compiled libraries?
I have a dependency, Libcurl, and that has a dependency on MBedTLS library. So in my CMake file I add curl with add_subdirectory. And in the Curl CMake file it does:
if(CURL_USE_MBEDTLS)
...
-1
votes
0
answers
29
views
Best way to link a dependency of a dependency?
I want to use libcurl with the MBedTLS ssl backend. And what I thought I'd do is:
add_subdirectory(${EXTERNAL_DEPENDENCIES_DIR}/ExternalDeps/mbedtls/mbedtls ${CMAKE_CURRENT_BINARY_DIR}/MBEDTLS)
And ...
0
votes
1
answer
29
views
How to initiate a new Bluesky DM (Direct Message) with an unknown user via API?
I couldn’t find documentation on how to send a message to someone I’ve never chatted with before using the Bluesky app. I have referred to many websites and documents
I am expecting to chat with ...
0
votes
1
answer
32
views
Posting to API with cURL works while Python requests fails
I have a cURL command that works when uploading a file while the equivalent Python requests fails.
Here is the cURL command
curl -X POST "http://<DOMAIN>/polarion/rest/v1/projects/<...
1
vote
1
answer
201
views
how to download a zipped file from https://www2.census.gov within R
I'm curious if there's a straightforward way to download this data file within an R session? This zipped file downloads without any issues in both firefox and chrome for me:
https://www2.census.gov/...
0
votes
0
answers
11
views
Unable to connect to quetz server with curl command
I tried install and connect to my local Quetz server (launch with Docker image retrieve in dockerhub mambaorg repo) with this simple command :
`curl http://localhost:8000
But the only response was &...
0
votes
0
answers
42
views
How to use Matrix API with curl
When trying to check the availability of usernames at the matrix.org server using the Matrix protocol with the following command
curl -H "Content-Type: application/json" -X GET "https://...
0
votes
0
answers
35
views
Building docker image of keycloak with curl using 2 stage process hangs
dnf hangs when doing a two stage build of keycloak to include curl on running scriplet glibc-2.34-125.el9_5.3.x86_64.
This works properly on a Windows machine but fails on AWS Linux 2 server. I have ...
1
vote
1
answer
60
views
How to properly backup and recover VertexAI Workbench instance?
I have to update certain linux (and other) packages on a VM instance that was created via the VertexAI Workbench for security compliance reasons.The VM instance is running Debian 11. So far I have SSH'...
0
votes
0
answers
33
views
Download artifacts from a Gitlab job
I'm trying to download artifacts from a Gitlab build (hosted on gitlab.com) according to the documentation
So I run the following command :
curl --location --output artifacts.zip --header "...
0
votes
0
answers
29
views
Tailscale App Connector cannot connect to itself
I have an application (https://stg-crossover.schierproducts.com) that is protected by a Tailscale App Connector. This works well and as intended. I am however running into an issue where this ...
0
votes
0
answers
22
views
Why is my Mirth channel failing to read full PDFs from cURL requests?
I have a channel in Mirth that exists to receive files from a webserver and push them to an SMB share.
When I try to use code (or the command line curl command) to make the HTTP request to Mirth, the ...
0
votes
1
answer
48
views
Nginx Reverse Proxy Issue with Multiple Angular Applications in Docker
I have some trouble running multiple Nginx containers in a Docker environment to serve different versions of an Angular application.
The setup includes:
mobile-v1: An older AngularJS application ...
3
votes
2
answers
68
views
Accessing Pinecone via PHP
I am having trouble accessing Pinecone via PHP. I tried to follow the examples from the documentation, but it does not seem to work.
<?php
ini_set('display_errors', '1');
ini_set('...
0
votes
2
answers
134
views
Issues with istio-proxy to apps communication while using STRICT peerauthentication with MUTUAL_TLS destinationrule
I am using STRICT peerauthetication model for ALL Pods in my default namespace.
Also, ISTIO_MUTUAL destinationRule is ON for default namespace pods.
When peerauthentication is PERMISSIVE, curl from ...
0
votes
1
answer
70
views
Empty response from Nginx when curl my public IP
I try to curl/access a test website hosted on my Nginx web server (on Ubuntu Server).
My problem is : If I curl my private IP (192.X.X.X), it works fine. If I curl my public IP (X.X.X.X) when ...
1
vote
1
answer
31
views
porting curl command to nodejs program: fetch and http2 behaviour is different than curl program
I tried to port this curl command into nodejs program:
curl -H 'upgrade-insecure-requests: 1' -H 'user-agent: Mozilla/5.0 (Linux; Android 13; Generic Android-x86_64) AppleWebKit/537.36 (KHTML, like ...
1
vote
1
answer
42
views
How to get Referrer value using CURLINFO or cURL
How to get Referrer value from cURL URL? I am trying something like this but not working.
$curldomain = "https://www.example.com/";
$ch = curl_init($curldomain);
// Set cURL options
...
1
vote
1
answer
54
views
Is possible to spoof HTTP Header Referer value using cURL
Let say, my website is https://www.example.com and i am using cURL to pull https://stackoverflow.com
I am using cURL HTTP Header to spoof referer value like this
curl_setopt($ch, CURLOPT_HTTPHEADER, ['...
0
votes
1
answer
55
views
How to get a key/value pair from the Docker Info section via the Artifactory API?
I know a similar question was raised here: How to get the dockerTag label via the Artifactory API?
But unfortunately the provided and accepted answer doesn't seem to work in my case.
I am also trying ...
0
votes
0
answers
15
views
How can I download different files with curl?
I run below code from Ubuntu 24.04.02 in order to download html files(10 files from 'no=3641000' to 'no=3641010' and 20 files from 'no=3625000' to no='3625020')
curl --compressed -L 'https://gall....
0
votes
1
answer
20
views
cmd batch with curl to redirect http_code to file and content to another file
I have a .cmd file with this content:
"curl.exe" -H "Content-Type: application/xml" -X POST --data @"post_content.tmp" -w "%{http_code}\n" -o "...
-1
votes
2
answers
43
views
curl command not returning anything using deepl api [closed]
~$ echo $API_KEY
{mykey shows up here}
~$ curl -X POST https://api-free.deepl.com/v2/translate \
> --header "Content-Type: application/json" \
> --header "Authorization: ...
0
votes
0
answers
43
views
Windows Authentication working only in PowerShell but not as curl
I am running Web App on my IIS server and I have Windows Authnetication enabled.
On client, when I run PowerShell script: Invoke-WebRequest -Uri {url} -UseDefaultCredentials, its working fine. Also in ...
0
votes
2
answers
69
views
How do I fix this curl deepl code is not working
I have the following code and it is not working, I just get string(0) ""
This code is a copy of a DeepL curl script that creates a glossary which works perfect, I just changed the url and ...
0
votes
0
answers
23
views
cURL 7.61.1 works & cURL 8.5.0 fails
I am issuing identical curl statements on a AWS ec2 instance running on AL2 and AL2023, but observing drastically different behavior. The ec2 instance running AL2 utilizes cURL version 7.61.1 and the ...
1
vote
2
answers
215
views
Receiving an ERR_HTTP2_PROTOCOL_ERROR sporadically when web scraping with python selenium chromedriver, but same request works as CURL
I have a fairly basic scraper set up to loop through a list of real estate agent profiles on Homes.com. My scraper worked consistenly for months, but then sporadically starts getting these sporadic ...
0
votes
1
answer
63
views
PHP Curl Fails To Connect to SFTP Server
I am unable to sftp a file to a server using my code. But only under a very specific scenario.
MyClient can successfully connect to any SFTP Server I try, except MyHost. Every other client I try, can ...
0
votes
0
answers
50
views
Curling server from Host raises a (56) Recv failure: Connection reset by peer
I have created a Docker image that runs a web server (based on Ocaml/Dream) on port 8080.
I run the container mapping host port 8084 to container port 8080 as follows :
docker run -p 8084:8080 <...