Updates for 03/27/2011 (Lock to Account Enforced)

111 posts / 0 new
Last post
zfbot (not verified)

Hey Brandon - I initially had exactly what you put in there... that wasn't working so I just put the IP address in. Still not working.

I'm calling the preview from within my Flex application as follows:

public function createTip(url:String):CustomToolTip{                
var myTT:ImageToolTip = new ImageToolTip();
myTT.myImage="http://images.shrinktheweb.com/xino.php?stwembed=1&stwu=MYSECRETKEY&stwaccesskeyid=MYACCESSID&stwsize=sm&stwurl="+url;
return myTT;
}

and the url that's being concatenated at the end is in a format of domainname.tld

As you can see, the image populates the tooltip of the icon on my site. Was working fine up until today.

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Ah, ok. Then that is a question of "what is the referrer in that case?"

I have enabled full logging in order for us to view requests as they come in, in real-time.

So make a few requests using your application and we'll see what we get.

FAQ on full logging

zfbot (not verified)

OK - I just made 3 or 4 requests for various shrinktheweb.tld's

Ken

== Don't see any new API requests in the log... hmmm

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Usually when we don't see any hits in full logging, it means there is something wrong on the remote server side (not our side) or that the script isn't firing properly. The other possibility is that your server IP / domain is banned but I don't think we've banned any referrers in the past week.

See if you can paste the request directly into a page, embedded (i.e. &stwembed=1), on your website and see if it works. If so, then the script/tooltip is to blame. If it doesn't work, then it could be a configuration of your account, blocked referrer, or something wrong with the request (which looks good at first glance).

zfbot (not verified)

Very odd. The preview in html works fine. And I also have other icons that are pulling tooltip images from web directories and they work fine so I know the function within my Flex app is firing off the http request. And for any of the images that have been cached (ie kengreenwood.com), the image does show up fine in my Flex app (zfbot.com). So the call for the image retrieval is working - just not the creation. Any ideas?

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Sorry but if it works fine to display and create new requests via HTML, then that is as far as our support can go. Any further investigation would require paid consulting hours but we are booked solid for several months out.

Since you were probably just asking if I knew of any reason off the top of my head, the answer is: no. I can't imagine why it would fetch the image but not request a new one. There is nothing in our system that would block you for just new requests without at least some sort of message like "account paused" or "invalid credentials" or "invalid request", etc.

If the "Full Logging" is turned on for your account but you still do not even see those hits, then it is not contacting our service. When "Full Logging" is ON, we log absolutely everything; even if it's a bad request.

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

By the way, it looked like your app was running in the background (i.e. server script), so that means our system would be seeing an IP from your server. If that is the case, then you have to be sure to have that IP in the "Allowed Referrers" list.

Your best bet would be to use the Flex application to make an "advanced method" request (i.e. no &stwembed parameter) and record the XML response. That should tell you what is going wrong.

Simone
Offline
Joined: 02/15/2011
Visit Simone's Website

Hi, I only get blank images.
I am running on https. Might this be the cause? Referrer is OK
www.mydomain.de

Thanx
-s.

puravida's picture
puravida
Jedi Warrior
Offline
Joined: 09/01/2007
Visit puravida's Website

Hello Simone,

You had the WWW version of your domain but not the non-WWW version. Perhaps you were viewing your site without the WWW and that is why it wasn't working??

As a courtesy, I have added the non-WWW version to your "Allowed Referrers" and it should be working now. Please update here if all is good now.

Thanks,

Brandon

Simone
Offline
Joined: 02/15/2011
Visit Simone's Website

Hi Brandon,

yes, works now like a charme now. I am also using https now. Great Work.

Thanx
Simone

ShrinkTheWeb® (About STW) is another innovation by Neosys Consulting
Contact Us | PagePix Benefits | Learn More | STW Forums | Our Partners | Privacy Policy | Terms of Use

Announcing Javvy, the best crypto exchange and wallet solution (coming soon!)

©2018 ShrinkTheWeb. All rights reserved. ShrinkTheWeb is a registered trademark of ShrinkTheWeb.