Closed toyo2333 closed 10 months ago
curl ifconfig.co/ 的结果可以看一下?
极端情况下,可以使用环境变量 PUBLIC_IPV4 / PUBLIC_IPV6 来手动配置这些信息
curl ifconfig.co/ 的结果可以看一下?
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Just a moment...</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">
</head>
<body class="no-js">
<div class="main-wrapper" role="main">
<div class="main-content">
<noscript>
<div id="challenge-error-title">
<div class="h2">
<span class="icon-wrapper">
<div class="heading-icon warning-icon"></div>
</span>
<span id="challenge-error-text">
Enable JavaScript and cookies to continue
</span>
</div>
</div>
</noscript>
<div id="trk_jschal_js" style="display:none;background-image:url('/cdn-cgi/images/trace/managed/nojs/transparent.gif?ray=7df332a80f724601')"></div>
<form id="challenge-form" action="/?__cf_chl_f_tk=MZRZ9KKfwGaN8ba3K6khMt_uzSBhhKO6iTbawCrCV10-1688094434-0-gaNycGzNBSU" method="POST" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="md" value="slqRrG2Nuu2EcX_rbYC90aV9dbrAREOMWZyfHrxSIfw-1688094434-0-AbICjWgUAl5g5bZXZNT8y-CG_qIEzHPjyUymWzSE-arDrjfAGrzUY5GaWP9La8WQP9hV5hEZmUoQk2_QhDTpRSTtLBEnUSr2no2SqnFQ6eiNF49j0MAeuvccGHRtLPkIjZytu19knrNb58EhiRbTwuxZUYox4KDQz6CBv2TBBu-ALppupl21Q5VDlv349oIHBpsaaFMsYRGkUGZcLLGLFZtXnRg0unXS96AjHzx6N6pXT-1Im7DhSN1jV1Dx7W9FNvn59u9UViyTc5rRjlpL5rO5clLTl-M36N8xO7_k-2N8VDMaZzDdWoi0Re3ZiuuDK7bFscOvnsaAvYxHqzgtbI9kv8ikjle0v9fKfUsIgPsF_LqgJFC-H4xOe6hAiV9Q3YErEglbryBkj_9Kxx51VdomH5_KF1jr7FjQBipReiaM74BUiOnjsILWQ7oi7z34fjKVcT1ZgXQW0AA1VPT9jnBj08lTRA4lfHAtQqjAoia6JAIxcEr8VcdlBXAAIlOXLl-ZHLr_TwlLDzq7rrU5Yyp9s7TdIPy8UT0Iqfi4EZ7LsID4nT6IP2ZJh1GgUn7GYh_PG9ByBxFwCEzqsOO2QS3_m01tcbLhWChwKy2DUI_vI-pjrqImnFUPbIL-S9pfkRpOEnfBY1p93hA0C7HSZVproslQ_3-Vqs-r0MUdLg8LRKVttdUvYGKfjNip4sVhEc2900OBri4cOgJMyRG9EAOK6K3Rn0BwG9wjpW4mN2jdadj_LKTXx-Q2BR-pHrw5sokcXcA2CMl-w9wEvugcg-T6VLkQElAQcoo7oXlaI3bMIsYF50wscpT5qwvtEd56rWWmTsqxP5brJs6FeKg0u9lwJ2mcujA3Q9IPFlPgeC5lx0TfKaoUUvXbVKSae8f_O0qrP0dvPk6QKuPOxb3UfjvCzJ_RK0tASI87k6ndEr77DCcxrE233-TN-kABGgXWGydKlfJS8LAdQegbmLhbWz6VKNw67JZZ_mCzW8jW0_FCQxZHrhF2G8OERxBM36sVDfAblDrlWixLgpIcL8CStQX2dqGNJPBvY-vNTBwPumpZf3_zL9KLu5O5uKh0ouZMX1WDxaRqvJIwMil1L8hIrRxCqy7WIXeyZx9mf06HAwG4fMzEsEXCb70dxPT7ZEd-4TmcuWd5lajWwAznkA8YE28fYwCa_2whTXWV6NL3t08Wt89hGGfXi3OD2YPY84Rbswe2BT5kK-HUBAFQIfv49u_AFg1EVls4iNyM2_xgeBDX">
</form>
</div>
</div>
<script>
(function(){
window._cf_chl_opt={
cvId: '2',
cZone: 'ifconfig.co',
cType: 'managed',
cNounce: '31966',
cRay: '7df332a80f724601',
cHash: 'e38602320a1eb1f',
cUPMDTk: "\/?__cf_chl_tk=MZRZ9KKfwGaN8ba3K6khMt_uzSBhhKO6iTbawCrCV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cmK4pRq/3uE/0XoTs/sjoPLUYI0lCN1aE=',
}
};
var trkjs = document.createElement('img');
trkjs.setAttribute('src', '/cdn-cgi/images/trace/managed/js/transparent.gif?ray=7df332a80f724601');
trkjs.setAttribute('alt', '');
trkjs.setAttribute('style', 'display: none');
document.body.appendChild(trkjs);
var cpo = document.createElement('script');
cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/managed/v1?ray=7df332a80f724601';
window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;
window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;
if (window.history && window.history.replaceState) {
var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;
history.replaceState(null, null, "\/?__cf_chl_rt_tk=MZRZ9KKfwGaN8ba3K6khMt_uzSBhhKO6iTbawCrCV10-1688094434-0-gaNycGzNBSU" + window._cf_chl_opt.cOgUHash);
cpo.onload = function() {
history.replaceState(null, null, ogU);
};
}
document.getElementsByTagName('head')[0].appendChild(cpo);
}());
</script>
</body>
</html>
curl ifconfig.co/ 的结果可以看一下?
对了 我的vps是双栈机器,有ipv4和ipv6,v6优先,网页打开ifconfig.co显示的ipv6地址
极端情况下,可以使用环境变量 PUBLIC_IPV4 / PUBLIC_IPV6 来手动配置这些信息
通过e参数指定IP后,正常了。
你用的那个ip在我这里不行。
但是 curl ifconfig.io 或者curl ip.sb 都是可以的。你要不要考虑做个多个api的尝试吧。一个不行换一个。
已在 dd8705c 修复, 该提交使用 golang 全新重构了 ALS
Docker 镜像更新了,v2 支持单文件运行,因此版本发布会晚一些
BUG 简短描述
环境
Ubuntu
使用的镜像版本 (
docker ps | grep als
): 最新现象
获取不到服务器的IP地址,获取不到位置,下载文件的列表不显示,iperf3启动不了。
亚马逊的AWS是有两个IP的,一个内网ip,一个外网ip。后面的问题不知道是否和这个有关,我手工去vps上运行了:curl ifconfig.co/
结果不能返回ip地址,返回的一大段HTML代码。
烦请调查。