Is the smugmug API server down?
arjunrc
Registered Users Posts: 159 Major grins
I've been trying to connect via my program. Have a valid API key.
Since morning I've been getting
Cannot connect to api.smugmug.com:443
when I try and login.
It was working yesterday. I am not behind any proxy etc.
Trying to do a direct telnet works
The code that is failing today is using login_withPassword.
I am using WWW::SmugMug::API wrapper in perl. Its not a credential issue - as its saying cannot connect
Since morning I've been getting
Cannot connect to api.smugmug.com:443
when I try and login.
It was working yesterday. I am not behind any proxy etc.
Trying to do a direct telnet works
[arjun@~] telnet api.smugmug.com 443 Trying 23.13.154.179... Connected to e2605.c.akamaiedge.net. Escape character is '^]'.
The code that is failing today is using login_withPassword.
I am using WWW::SmugMug::API wrapper in perl. Its not a credential issue - as its saying cannot connect
0
Comments
a) I have a tool pb2smug.exe that is a command line tool that uploads galleries to smugmug
b) I have a tool called pb2smuggui.exe that is a GUI for this - it invokes pb2smug.exe to do the real work
Both of these exes are actually perl scripts, made into an EXE with PAR
The problem:
When I run pb2smug.exe directly from the command line it works like a charm
When pb2smuggui invokes pb2smug.exe (using perl system($string)) pb2smug fails to login to Smugmum with the "Cannot connect to api.smugmug.com 500 error". The return code is -2
What could be the problem? pb2smuggui.exe also invokes a different tool to download pbase galleries called pbgrab.exe and that works great, so I am pretty sure its something to do with how Smugmug APIs work - and this one exe calling another is messing up something.
Any expert insights?
If the pb2smug.exe works from command line I can't see how this is directly related to our API. To me it sounds like the UI launches your pb2smug.exe differently than running it directly from command line.
http://msphoto.smugmug.com
http://twitter.com/tasmanic
The SM login does not.
So I am looking for clues.