close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

cURL unable to post

Thread began 1/04/2022 9:42 am by Jamie | Last modified 1/04/2022 3:27 pm by Ray Borduin | 20 views | 9 replies |

Jamie

cURL unable to post

Hi Ray

Trying to install a new CMS and the activation is failing saying that cUrl is unable to post to the webassist server https://gyazo.com/91773d6c83addc9643bd490df166df5b

Have set up a test page here https://dev.motley.co.uk/testCurl.php

Thanks

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

You can use:

curl_setopt($cHandler, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($cHandler, CURLOPT_SSL_VERIFYPEER, false);

Then it won't be as strict with the ssl check causing it to fail.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

Ok thanks have done that https://dev.motley.co.uk/testCurl.php

the setup diagnostic is still failing

Sign in to reply to this post

Ray BorduinWebAssist

Can I get FTP access and a link to the cms install? I'll debug and see what I can find.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

thanks...here you go

Sign in to reply to this post

Ray BorduinWebAssist

It should be working now. I'm not sure why it was reporting the ssl mismatch, but I added:
curl_setopt($cHandler, CURLOPT_SSL_VERIFYHOST, false);

to the installation test.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

thanks Ray - got through that but now cant activate with the serial number. Have 'put' files up 3 times now,....

https://gyazo.com/2c7ff2c5623a666fb67dfb801bf75047

Sign in to reply to this post

Ray BorduinWebAssist

Does your hosting admin have an option:

“Pause Cloudflare on Site”

It looks like Cloudflare is interfering with curl. This is something that your hosting provider might be able to help with.

When I request webassist's site with curl it returns:

html:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
<title>One moment, please...</title>
<style>
body {
background: #F6F7F8;
color: #303131;
font-family: sans-serif;
margin-top: 45vh;
text-align: center;
}
</style>
</head>
<body>
<h1>Please wait while your request is being verified...</h1>
<form id="wsidchk-form" style="display:none;" action="/z0f76a1d14fd21a8fb5fd0d03e0fdc3d3cedae52f" method="get">
<input type="hidden" id="wsidchk" name="wsidchk"/>
</form>
<script>
(function(){
var west=+((+!+[]+!![]+!![])+(+!+[]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+[])+(+![])+(+!+[]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])),
east=+((+!+[]+!![]+!![]+!![])+(+![]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+[])+(+![])),
x=function(){try{return !!window.addEventListener;}catch(e){return !!0;} },
y=function(y,z){x() ? document.addEventListener("DOMContentLoaded",y,z) : document.attachEvent("onreadystatechange",y);};
y(function(){
document.getElementById('wsidchk').value = west + east;
document.getElementById('wsidchk-form').submit();
}, false);
})();
</script>
</body>
</html>



I did some google searches on that message an dpage and it appears to be related to cloudflare, but I'm not 100% sure. One way or another it is using some sort of intermediate to verify the site and that is causing it to fail.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

Weird. The hosting Co don't use cloudflare nor have I 'installed' - they have checked their logs within the window when I tried and you replied and they cannot see any blocks on external connections

Not really sure where I go from here?

Sign in to reply to this post

Ray BorduinWebAssist

Call me on Skype and I'll help you get through it.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...