Today out of the blue my WEBApp started failing in the login. I am authenticating the users against LDAP. The Web App is hosted on a Windows 2003 Server with Django 1.6.1 and Apache 2.2 and mod_wsgi.
The error is
ERROR : 18/02/2015 01:52:17 PM : result(3) raised
NO_SUCH_OBJECT({'info': "0000208D: NameErr: DSID-031001CD, problem
2001 (NO_OBJECT), data 0, best match
of:\n\t'OU=EU,DC=osud,DC=corp'\n", 'matched':
'OU=EU,DC=cosud,DC=corp', 'desc': 'No such object'},)
I checked on http://docs.oracle.com/cd/E19957-01/816-5618-10/netscape/ldap/LDAPException.html#NO_SUCH_OBJECT and it says this
NO_SUCH_OBJECT
public static final int NO_SUCH_OBJECT
(32) The entry specified in the request does not exist.
At http://www.python-ldap.org/doc/html/ldap.html it says this
exception ldap.NO_SUCH_OBJECT
The specified object does not exist in the directory. Sets the matched field of the exception dictionary value.
But none of these realy apply in the situation. And after like 2 hours the login started working again. There was a restart of Apache Server in between but not sure if that can contribute to this.
What else can i do to get to the bottom of this issue? Any more logging that can be added to get more information?
I had the same problem and it was related to my base DN: OU=name,dc=some,dc=random,dc=organization
The CN of my OU got changed and my python script started to show the same error message:
ldap.NO_SUCH_OBJECT: {'info': "0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:\n\t'DC=some,DC=random,DC=organization'\n", 'matched': 'DC=some,DC=random,DC=organization', 'desc': 'No such object'}
Try running the query using some LDAP client (ldapsearch and Apache Directory Studio are my favorites) and compare the results.
I hope it helps,
Related
I am getting the following 500 server error when I deploy my Django web application to google app engine:
Error server error the server encountered an error and could not complete your request please try again in 30 seconds
Simply refreshing the page solves this issue and renders the page. However, this isn't ideal and I want the page to load correctly the first time tried. This error does not occur on my localhost, it only occurs on the deployed site and typically during form submissions and rendering detail pages.
I've researched the HTTP status codes in Django extensively from their documentation. It does not matter if the app is set in DEBUG mode or not. The same error appears. This is happening for both GET and POST requests. I have also tried to use a try-except block to retry the request multiple times before accepting failure.
My configuration:
Django: 3.2.9
Browser: Chrome 98.0.4758.80
Simply needed to upgrade my google app engine tier to a more professional level. Nothing was wrong, I just outgrew my tier and it just needed more computing power.
We have an app running on Google App Engine with Python 2.7 runtime which can be assessed using Google Login, implemented using users API endpoint.
We are getting an error "Server Encountered an Error and couldn't complete your request. Please try again after 30 seconds" whenever user tries to open the web app.. The error is thworn on App Engine side, since the 500 error happens on that line where this call is made 'GET https://appengine.google.com/_ah/conflogin'.
This happens for both mobile(majorly) and web. It shows the same error when we try after the specified time.
However when we clear the browser cookies, cache, history etc etc it starts working. Not sure why. But we cannot users to clear all such stuffs all time as they might loose the information that they browsed.
We tried various cases for login(multiple login, single login, incognito mode) but couldn't figure the root cause of the problem.
Have anyone faced such issues before? If yes please share how you solved it.
to customize the GridJumpBar, I believe I need to use this command :
Microsoft.CRM.SE.OrgDBOrgSettingsTool.exe Update MyOrganization JumpBarAlphabetOverride "NewAlphabetBarDefinition"
but I cannot get the 'OrgDBOrgSettingsTool.exe' to work, I have 'MS CRM 2015 On prem' and I cannot set the config settings, I think,
I get this error :
Error occurred in OrgDBOrgSettings and the error details are Metadata contains a
reference that cannot be resolved: 'mycrm.crm.com/.../Disc
overy.svc?wsdl&sdkversion=7.1'.Unable to connect to the remote server
this is the address, which I browse to my crm, and my account is system admin on the server machine:
http://localhost/TEST/
how should I overcome this, can anybody give me some direction on customizing the config file
Could not figure out what is the problem, when I managed to even fill the .config file, I got stock with the authentication, even though I was doing all the job with an Administrator account on the CRM Server,
anywho
I found this Ms. CRM 3rd party Soloution, which works like a charm
I've spent over 8 hours trying to get this Django site up and running on an Azure Website. I've nearly thrown in the towel would really appreciate some help.
So far I have tried numerous methods and followed different tutorials, but they have all yielded the same result. Here is the most recent tutorial I have followed: http://www.windowsazure.com/en-us/develop/python/tutorials/web-sites-with-django/
Now that my site is "up", I am seeing a 500 error for all requests. Here is the error in the log:
The page cannot be displayed because an internal server error has occurred.
Most likely causes:
IIS received the request; however, an internal error occurred during
the processing of the request. The root cause of this error depends on which mo
dule handles the request and what was happening in the worker process when this
error occurred. IIS was not able to access the web.config file for t
he Web site or application. This can occur if the NTFS permissions are set incor
rectly. IIS was not able to process configuration for the Web site o
r application. The authenticated user does not have permission to u
se this DLL. The request is mapped to a managed handler but the .
NET Extensibility Feature is not installed.
Things you can try:
Ensure that the NTFS permissions for the web.config file are correct
and allow access to the Web server's machine account. Check the ev
ent logs to see if any additional information was logged. Verify the p
ermissions for the DLL. Install the .NET Extensibility feature if th
e request is mapped to a managed handler. Create a tracing rule to tra
ck failed requests for this HTTP status code. For more information about creatin
g a tracing rule for failed requests, click here.
Please help!
I got it working by settings up a new django project from the azure gallery and changed some configs and such.
Edit: The configs I updated was just the name of my app. In my case I also updated the database config with the database I wanted to use in settings.py.
The lesson learned from this is that it is easier to initialize the app from Azure's "Create from gallery" feature, and then pull down the source and modify it via ftp or git to achieve the desired project structure/naming.
Server Spec:
Wordpress 3.0.1
PHP Version 5.3.8-1+b1
MYSQL 5.1
Apache/2.3.16
Linux
The Problem
Simple really. A website that I helped to build and install a while back has just been transferred to a new host. The front end of the website isn't presenting any issues, but when I try to login to the admin area, I get a 501 'Unsupported Method ('POST') error.
I'm a bit lost, my guess would be it's a server config issue, but are there any specific wordpress issues that might be at fault?