Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
X xlte
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • xlte
  • Merge requests
  • !10

Closed
Created Dec 20, 2024 by Joanne Hugé@jhuge
  • Report abuse
Report abuse

xlte: fix password connection

  • Overview 4
  • Commits 1
  • Changes 3

Hello @kirr , in a recent commit of simpleran software release I added a password to the lteenb websocket: nexedi/slapos@77c00979

Since then the xlog service has stopped working correctly with the following error:

{"meta": {"event": "service detach", "time": 1734710968.4153636, "srv_name": "ENB", "srv_type": "ENB", "srv_version": "2024-11-21", "reason": "handshake: service requires authentication, but no password provided"}}

After a bit of debugging I found out that there are several calls to amari.connect but the password is given in parameter in only one of those call, which explains the error above.

I included the password in all "amari.connect" calls and it looks like xlog is working correctly with this commit.

I am not sure if this commit breaks anything or if this is the right way to do it as I didn't spend too much time checking the code, when you have time could you please review ?

Thank you, Joanne

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: xlog-password
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7