Twitter has decided to stop working! We had it going for a couple of days and now nothing! Logs Below:
14006 15-11-06 08:43:42 CMS Twitter getToken Error contacting Twitter API:
14005 15-11-06 08:43:42 CMS Config isProxyException https://api.twitter.com/oauth2/token in . Pos =
14004 15-11-06 08:43:42 CMS module SetMediaInformation Existing Assigned Media XML is: \n <?xml version="1.0"?>
81.jpg
14003 15-11-06 08:43:42 CMS Layout GetLayoutXml OUT
14002 15-11-06 08:43:42 CMS Twitter getToken Bearer Token served from API
14001 15-11-06 08:43:42 CMS Layout GetLayoutXml IN
14000 15-11-06 08:43:42 CMS Cache has bearer_VnlXSDM3VTJ1Z3luN3g3WGF6WjZqNk1sMzpBdVlhRWVuUTRZblV2UkRHeTJrTnF1ajJCb0FYdnFwbjViT1ZLQTVLcmV0RVZGRDFiZg== not present
13999 15-11-06 08:43:42 CMS module Module created with MediaID: 81 LayoutID: 9 and RegionID: 587056377aadea7c5
13998 15-11-06 08:43:42 CMS Twitter getTwitterFeed Querying API for CathaysHigh
No just checked and that box is blank.
When I was trying to get it working the first time i may have added something to the code? but i was following instructions on Github at the time.
Thing is our internet connection (and smoothwall filtering) is controlled by our LEA. So anything to do with smoothwall is done by County IT.
I can ask them, but they takes ages getting back to us usually.
It could be that the return from curl_exec() is completely empty, which would validate as false and therefore error (without there actually being a curl error).
You could change the logging line of the above linked code to:
Right well I’ve heard from County IT and they are asking does the Twitter module use SSL?
As the filtering intercepts all SSL traffic, they can put an exception in for that specific IP address, but that leads me on to ask, does the server load up the twitter info or does the client? which IP would need to have the exception?
Once a week smoothwall will come up asking every user to Accept County IT’s usage policy which happens any time you try to visit a HTTPS website.
After typing my last reply, I though I’d login to the server and go to google and hit the accept button.
Then I tried the twitter module, and it worked!
Spoken to County IT and they are going to put an exception in for the server.
So after all that it was the accept button getting in the way!
Hope this thread will be useful for others using SmoothWall!
And thanks once again to Dan and Alex for their great help!