服务网格中常见的503报错

必定503 场景一:应用监听localhost 问题原因 当集群中的应用监听localhost网络地址时,如果localhost是本地地址,会导致集群中的其他Pod无法对其进行正常访问。解决方案 您可以通过对外暴露应用服务解决此问题。具体操作,请参见 如何使...

使用Kafka(离线与实时)

sh kafka-console-producer.sh-bootstrap-server localhost:9092-topic topic_text-property parse.key=true>123 abc>456 edf(可选)启动 Kafka-connector 服务。具体操作,请参见 配置并启动Kafka-connector服务。说明 若 Kafka-...

代理配置

config.setNoProxy("127.0.0.1,localhost");com.aliyun.ecs20140526.Client client = new com.aliyun.ecs20140526.Client(config);运行时参数设置,仅对使用了该运行时参数实例的请求有效 RuntimeOptions runtimeOptions=new ...

调用 dblink_ora 函数

以下命令使用 dblink_ora_connect()函数建立连接:SELECT dblink_ora_connect('acctg','localhost','xe','hr','pwd',1521);该示例使用用户名 hr 和密码 pwd 连接到名为 xe 的服务,该服务在端口 1521(位于 localhost)上运行。在调用其他 ...

本地运行

http://localhost:8080 http://localhost:8341/webapi/users/aliBaby说明 URL 中的 aliBaby 部分,可自定义添加。编译运行 Core 工程 下载示例 Demo 请单击下载示例工程:coresofademo.zip。本地 IDE 运行 主要操作步骤如下:在工程根目录下...

集成 SOFARPC RESTful 服务和 Swagger

访问 http://localhost:8341/swagger/openapi即可获取 SOFARPC 的 RESTful 的 Swagger OpenAPI 内容。不使用 rpc-sofa-boot-starter 或版本低于 6.0.1 如果没有使用 rpc-sofa-boot-starter 或者 rpc-sofa-boot-starter 的版本低于 6.0.1,...

ListMetaDB

Location String hdfs:/localhost:777/user/hadoop/test.txt 存储数据库的地址。示例 请求示例 http(s):/[Endpoint]/?Action=ListMetaDB&ProjectId=123&DataSourceType=emr&PageNum=1&PageSize=10&ClusterId=abc&公共请求参数 正常返回示例...

HTTP请求和响应的压缩传输

builder.requestURL("http://localhost:8086/CSB")/设置CSB服务地址。CSB服务地址即创建该实例时绑定的SLB的地址。api("http2http1")/设置服务名。version("1.0.0")/设置版本号。method("post")/设置调用方式,get或post。accessKey("ak")....

代理配置

代理设置 HttpProxy:tea.String("http://127.0.0.1:9898"),HttpsProxy:tea.String("http://user:password@127.0.0.1:8989"),NoProxy:tea.String("127.0.0.1,localhost"),} client,_err:=ecs20140526.NewClient(config)if_err!nil { panic...

DescribeImageGatewayConfig-查询镜像网关配置文件

mongodb:/localhost DefaultImageLocation string 默认仓库源址。registry-1.docker.io PullUpdateTimeout long 拉取镜像的时间限制。300 Locations object[]仓库源址数组。URL string 仓库源址 URL。https://regi*.docker-...

Redis数据源

`value0` STRING,`key1` STRING,`value1` STRING)USING redis OPTIONS(table="test",redis.save.mode="append",model="hash",filter.keys.by.type="false",key.column="uuid",max.pipeline.size="100",host="localhost",port="6379",dbNum=...

管理线下IDC的数据接入任务

root 461050 460640 0 15:46 pts/0 00:00:00./redis_exporter-redis.addr localhost:6379-web.listen-address localhost:9121 root 461166 461128 0 15:47 pts/5 00:00:00 grep-color=auto redis_exporter 创建数据接入任务。登录 云监控...

OkHttp 埋点接入

Request http://localhost:8081/okhttp?name=sofa*@param name name*@return Map of Result*/RequestMapping("/okhttp")public Map,Object>greeting(@RequestParam(value="name",defaultValue="okhttp")String name){ Map,Object>map=new ...

内置平台模型使用说明

ERROR 1142(42000):SELECT command denied to user 'normal'@'localhost' for table 'func' mysql>create function myfunc_int returns int soname 'udf_example.so';Query OK,0 rows affected(0.01 sec)mysql>select myfunc_int(1);myfunc...

创建和删除索引

HBase Ganos会根据GeoJson格式所描述的数据类型自动...Curl \ 'localhost:8080/geoserver/geomesa/geojson/index/my_ds/my_index-d id=properties.id \-d points=true \-d date=properties.dtg \-d attr=properties.name \-d compression=gz

搭建Linux环境GRID驱动的License Server

说明 请将访问地址中的 localhost 替换为您的ECS实例的公网地址。如果显示如下内容,表示Tomcat服务已安装完成。步骤四:安装License Server软件 您需要准备提前获取到的setup.bin安装文件或该文件所在的.zip压缩包。下载setup.bin安装程序...

DST 埋点上报

charset=UTF-8")public interface SampleRestFacade {/*http://localhost:8341/sofarest/hello*/GET@Path("/hello")String hello();} 启动应用。您可以在本地浏览器访问 http://localhost:8341/sofarest/hello。查看服务端展示。您可以通过...

开源Elasticsearch FAQ

curl-XPOST 'localhost:9200/_cluster/reroute'-d '{"commands":[{"move":{"index":"test","shard":0,"from_node":"node1","to_node":"node2"} },{"allocate":{"index":"test","shard":1,"node":"node3"} }]}' 索引查询时,提示 statusCode...

导入模型使用说明

ERROR 1142(42000):SELECT command denied to user 'normal'@'localhost' for table 'func' mysql>create function myfunc_int returns int soname 'udf_example.so';Query OK,0 rows affected(0.01 sec)mysql>select myfunc_int(1);myfunc...

Schema Registry管理

SuppressWarnings("InfiniteLoopStatement")public static void main(final String[]args)throws IOException { if(args.length){/Backwards compatibility,assume localhost props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG,...

使用mysqldump将自建MariaDB数据库迁移上云

mysqldump-h localhost-u<本地数据库用户名>-p-opt-default-character-set=utf8-hex-blob<想要迁移的数据库名>-R|sed-e 's/DEFINER[]*=[]*[^]*\*/\*/'>/tmp/<想要迁移的数据库名>_trigger.sql 示例 mysqldump-h localhost-u user-p-opt-...

基于 libmosquitto 集成安全 Agent 最佳实践

使用 cmake 构建上面的 Demo 工程,产生可执行程序 aliot_security_demo:[root@localhost security]#cmake CMakeLists.txt.[root@localhost security]#make[100%]Built target aliot_security_demo[root@localhost security]#./aliot_...

Canal插件

1001 cursor:[log.000001,30467,1595986204000,1,]address[localhost/127.0.0.1:3306]2020-07-29 09:30:16.546-clientId:1001 cursor:[log.000001,30734,1595986215000,1,]address[localhost/127.0.0.1:3306]2020-07-29 09:30:36.547-...

快速开始

如果浏览器打开 localhost:8001/,显示并没有此服务,可能是您的电脑并未配置hosts localhost指向 127.0.0.1,可以在Chrome浏览器中访问 127.0.0.1:8001/来预览组件。第一次打开时可能会遇到 https 证书问题,请参见 常见问题。打开本地...

基于 libmosquitto 集成安全 Agent 最佳实践

cd Mosquitto[root@localhost Mosquitto]#cmake CMakeLists.txt-WITH_DLT=OFF-Could NOT find cJSON(missing:CJSON_INCLUDE_DIR CJSON_LIBRARY)-Optional dependency cJSON not found.Some features will be disabled.-Configuring done-...

基于加密服务的SSL安全卸载

server_name localhost;use tasshsm engine by key index ssl_certificate/home/tass/tassl/cert/rsa/S_RSA_HSM.crt;配置RSA证书文件。ssl_certificate_key engine:tasshsm_rsa:15;配置存储RSA私钥的索引号。ssl_verify_client off;for one...

Spring Cloud OpenFeign 埋点接入

在工程的 application.properties 文件下添加相关参数 spring.application.name=tracer-provider server.port=8800 spring.cloud.zookeeper.connect-string=localhost:2181 spring.cloud.zookeeper.discovery.enabled=true spring.cloud....

在DataLake集群自建Hue组件

GRANT ALL on hue.*to 'hue'@'localhost' IDENTIFIED BY '*';FLUSH PRIVILEGES;说明 示例中的*为新增hue账号的密码,请您自行修改。进入$hue_dir/hue-release-4.10.0/desktop/conf目录,将pseudo-distributed.ini.tmpl复制为pseudo-...

SQL Detail

select*from sys.hist_sqldetail\G 执行结果如下:*1.row*Id:1 State:FINISH Thread_id:18 Host:localhost User:root Client_ip:127.0.0.1 Db:test Sql_text:create table t(c1 int)Server_command:Query Sql_command:create_table Start_...

数据面常见问题

本文介绍MSHA数据面的常见...routeIdSources=[arg,header,cookie],routeIdKey='key123yyybbbb'}},httpHeader:{host=localhost:7004,user-agent=curl/7.54.0,accept=*/*,key123yyybbbb=JoeHeader},httpCookie:{} 2021-05-13 15:12:39,751 INFO ...

CoreDNS配置说明

ACS默认使用CoreDNS作为DNS服务器,本文介绍CoreDNS的常见插件和各应用场景下配置说明。需要说明的是,目前CoreDNS为托管版本,相关配置,也对用户不可见。场景说明 本文示例场景:使用ACS集群提供的CoreDNS来做域名解析,即使用 dnsPolicy...

如何安装和配置Windows Exporter

即执行命令 curl localhost:{监听端口}/metrics 或者通过浏览器访问 localhost:{监听端口}/metrics,观察是否有正常的Prometheus Metric返回。如果有正常的Metric返回,说明Exporter已正常工作。监听端口:需要替换为您实际的监听端口。...

接入Http Client

说明 AHAS默认会提取Http Method与URL以 okhttp:${httpMethod}:${url} 的模式拼接作为资源名,如 okhttp:GET:http://localhost:8088/hello。您也可以在创建 SentinelOkHttpInterceptor 时在 SentinelOkHttpConfig 中自定义解析资源名的逻辑...

如何安装和配置Windows Exporter

即执行命令 curl localhost:{监听端口}/metrics 或者通过浏览器访问 localhost:{监听端口}/metrics,观察是否有正常的Prometheus Metric返回。如果有正常的Metric返回,说明Exporter已正常工作。监听端口:需要替换为您实际的监听端口。...

组件开发快速入门

如果浏览器打开localhost:1111/,显示并没有此服务,可能是您的电脑并未配置hosts localhost指向127.0.0.1,可以在Chrome浏览器中访问127.0.0.1:1111/来预览组件。组件预览成功后的效果如下图所示。预览页主要分为中心画布区,底部工具栏和...

组件开发快速入门

如果浏览器打开localhost:1111/,显示并没有此服务,可能是您的电脑并未配置hosts localhost指向127.0.0.1,可以在Chrome浏览器中访问127.0.0.1:1111/来预览组件。组件预览成功后的效果如下图所示。预览页主要分为中心画布区,底部工具栏和...

同步数据到数据表

especially#the `bootstrap.servers` and those specifying replication factors.#A list of host/port pairs to use for establishing the initial connection to the Kafka cluster.bootstrap.servers=localhost:9092#unique name for ...

从自建PostgreSQL迁移至PolarDB PostgreSQL版

自建PostgreSQL数据库的连接地址,本机可使用 localhost。数据库服务的端口号。生成的备份文件名称。示例:pg_dumpall-U postgres-h localhost-p 5432-r-f roleinfo.sql 命令行提示 Password:时,输入数据...

考生端、监考端集成示例源码

pagePath 当前页面的域名+路径,主要应用于主机位页面(src->pages->pc)本地开发调试时,设置进入考生移动端二维码的URL,当域名为localhost或127.0.0.1时,将自动替换为此配置值,其他情况则使用当前的origin+pathname。aliyunUid 开通...

alicloud_bastionhost_hosts

(Optional,ForceNew)Specify the new create a host of source.Valid values:Local:localhost Ecs:ECS instance Rds:RDS exclusive cluster host.source_instance_id-(Optional,ForceNew)Specify the newly created ECS instance ID or ...
共有18条 < 1 2 3 4 ... 18 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用