无法通过 EasyNetQ 连接 RabbitMQ,拒绝用户访客访问

编程入门 行业动态 更新时间:2024-10-27 10:19:19
本文介绍了无法通过 EasyNetQ 连接 RabbitMQ,拒绝用户访客访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

收到一个对我来说没有意义的奇怪错误.

Getting a strange error that doesn't make sense to me.

RabbitMQ 拒绝允许从在特定机器上使用 EasyNetQ 的 .Net 应用程序访问,但它在另一台机器上运行良好.

RabbitMQ is refusing to allow access from a .Net application using EasyNetQ on a particular machine, when it works fine on another machine.

客户端应用清楚地解析了 DNS,权限是完全开放的,并且可以在另一种情况下使用.

The client app clearly resolves DNS, permissions are wide open, and it works in another situation.

这是一个开箱即用的rabbitmq安装.

This is an out of the box rabbitmq installation.

RabbitMQ 在 Linux Amazon 实例上运行,而客户端在 Windows Server 2008 Amazon 实例上运行,并且它在 Windows 8 桌面上运行.

RabbitMQ is running on a Linux Amazon Instance, while the client is running on a Windows Server 2008 Amazon instance, and it works from a Windows 8 desktop.

我得到:

=错误报告==== 2-Jul-2013::11:54:04 ===关闭 AMQP 连接 <0.1145.22> (107.23.30.43:62815 -> 10.125.160.196:5672):{handshake_error,opening,0,{amqp_error,access_refused,"用户 'guest' 拒绝访问 vhost '/\r\n '",'connection.open'}}

=ERROR REPORT==== 2-Jul-2013::11:54:04 === closing AMQP connection <0.1145.22> (107.23.30.43:62815 -> 10.125.160.196:5672): {handshake_error,opening,0, {amqp_error,access_refused, "access to vhost '/\r\n ' refused for user 'guest'", 'connection.open'}}

有什么想法吗?

谢谢,

丹尼尔

推荐答案

可能,'/\r\n' 应该只是 '/',除非你明确在名称中使用特殊符号创建这样的虚拟主机.检查您的连接参数.

Probably, '/\r\n' should be just '/', unless you explicitly create such vhost with special symbols in name. Check your connection params.

这篇关于无法通过 EasyNetQ 连接 RabbitMQ,拒绝用户访客访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-25 17:36:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1120973.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:访客   用户   EasyNetQ   RabbitMQ

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!