GeOrchestra: what do I have to do when it displays "site on maintenance"? - georchestra

I'm testing GeOrchestra to share maps between collegues. I've used the ansible script to install it and it was working fine. Today, connecting to the server displays a message that the site is on maintenance.
Original message in french: "En raison d’une opération de maintenance, les services geOrchestra sont momentanément indisponibles. "
I have no idea of what I have to do regarding this message. I've restarted the server but this does not solve anything.
Any idea of what has happened and what can I do to disable the maintenance mode?
Thanks a lot.

This means that, for some reason, Apache is not able to contact the security-proxy (HTTP 503 unavailable), and as a result, displays the ErrorDocument /errors/50x.html as per https://github.com/georchestra/georchestra/blob/17.12/docs/setup/apache.md#configuration
Is your servlet container (tomcat-proxycas) hosting the security-proxy up and running ?

Related

Failed browsing discovery document

I am trying to follow the quick start sample on my local Windows 10 with IIS. When I browse
"http://localhost:5000/.well-known/openid-configuration" however, I got "This site can't be reached" error with Chome. When I tried the same with IE, it still failed but with some more detail: "The device or resource (localhost) is not set up to accept connections on port '5000'.". All I did was following the doc of the quick start. Is there something I missed, such as configuring IIS is some way?
Choose Kestrel as the startup project and then you will see the handy log in a console window. That will help you debug your connectivity issues. In the log you will see what port Kestrel is listening on.
Just choose the name of your project here instead of IIS Express:

My SOLR Admin page is infected by a XMR.OMINE.ORG virus, I don't know how to fix it

Strange thing happening to me.
Every time I load my SOLR admin page, the developer console shows me that a XMR.OMINE.ORG virus is trying to inject a JS in the page.
That happens 1000 times and makes the page hang.
What is strange is that it happens ONLY when I access the SOLR admin page and not with any other page on the same web server or an internet page.
I tried everything...nothing works.
Here is the console log:
A parser-blocking, cross site (i.e. different eTLD+1) script, , is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See for more details.
VM41 v7.js:1 [Violation] 'setInterval' handler took 280ms
VM1939 v7.js:1 WebSocket connection to 'wss://xmr.omine.org:8181/' failed: WebSocket is closed before the connection is established.
I tried:
Running AVAST for MAC -> the web shield detects the virus but the scan doesn't and it doesn't remove it
Malwarebytes for Mac -> nothing found or removed
Running antivirus on web server => ongoing
When I access it from another laptop => it works, no injection => CORRECTION, same problem on other machines, seems server-related
I'm lost, I can't run the SOLR admin and I have 504 errors on SOLR updates
Can you help me please?
Nico

AAD / ADAL: understanding user authorisation of app and "Show details" link

I'm working on a proof of concept with Azure Active Directory and a native client obtaining an OpenID token for authentication to a web app. The native client uses Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.AcquireTokenAsync. My native client app is called "Proof of concept" and the web app is called "PoC server".
The first time that a user logs in, the embedded browser opened by ADAL requires the user to authorise the application, with this page:
Translation:
Authorise Proof of concept
Proof of concept
Website of the application's publisher: nathexperimental.onmicrosoft.com
Proof of concept needs permission to
Access PoC server (PoC server)
Log in and read your profile
You've logged in as: test2#nathexperimental.onmicrosoft.com
Show details
[Accept] [Cancel]
If I now click on the "Show details" link, it throws an exception:
Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: Non-HTTPS url redirect is not supported in webview
en Microsoft.IdentityModel.Clients.ActiveDirectory.AcquireTokenInteractiveHandler.VerifyAuthorizationResult()
en Microsoft.IdentityModel.Clients.ActiveDirectory.AcquireTokenInteractiveHandler.<PreTokenRequest>d__8.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
en Microsoft.IdentityModel.Clients.ActiveDirectory.AcquireTokenHandlerBase.<RunAsync>d__55.MoveNext()
I'm not sure what the non-HTTPS URL it's trying to redirect to is, but my best guess is that it's the redirection URI of the native client, which I had set to hook://login with the intention to implement a custom protocol handler and see what calls were made.
This seems to be confirmed by the fact that when I changed the redirection URI to https://codegolf.stackexchange.com (it was the first HTTPS-enabled site that came to mind...), the behaviour changed. But not in the way I expected. Now when I log in for the first time as a new user, it skips the entire "Authorise Proof of concept" page.
What's going on? Under what conditions is the user required to authorise the application? Does the scenario where they must authorise permit me to supply a "More details" page?
Javascript code in the Trident webview is getting accounted as non https url in ADAL. The issue has been filed and the commit is under review for Adal.NET.
https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/issues/544

Having issues getting WordPress running under GAE + Cloud SQL

I tried to set up WordPress under Google App Engine earlier tonight (following the instructions here: https://developers.google.com/appengine/articles/wordpress).
It runs fine locally, but when I push to remote I get a database error (visible at https://wp-dot-frontiermediag.appspot.com/). If we throw on a /wp_admin/install.php you get:
This either means that the username and password information in your
wp-config.php file is incorrect or we can't contact the database server
at :/cloudsql/frontiermediag:fmwp. This could mean your host's database
server is down.
Here's the relevant code in wp-config:
/** MySQL hostname */
if(isset($_SERVER['SERVER_SOFTWARE']) && strpos($_SERVER['SERVER_SOFTWARE'],'Google App Engine') !== false) {
define('DB_HOST', ':/cloudsql/frontiermediag:fmwp');
}else{
define('DB_HOST', 'localhost');
}
frontiermediag:fmwp is showing "Status Runnable" in Developers Console > Cloud SQL.
I did this once before and it worked so I'm not sure what I'm missing here. I thought it might have been because I'm using WP 3.8.1. but rolled back to 3.5.1 and same thing's happening.
Any ideas? frontiermediag is listed as an authorized application on the :fmwp ACL.
This situation happened to me earlier.However, I edited my Cloud SQL instance , and set "Preferred Location" as "Follow App Engine App" from Google Developers Console. This database connection problem was solved in my case.
I tried the instructions with wordpress 3.5.1 and the instructions seem to work for me. The code snippet you have above seems right and I am not sure what could be wrong without looking at rest of your code. Can you try the instructions from the beginning one more time with 3.5.1?
I had this issue, because "Follow App Engine App" doesn't seem to be an option for second generation instances in my case, and so the instance connection name includes the region setting.
Look at the instance details, and under properties, find "Instance connection name". That is the text that should follow :cloudsql/.

Unable to access a simple web application (running on Tomcat Server) from another System

I have written a simple web Application which is running(on Tomcat Server) fine on my local system.But when I tried to access from a different system using http:/my_ip_address:8080/Projec1/My_Application. Its showing this error
Network Error (tcp_error)
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
I know many of you must be well versed with this kinda error.But for me its kinda new.I would be happy if you state possible reason and solutions(Please tell me if there is configuration is required in Server step wise)
Thanks All
I forgot tell you all that i found the answer of above question, actually there was proxy setting problem.This is what i did
Open internet option in IE.
Goto LAN setting in Connection option.
In LAN Setting there is advance setting tab, click it.
You will see a Exception box at the bottom.
Type the IP Address form which you want access.
eg. 10.200;*.xyz.com
This setting is to be done on system from where you want to access your web application.
Starting IP address where application is running 10.200.---.--- that is why in exception box it is mentioned as 10.200;*.(your Interanet Server Name)
Hope this will help.
Thanks

Resources