Ticket #289 (new defect)

Opened 7 months ago

Last modified 6 months ago

Unknown AMF3 type 0xa8

Reported by: thijs Owned by: nick
Priority: major Milestone: Flex Messaging
Component: AMF3 Version: 0.3.1
Keywords: Cc:

Description (last modified by thijs) (diff)

The runtimeconfig-messaging-response1.amf3, console-response1.amf3, runtimeconfig-remoting-response.amf3, runtimeconfig-remoting-response2.amf3 and dashboard-response1.amf3 dumps throw the following error with the parse_dump tool using the fds branch, works fine with Charles 3.2.1.

Traceback (most recent call last):
  File "parse_dump.py", line 76, in <module>
    main()
  File "parse_dump.py", line 56, in main
    request = remoting.decode(body)
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/remoting/__init__.py", line 532, in decode
    target, payload = _read_body(stream, decoder, strict)
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/remoting/__init__.py", line 376, in _read_body
    data = decoder.readElement()
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/__init__.py", line 487, in readElement
    return func()
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/amf0.py", line 322, in readAMF3
    element = decoder.readElement()
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/__init__.py", line 487, in readElement
    return func()
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/amf3.py", line 1115, in readObject
    obj.__readamf__(DataInput(self))
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/flex/messaging.py", line 142, in __readamf__
    self._message = input.readObject()
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/amf3.py", line 420, in readObject
    return self.decoder.readElement()
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/__init__.py", line 478, in readElement
    type = self.readType()
  File "/Users/thijstriemstra/Sites/pyamf/pyamf/branches/fds/pyamf/amf3.py", line 877, in readType
    raise pyamf.DecodeError, "Unknown AMF3 type 0x%02x at %d" % (type, self.stream.tell() - 1)
pyamf.DecodeError: Unknown AMF3 type 0xa8 at 104

Change History

Changed 7 months ago by thijs

  • description modified (diff)
  • summary changed from Unknown AMF3 type 0xa8 at 104 to Unknown AMF3 type 0xa8

Changed 7 months ago by thijs

  • description modified (diff)

Changed 7 months ago by thijs

  • description modified (diff)

Changed 7 months ago by thijs

  • description modified (diff)

Changed 6 months ago by thijs

Looks like this problem is gone with a later revision of the fds branch. Charles shows it's a DSK class related error, see ticket #284.

Changed 6 months ago by thijs

  • milestone changed from 0.3.2 to Flex Messaging
Note: See TracTickets for help on using tickets.