简体   繁体   English

Flex错误Server.Acknowledge.Failed:未收到确认消息

[英]Flex error Server.Acknowledge.Failed: Didn't receive an acknowledge message

I'm having a very strange behavior with a C# class 'Digital', mapped to an AS3 class (Flex) with the same name, using FluorineFx. 我在使用C#类“数字”时有一个非常奇怪的行为,该类使用FluorineFx映射到了具有相同名称的AS3类(Flex)。

This class (C#) has a FluorineFx.AMF3.ByteArray field, mapped with a ByteArray property in AS3, it's purpose is transmit binary files stored in databases. 此类(C#)具有FluorineFx.AMF3.ByteArray字段,该字段与AS3中的ByteArray属性映射,其目的是传输存储在数据库中的二进制文件。

Sometimes (not always) I'm receiving this error: "Server.Acknowledge.Failed - Didn't receive an acknowledge message - Was expecting mx.messaging.messages.AcknowledgeMessage, but received null." 有时(并非总是),我收到此错误:“ Server.Acknowledge.Failed-未收到确认消息-预期为mx.messaging.messages.AcknowledgeMes​​sage,但收到null。” This error never occurs in development machines, just in clients over the network. 仅在通过网络的客户端中,此错误永远不会在开发计算机中发生。

Debbuging with Firebug/FlashFirebug, this exception is thrown randomically: 使用Firebug / FlashFirebug调试时,会随机抛出此异常:

RangeError: Error #2006: The supplied index is out of bounds. RangeError:错误#2006:提供的索引超出范围。 at ObjectInput/readObject() at mx.collections::ArrayList/readExternal()[E:\\dev\\hero_private\\frameworks\\projects\\framework\\src\\mx\\collections\\ArrayList.as:593] at mx.collections::ArrayCollection/readExternal()[E:\\dev\\hero_private\\frameworks\\projects\\framework\\src\\mx\\collections\\ArrayCollection.as:149] 在mx.collections :: ArrayList / readExternal()处位于ObjectInput / readObject()[在Ex:\\ dev \\ hero_private \\ frameworks \\ projects \\ framework \\ src \\ mx \\ collections \\ ArrayList.as:593]在mx.collections :: ArrayCollection /readExternal()[E:\\dev\\hero_private\\frameworks\\projects\\framework\\src\\mx\\collections\\ArrayCollection.as:149]

This is driving me crazy, I know generally this is caused by a mapping mistake, but if it's the case, it should ocurrs always and everywhere. 这让我发疯,我通常知道这是由映射错误引起的,但是如果是这样,它应该在所有地方都发生。

Any help I will appreciate. 任何帮助,我将不胜感激。

Ok, I'm embarrassed, but maybe this could help somebody else: the real problema was the Firewall in those machines. 好的,我很尴尬,但这也许可以帮助其他人:真正的问题是那些机器上的防火墙。 In some cases, Personal ZoneAlarm and in others, Windows Firewall. 在某些情况下,使用Personal ZoneAlarm,在其他情况下,使用Windows防火墙。 It really makes sense because the response with binary files embebed should be interrupted to protect the clients. 这确实是有道理的,因为应该中断嵌入二进制文件的响应以保护客户端。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 TcpListener不会确认连接 - TcpListener won't acknowledge connections 当客户端花费60秒以上的时间来确认消息时,Rabbitmq服务器将断开连接 - Rabbitmq server drops connection when client takes more than 60 seconds to acknowledge a message 在客户端已完全处理消息时进行确认。 的RabbitMQ - Acknowledge when the client has completely processed the message. Rabbitmq 确认和例外但仍然继续 - Acknowledge and Exception but continue anyway 确认使用MongoDB进行“批量”写入 - Acknowledge a 'batch' of writes with MongoDB XMS MQ client_acknowledge-分别确认消息 - XMS mq client_acknowledge - acknowledge separately messages 是否可以手动确认TCP数据包? - Is it possible to acknowledge TCP packet manually? Apache 使用ActiveMQ 的NMS:如何使用事务确认模式,但每次仍然确认/回滚单个消息? - Apache NMS using ActiveMQ: How do I use transactional acknowledge mode but still acknowledging/rolling back a single message every time? 激活Windows应用商店应用...失败,错误“应用未启动” - Activation of the Windows Store app … failed with error 'The app didn't start' 为什么客户端无法使用NetMQ框架从服务器接收消息? - Why the client cann't receive message from server with NetMQ framework?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM