Page 1 of 1

API and SSL

Posted: Mon May 10, 2021 4:16 pm
by artuore
Hi
i use ssl for my server via cloudflare
but i have problem with api
my address for ex : https://domain.com/ i use 443 port
but my api not working via ssl port
if i use HTTP its working well
anyone have idea ?
thanks

Re: API and SSL

Posted: Mon May 10, 2021 4:32 pm
by Kent Briggs
What happens if you type this into your browser's URL box?

https://www.example.com/api

It should return:

Result=Error
Error=Command parameter missing

Also, can you connect using the API Reference Utility?

https://www.briggsoft.com/docs/pmavens/ ... htm#apiref

Re: API and SSL

Posted: Mon May 10, 2021 7:02 pm
by artuore
Kent Briggs wrote:What happens if you type this into your browser's URL box?

https://www.example.com/api

It should return:

Result=Error
Error=Command parameter missing

Also, can you connect using the API Reference Utility?

https://www.briggsoft.com/docs/pmavens/ ... htm#apiref
Hi again and I found the problem

i used under attack mod in cloudflare
if you use this API not working
its very important

Re: API and SSL

Posted: Mon May 10, 2021 7:19 pm
by Kent Briggs
artuore wrote: i used under attack mod in cloudflare
if you use this API not working
Attack mode will throw up a captcha that you would have to manually react to. If you loaded the player client from the same IP where your API code is running then it might work after that.

Re: API and SSL

Posted: Sat Jul 17, 2021 8:46 pm
by xpinkerin
I am having the same problem. Just installed SSL and now none of the API utilities work. The one I use the most is the registration save. Really a pain that it doesn't work. What to do??

Re: API and SSL

Posted: Sat Jul 17, 2021 11:56 pm
by Kent Briggs
xpinkerin wrote:I am having the same problem. Just installed SSL and now none of the API utilities work. The one I use the most is the registration save. Really a pain that it doesn't work. What to do??
Are you getting an error message? Make sure you have the two OpenSSL dll files in the same folder as the utility. See the "SSL Support paragraph near the top of this page:

https://www.briggsoft.com/docs/pmavens/Utilities.htm