wavelog: LoTW upload failed: Signing failed
Describe the bug
My LoTW account won’t update any new QSOs.
Cron works normally. If I click ‘Manual Sync’, it shows ‘Signing failed.’.
Version Information
- OS: Rocky Linux 9.2 Apache/2.4.57 (Rocky Linux) OpenSSL/3.0.7
- PHP: 8.2.13
- MySQL/MariaDB: 10.5.22-MariaDB
- Wavelog: 1.6
- tQSL 2.7.3
Additional Context
I’ve uploaded tQSL to latest version (2.7.3), re-exported my callsign certificate and uploaded it to Wavelog. It still shows the same.
After some searching, the message is at
If I’m right, Wavelog searches the ADIF file, if it contains <SIGN_LOTW_V2.0:1:6>, it stops uploading.
I print the $adif_to_save variable in the context and found every QSOs in the file contains <SIGN_LOTW_V2.0:1:6>.
// $adif_to_save variable
<TQSL_IDENT:54>TQSL V2.5.4 Lib: V2.5 Config: V11.12 AllowDupes: false
<Rec_Type:5>tCERT
<CERT_UID:1>1
<CERTIFICATE:1654>MIIEwDCCA6igAwIBAgIDCse1...............QEBCwUAMIHYMQswCQYDVQQGEwJV
.....
<EOR>
<Rec_Type:8>tSTATION
<STATION_UID:1>1
<CERT_UID:1>1
<CALL:6>BG2ELG
<DXCC:3>318
<GRIDSQUARE:6>PN17wd
<ITUZ:2>33
<CQZ:2>24
<IOTA:0>
<EOR>
<Rec_Type:8>tCONTACT
<STATION_UID:1>1
<CALL:6>YE1...
<BAND:3>20M
<MODE:3>FT8
<FREQ:9>14.076256
<FREQ_RX:1>0
<QSO_DATE:10>2024-07-09
<QSO_TIME:9>09:44:30Z
<SIGN_LOTW_V2.0:1:6>
<SIGNDATA:51>24PN17WD.....YE1...14.0762560FT82024-07-0909:44:30Z
<EOR>
<Rec_Type:8>tCONTACT
<STATION_UID:1>1
<CALL:6>VK7...
<BAND:3>20M
<MODE:3>FT8
<FREQ:9>14.076256
<FREQ_RX:1>0
<QSO_DATE:10>2024-07-09
<QSO_TIME:9>09:43:30Z
<SIGN_LOTW_V2.0:1:6>
<SIGNDATA:51>24PN17WD.....VK7...14.0762560FT82024-07-0909:43:30Z
<EOR>
<Rec_Type:8>tCONTACT
<STATION_UID:1>1
<CALL:6>BG4...
<BAND:3>20M
<MODE:3>FT8
<FREQ:9>14.076197
<FREQ_RX:1>0
<QSO_DATE:10>2024-07-09
<QSO_TIME:9>09:41:20Z
<SIGN_LOTW_V2.0:1:6>
<SIGNDATA:51>24PN17WD.....BG4...14.0761970FT82024-07-0909:41:20Z
<EOR>
...
I don’t know how it works - during the debugging progress, I enabled Debug Mode (created a It turns out .debug file in the root folder). It uploads successfully but LoTW rejects it:lotw_views/adif_views/adif_export.php has a error in Debug Mode:
// $adif_to_save
<QSO_DATE:10>2024-07-09
<QSO_TIME:9>09:44:30Z
<SIGN_LOTW_V2.0:<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>A PHP Error was encountered</h4>
<p>Severity: 8192</p>
<p>Message: strlen(): Passing null to parameter #1 ($string) of type string is deprecated</p>
<p>Filename: adif_views/adif_export.php</p>
<p>Line Number: 159</p>
</div>1:6>
<SIGNDATA:51>24PN17WD3320MYE1AVS14.0762560FT82024-07-0909:44:30Z
<EOR>
// LoTW -> Activity
2024-07-09 10:07:06 LOTW_QSO: Processing file: 20240709100638.14106
2024-07-09 10:07:06 LOTW_QSO: User file: bg2elg-2024-07-09-10-06-37-wavelog.tq8
2024-07-09 10:07:06 LOTW_QSO: Certificate found for BG2ELG - CHINA (318)
2024-07-09 10:07:06 LOTW_QSO: Error in record 3: SIGN_LOTW_V2.0: ADIF field size overflow
2024-07-09 10:07:06 LOTW_QSO: Record 3 ignored due to errors
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 17 (17 by maintainers)
I merged the PR so that at least the logs show that there was an error. I am in touch with LoTW to see/check if they would allow more recent hash algos.
Let us know after you uploaded the newly requested cert
@int2001 Yes. It was not the import issue that you mentioned. In this case, wavelog can handle the given .P12 cert. It shows up after uploading.
Uhm yes he did I guess. He said he re-exported his cert with tqsl 2.7.3. So that is not the issue here. I think we have to look into https://github.com/wavelog/wavelog/pull/552.