mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
244 stars 94 forks source link

error:c:\source\master\modules\Scheduler\Scheduler.cpp:172: Failed to submit host_check: Error: Failed to POST http://servername:443 301: #467

Open PaulPrime opened 7 years ago

PaulPrime commented 7 years ago

When using version 0.5.1045 and configuring this in /settings/NRDP/client/targets/default] section: address = https://servername/nrdp token = *** I receive the mentioned message in nsclient.log. I confirmed that I'm able to access webpage: https://servername/nrdp and send test message from web browser. It seems that connection is being made to http://servername:443 and not https://servername Here information from apache when I try to use http://servername:443: Bad Request Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please.

box293 commented 7 years ago

Can you try your address with a trailing /

address = https://servername/nrdp/