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

Can't refresh charts or add USB Dogle #44

Open
sailing12388 opened this issue Jan 5, 2024 · 13 comments
Open

Can't refresh charts or add USB Dogle #44

sailing12388 opened this issue Jan 5, 2024 · 13 comments

Comments

@sailing12388
Copy link

I have two Debian 12 systems running OpenCPN 5.8.4 with o-charts plugin 2.0.1.9. One system works perfectly with both a dongle and a simple fingerprint.

The other system fails to see the dongle (it does show in the system) and will not accept the username/password when I try to refresh the charts (even though the list of charts show).

I've completely deleted the OpenCPN settings and reset everything and still have the same issue.

The two errors I get are
"USB key dongle not detected"

and (when trying to refresh the chart list)
"o-Charts shop interface error 3f void password"

@bdbcat
Copy link
Owner

bdbcat commented Jan 5, 2024

On the system failing to detect dongle:
Please try:
$sudo apt install libusb-0.1-4

On the password:
Are you using any "special" characters? Best with plain ASCII

@sailing12388
Copy link
Author

sailing12388 commented Jan 5, 2024

libusb-0.1-4 is installed. I get this in dmseg:

[2830923.060252] usb 4-2: new full-speed USB device number 13 using xhci_hcd
[2830923.225016] usb 4-2: New USB device found, idVendor=1547, idProduct=1000, bcdDevice= 0.01
[2830923.225023] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[2830923.225025] usb 4-2: Product: SG-Lock USB Key
[2830923.225026] usb 4-2: Manufacturer: SG-Lock

I've changed the password to a very basic text only one.

@bdbcat
Copy link
Owner

bdbcat commented Jan 5, 2024

Please try:
$~/.local/bin/oexserverd -a

@sailing12388
Copy link
Author

blank

@bdbcat
Copy link
Owner

bdbcat commented Jan 5, 2024

Not like this?

dsr@debian:~/Projects/opencpn/build$ ~/.local/bin/oexserverd -a
dsr@debian:~/Projects/opencpn/build$ oexserverd Version 1.21

@sailing12388
Copy link
Author

I get that on the system that works but not on the other one.

ray@XPS13:~$ /.local/bin/oexserverd -a
ray@XPS13:
$ oexserverd Version 1.21

@bdbcat
Copy link
Owner

bdbcat commented Jan 5, 2024

$ ls -l ~/.local/bin

@sailing12388
Copy link
Author

-rw-r--r-- 1 xps xps 37586 Dec 20 21:08 libsgllnx64-2.29.02.so
-rwxr-xr-x 1 xps xps 125432 Dec 20 21:08 oexserverd

@bdbcat
Copy link
Owner

bdbcat commented Jan 5, 2024

$ ldd ~/.local/bin/oexserverd

@sailing12388
Copy link
Author

    linux-vdso.so.1 (0x00007ffcef4e8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007feb7d339000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007feb7d334000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007feb7cc00000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007feb7d314000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feb7ce1f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007feb7d233000)
/lib64/ld-linux-x86-64.so.2 (0x00007feb7d356000)

@bdbcat
Copy link
Owner

bdbcat commented Jan 5, 2024

Is this the same issue resolved here?
https://www.cruisersforum.com/forums/f134/o-charts-frustrations-282532-2.html#post3857312

If so, please close.

@tmaczukin
Copy link

@dbdcat I'm seeing the same problem with password as sailing12388 did.

OpenCPN version 5.8.4

o-charts plugin version 2.0.6.0

My password contains only ASCII characters and works without problems in the o-charts.org shop! Yet, I still get

o-Charts shop interface error 3f void password

when providing my credentials on charts refresh.

@tmaczukin
Copy link

Okay, following the suggestion from #48 (comment) (previously I've ignored this issue as I'm not using the USB dongle on this system) I decided to give it a shot and I've stopped and removed all containers and networks created by Docker. And now communication with the shop passed without any further problems.

So something is definitely wrong here 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants