Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 710
    • Issues 710
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 58
    • Merge requests 58
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • TrytonTryton
  • TrytonTryton
  • Issues
  • #10154
Closed
Open
Issue created Mar 05, 2021 by Cédric Krier@cedOwner

Renew device cookie fails randomly

Randomly I see such traceback:

ERROR:tryton.device_cookie:Cannot renew device cookie
Traceback (most recent call last):
  File "/home/ced/Projects/trunk/incoterm/tryton/tryton/device_cookie.py", line 22, in set_cookie
    new_cookie = new_cookie()
  File "/home/ced/Projects/trunk/incoterm/tryton/tryton/common/common.py", line 1077, in return_
    raise self.exception
  File "/home/ced/Projects/trunk/incoterm/tryton/tryton/common/common.py", line 1028, in start
    self.res = getattr(rpc, self.method)(*self.args)
  File "/home/ced/Projects/trunk/incoterm/tryton/tryton/rpc.py", line 122, in execute
    result = getattr(conn, name)(*args)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__
    return self.__send(self.__name, args)
  File "/home/ced/Projects/trunk/incoterm/tryton/tryton/jsonrpc.py", line 268, in __request
    response = self.__transport.request(
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1153, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1165, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1266, in send_request
    connection = self.make_connection(host)
  File "/home/ced/Projects/trunk/incoterm/tryton/tryton/jsonrpc.py", line 225, in make_connection
    http_connection()
  File "/home/ced/Projects/trunk/incoterm/tryton/tryton/jsonrpc.py", line 193, in http_connection
    sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
AttributeError: 'NoneType' object has no attribute 'setsockopt'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking