필터 지우기
필터 지우기

Login information asked every sesion Matlab Drive Connector

조회 수: 22 (최근 30일)
Juan Miguel Serrano Rodríguez
Juan Miguel Serrano Rodríguez 2021년 2월 11일
답변: Shubham Khatri 2021년 2월 22일
Hi, I'm using a linux system based on Ubuntu, every time I reboot my computer and start de MATLAB Connector it asks me for the login information. Here is the logging file in case it may be helpful:
00000002 2021-02-11 11:29:47 0x00007f7bf4626700 cppmicroservices::install W file not found: /home/jmserrano/.MATLABConnector/v1.6.1.2/p-jmserrano/bin/glnxa64/spf/servicedependencies
00000003 2021-02-11 11:29:47 0x00007f7bf4626700 cppmicroservices::install W file not found: /home/jmserrano/.MATLABConnector/v1.6.1.2/p-jmserrano/bin/glnxa64/spf/clients
00000004 2021-02-11 11:29:47 0x00007f7bf4626700 agent::mathworkscredentials E Failed to read token from config
00000005 2021-02-11 11:29:48 0x00007f7bf4626700 fl::log I Diagnostic logging specification: .*=fatal,critical,error,warning
00000006 2021-02-11 11:29:48 0x00007f7b9dd5b700 storage::syncservice E LoginToken is uninitialized
00000007 2021-02-11 11:29:49 0x00007f7b9bd57700 agent::spf::framework W Service started notification for a service which still has a valid invokable!
00000008 2021-02-11 11:29:49 0x00007f7b9a450700 agent::spf::framework W Service started notification for a service which still has a valid invokable!
00000009 2021-02-11 11:29:57 0x00007f7b98c4d700 agent::core::serviceutils W Failed to deregister callback: Service is not accepting work e92da77e-81ed-432f-91fa-910f0bce5e8b:256:e891a4c8-e79e-46fb-854a-a94b38a0>

답변 (1개)

Shubham Khatri
Shubham Khatri 2021년 2월 22일
Hello,
MATLAB Connector now stores the user credentials secured using the system keychain. There are a few things that could have gone wrong, which might have caused the above problem.
  • MATLAB Connector tries to connect to the system keychain, if that fails the credentials are not persisted.
  • If we connect, the system keychain might be locked, and a pop-up should ask the user to unlock the keychain. This is a system pop-up (we don't control it), and it might appear in a different screen if the user has many screens (e.g., using VNC).
  • If we get access to the keychain, we use that to read an encrypted file located in
~/.MATLABConnector/<hostname>/services/credentials
  • If that files got corrupted, we won't be able to read/write the credentials.
About this error, it is normal.
00000004 2021-02-11 11:29:47 0x00007f7bf4626700 agent::mathworkscredentials E Failed to read token from config
MATLAB try to read a credential from the old system and update it to the new system. If there's not credentials in the old system you would see this message. This is not an actual error.
You can try the following thing to resolve the issue.
the easiest is to remove the
~/.MATLABConnector/<hostname>/services/credentials,
and try again.
If that fails, the next step would be checking the system keychain, this can be done using the Seahorse software (which should ship with Ubuntu). For using Seahorse, please refer to this link.
In the default keychain (usualy called Login), there should be an entry called MathWorks Key. If there no such entry that means we couldn't communicate with the system keychain.Also, while in seahorse, it would be useful to know the name of the default keychain and whether it's locked of not (a little lock symbol next to the keychain name), if there's only one MathWorks Key entry, or many. If there are many entries, its a flag about the problem.
Hope it helps

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by