Hello KenDB3!
I've recently upgraded to SBBS 3.17 and have encoun tered and error in your weather door. It was working fine before the upgrade, now, I get the following error when a user logs in and the weatehr for thier location is displayed:
Node 1 ERROR in weather.js: api.wunderground.com returned a 'querynotfound' error with this description: 'No cities match your search query'.
What other information do you need to troubleshoot this?
Steven
My first guess is that maybe the file /sbbs/ctrl/modopts.ini was overwritten and you are now missing the section for [syncWX]. Check
the Sysop.txt under Section II, part 2.
If that is not it, then some Debug info might be helpful here.
In Synchronet, change your LogLevel to be Debugging. This should
generate a Debug message in your Synchronet Control Panel and Logs
that has the actual String sent to wunderground.com and the error the
API kicked back (hopefully).
If that is not it, then some Debug info might be helpful here.
In Synchronet, change your LogLevel to be Debugging. This should
generate a Debug message in your Synchronet Control Panel and Logs
that has the actual String sent to wunderground.com and the error
the API kicked back (hopefully).
; Highest log level to actually log/print (ignore all higher/less-severe log entries): ; This log level may be overridden for each server/service
; Supported log levels in decreasing severity (ala syslog):
; Emergency, Alert, Critical, Error, Warning, Notice, Informational, Debugging
LogLevel=Debugging
Logging level is set to debug and this is what I got from
@ 20:42 Wed Sep 28 2016 Node 1
@+ Telnet SplitInfinity [192.168.1.28]
++ (0001) Buckaroo Banzai Logon 0 - 11
X- Buckaroo Banzai running external program: Bullshit
X- Buckaroo Banzai running external program: Your Local Weather
/O
@- 20:43 T: 0 R: 0 P: 0 E: 0 F: 0 U: 0k 0 D: 0k 0
From the log 092816.log in my ./sbbs/data/logs directory.
Is that what you are looking for?
I think I've tracked down the issue. In SBBS 3.16c the door worked perfectly when I conecnted locally. My BBS is on my unroutable adres 192.168.1.28 abd my lcoal machine sits on the same networl The doorinterfaces):
used to give the GEO-IP address of the Public address of my BBS when
I netered locally and it was correct.
Now, SBBS, is sending the un-reoutable IP address in the string.
I included all the debug into in my follow up post on Dove-Net
Here's the info from my SBBS.INI
[Global]
; Override system address for this instance (optional): HostName=infinity.synchro.net
; IP address of network interface to bind to (defaults to ANY/ALL
Interface=0.0.0.0
I discovered once the debug was turned on what was going on. If I conencted to the BBS from inside my internal network, the script was sending the IP of my internal network. If I came in from "outside" then it sent the External IP address and the door works.
Based on your recommendation, I set the fallback setting in modopts.ini to this:
[syncWX]
wungrndAPIkey = xxxxxxxxxxxxxxxxxxxxx
weathericon_ext = .asc
fallback_type = nonip
fallback = 25984
and now everything is working just fine. Thanks for looking at this!
Sysop: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 03:38:32 |
Calls: | 335 |
Messages: | 112,921 |