I have a small CodeIgniter 2.1.0 application that uses PHP-EWS to connect to an Exchange 2007 server and return a set of calendar items.
我有一个小的CodeIgniter 2.1.0应用程序,它使用PHP-EWS连接到Exchange 2007服务器并返回一组日历项。
It works great on my local MAMP development machine. When I deploy to my staging server for testing (Bluehost shared host), I get the following error:
它在我当地的MAMP开发机器上运行良好。当我部署到我的登台服务器进行测试(Bluehost共享主机)时,我收到以下错误:
PHP Fatal error: Uncaught exception 'EWS_Exception' with message 'SOAP client returned status of 401'
PHP致命错误:未捕获异常'EWS_Exception',消息'SOAP客户端返回状态为401'
Any ideas?
有任何想法吗?
1 个解决方案
#1
0
Try using wfetch/fiddler or something similiar to recreate the request and submit so you can inspect response from EWS.
尝试使用wfetch / fiddler或类似的东西重新创建请求并提交,以便您可以检查来自EWS的响应。
Depending on the library your using to submit the request try turning on higher granularity of logging.
根据您用于提交请求的库,尝试启用更高粒度的日志记录。
Have all servers been configured with same cacert truststore to allows EWS requests?
是否所有服务器都配置了相同的cacert信任库以允许EWS请求?
#1
0
Try using wfetch/fiddler or something similiar to recreate the request and submit so you can inspect response from EWS.
尝试使用wfetch / fiddler或类似的东西重新创建请求并提交,以便您可以检查来自EWS的响应。
Depending on the library your using to submit the request try turning on higher granularity of logging.
根据您用于提交请求的库,尝试启用更高粒度的日志记录。
Have all servers been configured with same cacert truststore to allows EWS requests?
是否所有服务器都配置了相同的cacert信任库以允许EWS请求?