qrz xml service lookup not working has anyone found this to be a problem ? hamqth lookup works fine
Sat, 2025-01-25 18:28
#1
qrz lookup xml service
There are currently 0 users online.
Hi!
For me the non payed side of QRZ.com seems to work ok.
--
Saku
OH1KH
Mine appears to time out. I haven't been able to figure out the reason why. I typically leave my station set up with the log open all the time, and about once a day or so I have to restart CQRLog to get the QRZ lookup to work again. Even hitting F11 doesn't cause it to fetch until I restart the application.
I thought it was caused when there was a QSL Manager or DXCC list update pending, but that isn't always the case. It just stops working randomly.
Dave,
N1KX
At least it is know problem that splash "SQL has gone away" may appear after long uptime of Cqrlog. That is also more or less random. Many fixes are tried during years but without any breakthrough.
I am now struggling at the moment with strange SQL problem where I make a query giving a name the result of it. On return I check that given name exist in transaction before reading it, and when I am reading it I get error that the given name does not exist.
And to make it perfect it is randomly happening.
And RBNmonitor that does not loose it's connection to telnet.receresebeacon.net and gets spots, but looses it's internal connection to update them to RBNwindow's grid. And also this is random.
Somehow, sometimes I have feeling that FPC/Lazarus does not always work correctly. But that is hard to proof.
Quick fix: Save energy and shut of your computer while not being in shack... :-) That is all I can suggest for now!
If you ever get bullet proof way to reproduce any (non random) fault you find, please do not hesitate to report it.
I would be glad to fix it, if I can.
--
Saku
OH1KH
Thanks, Saku.
No worries - it isn't a big problem and it hasn't caused me any real distress. I had hoped to capture the specific trigger that caused it so I could report it, but have never found a consistent cause. If I do, you'll be the first to know. ;)
Cheers and Good DX!
Dave,
N1KX
Saku,
OK, I have done some more investigation of this problem. I wasn't able to track down a specific event or activity that reliably causes failure, but I have found the means of failure. I used a script running tcpdump to watch communications with xml.qrz.com to look for issues.
The script I used is:
#!/bin/bash
# Captures QRZ traffic, adds timestamps, and highlights Errors
echo "Monitoring QRZ traffic... Logging to file if redirected."
sudo tcpdump -i any -s 0 -l -A 'host xml.qrz.com' 2>/dev/null | \
grep -iE --line-buffered "HTTP/1.1 [0-9]|.*|GET /xml" | \
while read -r line; do
# This adds the [YYYY-MM-DD HH:MM:SS] prefix to every line
printf "[%(%Y-%m-%d %H:%M:%S)T] %s\n" -1 "$line"
done | \
sed --unbuffered 's/HTTP\/1.1 500.*/\x1b[31m[!] SERVER ERROR 500\x1b[0m/' | \
sed --unbuffered 's/\(.*\)<\/Error>/\x1b[33m[!] QRZ API ERROR: \1\x1b[0m/'
The output from this script is attached.
I found that the normal case of API Session Timeout is handled easily, with CQRLog automatically logging in again, and QRZ providing data again. However, if the response from QRZ is something else (specifically: Invalid session key) then nothing happens. I suspect there is a line of code somewhere that handles the timeout that doesn't have a case to handle the invalid API key. I think this might be due to an expired key that is stuck and reused? Not sure, but at least I have some more specifics to report.
Thanks!
73,
Dave, N1KX
File: