logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

XML lookup with QRZ
W5GA
#1 Posted : Friday, November 13, 2026 2:20:45 PM(UTC)
Rank: Advanced Member

Groups: Registered
Posts: 474
Location: Missouri

Thanks: 103 times
Was thanked: 161 time(s) in 143 post(s)
Hi Dennis...lately I'm seeing this error when the callbook window does an auto lookup on QRZ. "Error opening http://www.qrz.com/xml/c...c11feafd&html=FR5CN
OLE IDispatch exception code 0 from msxml6.dll: The HTTP redirect request failed "

This is the response I received from a QRZ trouble ticket, which means absolutely nothing to me:

"<p> You should be using the HTTPS endpoint, not HTTP.&nbsp; For some reason your system is refusing the redirect which would handle the change automatically.&nbsp; You need to update your XML endpoint manually as a result.</p> <p> &nbsp;</p>"

So, is this a LOGic problem, or a QRZ problem?
73 Doug W5GA
1 user thanked W5GA for this useful post.
WN4AZY on 11/16/2026(UTC)
Sponsor
Note: We receive a commission from Amazon when you purchase via this link. It does not affect your cost. Thank you!
N5XZ
#2 Posted : Friday, November 13, 2026 6:56:51 PM(UTC)
Rank: Advanced Member

Groups: Registered, Beta Testers
Posts: 501
Location: Richmond, TX

Thanks: 44 times
Was thanked: 88 time(s) in 83 post(s)
Same error I get but not on all calls
73, Allen N5XZ
W5GA
#3 Posted : Friday, November 13, 2026 11:40:35 PM(UTC)
Rank: Advanced Member

Groups: Registered
Posts: 474
Location: Missouri

Thanks: 103 times
Was thanked: 161 time(s) in 143 post(s)
Originally Posted by: N5XZ Go to Quoted Post
Same error I get but not on all calls


Same here, Allen, some go through no problem.
73 Doug W5GA
WN4AZY
#4 Posted : Monday, November 16, 2026 5:07:51 PM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,263
Man
Location: Auburn, GA

Thanks: 1143 times
Was thanked: 555 time(s) in 465 post(s)
Happens here too. Looks like a nuisance error. I still get the data.

All the error means is that I should be going to https://xmldata.qrz.com/xml/current instead of http://xmldata.qrz.com/xml/current

I don't know why everyone on the internet is suddenly so anal about encrypting publicly-available data.

Will fix it! Thanks.
WN4AZY
#5 Posted : Monday, November 16, 2026 5:45:31 PM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,263
Man
Location: Auburn, GA

Thanks: 1143 times
Was thanked: 555 time(s) in 465 post(s)
Or maybe I won't fix it. Here is the XML he is sending back:

The first request. All looks good:

Quote:
.oXML.Open("GET", QRZSUBSURL+"?s=" + Thisform.qrz_session +";callsign="+m.cCall, .F.)

<?xml version="1.0" encoding="utf-8" ?>
<QRZDatabase version="1.36" xmlns="http://xmldata.qrz.com">
<Callsign>
<call>WN4AZY</call>
<aliases>WB4AZY</aliases>
<dxcc>291</dxcc>
<fname>DENNIS L</fname>
<name>HEVENER</name>
<addr1>1323 CENTER DR</addr1>
<addr2>AUBURN</addr2>
<state>GA</state>
<zip>30011-3318</zip>
<country>United States</country>
<lat>33.993628</lat>
<lon>-83.723097</lon>
<grid>EM83dx</grid>
<county>Barrow</county>
<ccode>271</ccode>
<fips>13013</fips>
<land>United States</land>
<efdate>2018-04-17</efdate>
<expdate>2028-06-09</expdate>
<class>E</class>
<codes>HAI</codes>
<u_views>3953</u_views>
<bio>24</bio>
<biodate>2015-12-06 14:38:22</biodate>
<moddate>2019-04-17 18:15:56</moddate>
<MSA>0520</MSA>
<AreaCode>770</AreaCode>
<TimeZone>Eastern</TimeZone>
<GMTOffset>-5</GMTOffset>
<DST>Y</DST>
<eqsl>0</eqsl>
<mqsl>1</mqsl>
<born>1958</born>
<lotw>1</lotw>
<geoloc>geocode</geoloc>
<name_fmt>DENNIS L HEVENER</name_fmt>
<serial>707541</serial>
</Callsign>
<Session>
<Key>69ec08ac46ffe818051fd7ea57556759</Key>
<Count>12692</Count>
<SubExp>Sun Feb 27 00:00:00 2028</SubExp>
<GMTime>Mon Nov 16 23:25:37 2026</GMTime>
<Remark>cpu: 0.010s</Remark>
</Session>
</QRZDatabase>


Then I get the BIO info:

Quote:
.oXML.Open("GET", QRZSUBSURL+"?s=" + Thisform.qrz_session +";bio="+m.cCall, .F.)

<?xml version="1.0" encoding="utf-8" ?>
<QRZDatabase version="1.36" xmlns="http://xmldata.qrz.com">
<Bio>
<call>WN4AZY</call>
<size>0</size>
<bio>http://www.qrz.com/xml/current/?s=69ec08ac46ffe818051fd7ea57556759&amp;html=WN4AZY</bio>
<modified>2015-06-17 18:19:57</modified>
</Bio>
<Session>
<Key>69ec08ac46ffe818051fd7ea57556759</Key>
<Count>12670</Count>
<SubExp>Sun Feb 27 00:00:00 2028</SubExp>
<GMTime>Mon Nov 16 22:37:23 2026</GMTime>
<Remark>cpu: 0.007s</Remark>
</Session>
</QRZDatabase>


The URL to get the Bio info is not https. I forced it to https but am getting a different error:

Error opening https://www.qrz.com/xml/...7556759&html=WN4AZY
OLE IDispatch exception code 0 from msxml6.dll: The operation has been canceled ..

But if I paste the URL in a browser, it works. I suspect that the server is looking at the header info from my GET and sees that it is not an actual browser, and cancels the request. There is a way to fake it -- have to find the code. Or maybe I will just provide a link in LOGic and not bother displaying the bio info.

Meanwhile, uncheck Display Bio in Setup. It doesn't seem to care whether the main lookup is https or not. Just the bio lookup. That explains why some calls work and others don't. They error only if the call has BIO info.
Users browsing this topic
Guest (5)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.055 seconds.