I have recently started working in Celonis and exploring the Machine Learning module. When I created an app and now trying to open it, it shows "403 Forbidden (nginx)" error. Snapshot attached. What can be the possible reason?
I have recently started working in Celonis and exploring the Machine Learning module. When I created an app and now trying to open it, it shows "403 Forbidden (nginx)" error. Snapshot attached. What can be the possible reason?
Hi Mayank.
Is it happening with other apps you create?
Did it work before?
If the problem persists, please, raise a ticket to the Support Team.
Thank you.
Dan.
Hi Daniel, this error seems to have been resolved by itself. All good now. Thanks for your help.
Nginx 403 Forbidden error is a status code generated and displayed to the user when a client tries to access a part of the webserver with insufficient permissions. When nginx access a directory, it tries to index it and return the list of files inside it to the browser/client, however by default directory indexing is disabled, and so it returns the Nginx 403 forbidden error.
Incorrect Index File
The try_files tries the literal path you specify in relation to the defined root directive and sets the internal file pointer. If you have directory indexing off, and is having this problem, it's probably because the try_files you are using has a directory option:
location / {
try_files $uri $uri/ /index.html index.php;
}
to
location / {
try_files $uri /index.html index.php;
}
Incorrectly set permissions
This error can also result from files and directories having incorrectly set permissions. In order to resolve this , change the directories permission to 755 and the file permissions to 644 . Make sure that the user running the Nginx process owns the files. For example, set user to www-data:
sudo chown -R www-data:www-data *
Finally, set the directory and file permissions as:
sudo chmod 755 {dir}
sudo chmod 644 {files}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.