Topic-icon unable to connect to sorcecoast

13 years 5 months ago #29553 by micdon
While trying to use autotune to configure JFBConnect, I get the following error:

getFieldList - Error: Could not communicate with SourceCoast.com to fetch up-to-date information.
getAuthorization - Error: Could not communicate with SourceCoast.com to fetch up-to-date information.
Could not fetch application and recommendation data from SourceCoast.com. Cached values were loaded, but may be out of date.
It's highly recommended that you make a successful connection to get the most up to date application data and recommendations.

I followed the instructions from another similar post. cURL is enabled and there is no firewall on my server stopping connection. I had this installed 3 days ago and had to reconfigure and reinstall. This time it will NOT connect. Please advise.
The topic has been locked.
Support Specialist
13 years 5 months ago #29554 by alzander
When you installed it 3 days ago, did you have any issues configuring it then? We haven't changed anything on our end for the autoconfiguration tool over the last few days, and we don't block IP addresses in general for just this reason.

Has anything changed on your server? If you don't have a firewall, the other common problem is a mis-configured DNS that isn't allowing outgoing lookups of server addresses.

I'd ask your hosting company (or test if you can) if your server can ping or do an nslookup for sourcecoast.com. If not, that's an issue on the server end.

Let us know how that goes. If you still can't get it, we can try to take a look at the Joomla admin area, but there's not much we'd be able to do there other than check settings.

Thanks,
Alex
The topic has been locked.
13 years 5 months ago #29565 by micdon
After numerous attempts to reinstall and reconfigure, I am still having the connectivity issue in autotune. I opened a support ticket with my hosting provider and received the following response. Please advise on how to proceed.

Thanks for your ticket. You can certainly ping/dig "sourcecoast.com" from Tofino, there are no firewall blocks in place or any DNS resolution issues. You can also test that via SSH if you'd like to verify that yourself. You or the developer of that script will need to investigate further to see exactly what PHP call is failing. I can see that the IP that sourcecoast resolves to (108.162.207.114) is a "Cloudflare" IP, which could be related to the issue if you're trying to connect to a non-standard port for example (as cloudflare won't pass traffic on non-standard ports by default). I'd recommend you have your developer(s) isolate the issue to a specific call, and if they can't determine why the call is failing, create a standalone test script with that call in it so we can take a look and tell you what the exact problem is (please note that we don't provide script-specific support though; that would be the only case in which we'd be able to check out the script-specific issue for you), thank you.

----
Adam Boswell
Rochen Limited
The topic has been locked.
Support Specialist
13 years 5 months ago #29572 by alzander
Michael,
Is it possible to give us Super Admin access to the site? We'll need to do some debugging to understand what's going wrong with the connection. We have thousands of connections successfully made to Autotune every day, so I'm not sure where the problem is, but we'd love to get to the bottom of it.

If so, you can Private Message me the details by clicking the arrow under my picture (<----) and hitting the mail icon.

Thanks,
Alex
The topic has been locked.
Support Specialist
13 years 5 months ago #29591 by alzander
Michael,
Thanks for the message with your credentials. We got in and did some testing and can easily recreate the issue, of course. I then installed extPlorer, which lets us edit some of our files. Strangely, the changes I was making weren't taking. We'll have to do more investigation to see what's going on, but it's strange that our edits aren't appearing right away and it also makes it pretty difficult to test.

Do yo know if you have any caching or anything special going on on your site that might be hiding code changes or optimizing things or whatever.. anything would help as I'm a bit dumbfounded right now.

Either way, we'll test more and let you know what we find.

Thanks,
Alex
The topic has been locked.
13 years 5 months ago #29593 by micdon
The only thing I recall that could possibly be different is that K2 is installed and it wasn't during the first install which worked. If access to my cpanel would help, you're welcome to look there also.

I did a rocketlauncher install of the template from rockettheme, just as the first install also.

Sorry for the inconvenience. Since it's a new site and little has been done, I could wipe the install and start over. Let me know if you prefer that or if you want to find what the problem could be should it arise again.
The topic has been locked.
Support Specialist
13 years 5 months ago #29619 by alzander
Michael,
Did some more testing tonight and still very dumbfounded. There's nothing that I think re-installing would do. If possible, I'd love it if you could send a question to your host. Basically, I made an edit to the entry-point of the administrator area of JFBConnect. The specific file I edited was /administrator/components/com_jfbconnect/admin.jfbconnect.php
At the top, I added the following line:
echo 'blah'; exit;
That should show the text "blah" on a completely white screen. No template or anything else. That's not happening and I'm not sure why.

Can you contact your host and ask them if they understand why your server would be caching or not executing some code? Alternatively, is there some path configuration issues where the code is being executed from somewhere else? You can provide the example modification above which should help them diagnose as well, though they'd need super admin access to test as well.

I also tried the same edit to K2 with the same results, so this isn't specific to JFBConnect. I left that edit in there, so JFBConnect may stop working in the admin area soon, which it already isn't doing too well.

In the mean time, I'd recommend editing your Facebook app settings manually. Go to the Developer Area and click Edit Settings on your app. Mainly, you just need to set a namespace (which is likely already set), your app domain (in your case, that would be "xyz.net") and your Site URL (www.xyz.net/). Once those are set, you should be able to configure most settings within JFBConnect, including the login functionality.

So, that should get you going for now, but you'll want to figure out what's happening on your server because I think you're going to run into other strange issues either with JFBConnect or other extensions in the future.

Thanks,
Alex
The topic has been locked.
13 years 5 months ago #29649 by micdon
After going back and forth with my hosting provider who insisted there was nothing wrong, I deleted my entire public_html directory, deleted all mySQL databases and users, then started over. Autotune worked perfectly upon install. Thanks for your assistance. Above and beyond what's expected. Now if I can configure everything I'll be good. Thanks again.
The topic has been locked.
Support Specialist
13 years 5 months ago #29658 by alzander
Michael,
Yeeessh! Very sorry you had to go through that. As mentioned, that was a very, very strange issue. I'm really not sure what could have been going on or how a complete wipe would have fixed it... I wouldn't have recommended doing that because I honestly wouldn't have thought it would have changed anything!

Either way, very glad to hear you got it going and hopefully it's smooth sailing from here. Should you run into anything else though, just let us know and we'll help how we can.

Thanks, and good luck,
Alex
The topic has been locked.