pombreda / google-calendar-connectors

Automatically exported from code.google.com/p/google-calendar-connectors
0 stars 0 forks source link

Exchange Free/busy Web Service Returns - The remote server returned an error: (403) Forbidden #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Configure the Exchange Free/busy Web Service
2. Load the diagnostics page

What is the expected output? What do you see instead?

User LDAP information is correctly returned and populated. Execution of the 
diagnostics page should return the free/busy availability of a selected user. 
Free/busy availability is not returned to the diagnostics page and the 
following error is returned: 

2010-07-23 16:37:14,581 [AppointmentLookup] DEBUG 
Google.GCalExchangeSync.Library.WebDav.XmlRequestImpl - Issuing WebDAV Request: 
SEARCH to 
http://kingfisher.win.example.com/exchange/cruz.braker@example.com/calendar - 
Group Exchange

2010-07-23 16:37:14,660 [AppointmentLookup] INFO  
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - LoadAppointments - 
Total Execution Time: 94 ms.

2010-07-23 16:37:14,660 [AppointmentLookup] INFO  
Google.GCalExchangeSync.Library.AppointmentService - Appointment access denied 
for Raffi.Parikian@example.com - System.Net.WebException: The remote server 
returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at Google.GCalExchangeSync.Library.WebDav.XmlRequestImpl.IssueRequest(String url, Method method, String body, HttpHeader[] headers)
   at Google.GCalExchangeSync.Library.WebDav.WebDavQuery.IssueRequestAndFetchReponse(String url, Method method, String body)
   at Google.GCalExchangeSync.Library.WebDav.WebDavQuery.LoadAppointments(String folderUrl, DateTime start, DateTime end)
   at Google.GCalExchangeSync.Library.AppointmentService.Lookup(ExchangeUser user, DateTimeRange window)

2010-07-23 16:37:14,956 [2644] ERROR 
Google.GCalExchangeSync.Library.FreeBusyServiceEWS - Exception occured : {0}
System.Net.WebException: The request failed with HTTP status 403: Forbidden.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at EWSProxyHelper.EWS.ExchangeServiceBinding.GetUserAvailability(GetUserAvailabilityRequestType GetUserAvailabilityRequest)
   at Google.GCalExchangeSync.Library.FreeBusyServiceEWS.LookupFreeBusyTimes(ExchangeUserDict users, DateTimeRange window)

What version of the product are you using? On what operating system?

Using the Exchange Free/busy 1.3.0.0 with Exchange 2007

Please provide any additional information below.

Attached web.config file.

Original issue reported on code.google.com by charles....@gmail.com on 27 Jul 2010 at 9:58

Attachments:

GoogleCodeExporter commented 9 years ago
For sync service please see "I am getting 403 errors when running the Google 
Calendar Sync service?"
in troubleshooting guide
http://code.google.com/p/google-calendar-connectors/wiki/Troubleshooting

For webservice could you please try disabling ssl on "EWS" and "Pulic" in IIS.

If this does not solve the issue, please send us the log files.

Original comment by jaideepg...@google.com on 28 Jul 2010 at 1:54

GoogleCodeExporter commented 9 years ago
I have configured sync service on Exchange server 2003 successful but stuck on 
Exchange 2007. Getting attached logs from server-

2011-06-13 16:13:29,429 [Sentinel Thread] INFO  
Google.GCalExchangeSync.Library.GCalGateway - Querying GCal for User 
'Vijay.Gurumurthy@gapps.com': 
https://www.google.com/calendar/feeds/Vijay.Gurumurthy@gapps.com/private/free-bu
sy?max-results=2147483647&start-min=2011-05-14T16:13:29+05:30&start-max=2011-08-
12T16:13:29+05:30
2011-06-13 16:13:31,570 [Sentinel Thread] INFO  
Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - QueryGCal - Total 
Execution Time: 2141 ms.
2011-06-13 16:13:31,570 [Sentinel Thread] INFO  
Google.GCalExchangeSync.Library.GCalSyncProcess - Calendar Query returned 5 
events
2011-06-13 16:13:31,570 [Sentinel Thread] INFO  
Google.GCalExchangeSync.Library.SchedulePlusFreeBusyWriter - Creating F/B 
message.  [User=Vijay.Gurumurthy@exchange.com]
2011-06-13 16:13:32,695 [Sentinel Thread] ERROR 
Google.GCalExchangeSync.Library.FreeBusyServiceWebDAV - 
Creating free/busy message for: https://excahnge's 
fqdn/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:_xF8FF_o=exch_xF8FF_ou=
India/USER-_xF8FF_cn=Recipients_xF8FF_cn=500559.EML failed
System.Net.WebException: Unable to connect to the remote server ---> 
System.Net.Sockets.SocketException: No connection could be made because the 
target machine actively refused it
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream()

Original comment by atul.kum...@mediaagility.co.in on 13 Jun 2011 at 11:54