Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTI Login Failure After NethVoice Module Move #7258

Open
Amygos opened this issue Jan 15, 2025 · 0 comments
Open

CTI Login Failure After NethVoice Module Move #7258

Amygos opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
nethvoice Bug or features releted to the NethVoice project nethvoice-cti The issue is related to NethLink (NethVoice Web client)
Milestone

Comments

@Amygos
Copy link
Member

Amygos commented Jan 15, 2025

The CTI application, part of the NethVoice module, fails to allow user login
after the module has been successfully moved to a new node. The issue arises
despite the phones registering correctly after reset and provisioning. During
the move, the hostname assigned to the CTI was also changed to match the
client's domain.

Steps to reproduce

  • Move the NethVoice module to a new node without modifying any parameters.
  • After the move, update the hostname assigned to the CTI to match the
    client's domain.
  • Attempt to log in to the CTI application.

Expected behavior
The CTI application should allow successful login after the module move and
hostname update.

Actual behavior
The CTI application fails to allow login, entering an infinite loop and not
completing the login process.

Components

  • ns8-nethvoice

Fix
The issue was resolved by restarting the nethcti-server and nethcti-ui
services, which triggered the correct regeneration of the
/app/public/config/config.production.js file. Specifically, the steps taken
were:

  • Restart the services using the command: systemctl --user restart nethcti-server nethcti-ui
  • After the restart, the /app/public/config/config.production.js file was
    correctly regenerated with the intended API_ENDPOINT value, resolving the
    login issue.

See also

Acknowledgements Thanks to especially @charliewhiting and @tonyco97 , for
their assistance in diagnosing and resolving the issue related to the CTI
login failure after the NethVoice module move.

@Amygos Amygos added nethvoice Bug or features releted to the NethVoice project nethvoice-cti The issue is related to NethLink (NethVoice Web client) labels Jan 15, 2025
@Amygos Amygos added this to the NethVoice 1.2 milestone Jan 15, 2025
@Amygos Amygos self-assigned this Jan 15, 2025
@Amygos Amygos moved this from Todo to In Progress in NethVoice Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nethvoice Bug or features releted to the NethVoice project nethvoice-cti The issue is related to NethLink (NethVoice Web client)
Projects
Status: In Progress
Development

No branches or pull requests

1 participant