当前位置:网站首页>Channel shutdown: channel error; protocol method: #method<channel. close>(reply-code=406, reply-text=
Channel shutdown: channel error; protocol method: #method<channel. close>(reply-code=406, reply-text=
2022-07-27 01:01:00 【hayhead】
Complete error
CachingConnectionFactory.java:1278 - Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - unknown delivery tag 1, class-id=60, method-id=80)
reason : Consumers have ack confirm , and spring-boot-starter-amqp The default is Automatically sign in information The way , The consumption result was signed twice , It is written in our code to sign in manually , But the system also signs automatically once , So I thought about whether it is necessary to configure rabbitmq Manually sign , The automatic signing function will not be triggered
channel.basicAck(message.getMessageProperties().getDeliveryTag(), true);
resolvent : Remove the automatic sign in function
spring:
rabbitmq:
host: 127.0.0.1
port: 5672
username: guest
password: guest
# Consumer configuration
listener:
simple:
# Automatic sign in auto Manual manual
acknowledge-mode: manual
边栏推荐
猜你喜欢

Use csrftester to automatically detect CSRF vulnerabilities

Spark----- RDD 的 Shuffle 和分区
![[By Pass] WAF 的绕过方式](/img/dd/7204b2401a9f18c02c8b9897258905.png)
[By Pass] WAF 的绕过方式
![[By Pass] 文件上传的绕过方式](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[By Pass] 文件上传的绕过方式

Flink 1.15实现 Sql 脚本从savepointh恢复数据
![[CTF 真题] 2018-网鼎杯-Web-Unfinish](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[CTF 真题] 2018-网鼎杯-Web-Unfinish

MySQL8.0中的隐藏索引和降序索引(新特性)

Rabbit学习笔记

flink需求之—ProcessFunction(需求:如果30秒内温度连续上升就报警)

Checked status in El checkbox 2021-08-02
随机推荐
flink1.11 sql本地运行demo & 本地webUI可视解决
Status management in Flink
flink需求之—SideOutPut(侧输出流的应用:将温度大于30℃的输出到主流,低于30℃的输出到侧流)
Data warehouse knowledge points
flink需求之—ProcessFunction(需求:如果30秒内温度连续上升就报警)
[ciscn2019 North China Day1 web5] cyberpunk
MySQL第二篇
通过FlinkCDC将MySQL中变更的数据写入到kafka(DataStream方式)
Detailed explanation of CSRF forged user request attack
Deep understanding of golang - closures
2022.7.14DAY604
Spark source code learning - memory tuning
Designer mode
Checked status in El checkbox 2021-08-02
Export and import in ES6
Canal 介绍
Iptables 详解与实战案例
[红明谷CTF 2021]write_shell
Spark on yarn's job submission process
Flink's fault tolerance mechanism (checkpoint)