Skip to content

Y2038 and timestamp failed ValueRangeConstraint #231

Description

@geotransformer

Clock forwarded to 2038 for Y2038 testing

App cannot start with below error.

{"written_at": "2038-01-30T09:41:33.477Z", "written_ts": 2148457293477531000, "msg": "Uncaught exception -- MIB module "/usr/local/lib/python3.8/dist-packages/pysnmp/smi/mibs/instances/__SNMP-FRAMEWORK-MIB.py" load error: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.8/dist-packages/pyasn1/type/constraint.py", line 32, in call\n    self._testValue(value, idx)\n', '  File "/usr/local/lib/python3.8/dist-packages/pyasn1/type/constraint.py", line 245, in _testValue\n    raise error.ValueConstraintError(value)\n', 'pyasn1.type.error.ValueConstraintError: 2148457293\n', '\nDuring handling of the above exception, another exception occurred:\n\n', 'Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.8/dist-packages/pyasn1/type/constraint.py", line 32, in call\n    self._testValue(value, idx)\n', '  File "/usr/local/lib/python3.8/dist-packages/pyasn1/type/constraint.py", line 697, in _testValue\n    constraint(value, idx)\n', '  File "/usr/local/lib/python3.8/dist-packages/pyasn1/type/constraint.py", line 35, in call\n    raise error.ValueConstraintError(\n', 'pyasn1.type.error.ValueConstraintError: <ValueRangeConstraint object, consts -2147483648, 2147483647>

pyasn1>=0.4.8
pysnmp>=4.4.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions