I am working on a map application and created a WMS layer using QGIS Server and postgis.
About a week ago, I opened the wms layer with the browser using the openlayers library. but for a few days. I am getting the error in the picture. I did not change the postgis passwords or anything, but the image does not come.
I didn't make any changes to the .qgs file either. I can't find what is causing the error. anybody can help me :)
Related
I am trying to add a ArcGISMapServer connection to my QGIS workspace in QGIS 3.20.2. The option for adding a this connection does not appear in the data source manager or in the add layers option. There is now only an option for adding an ArcGIS Rest Server:
QGIS 3.20.2 View
In previous versions there was an in built option for adding these connections:
Previous QGIS versions option
Is there a new method of adding in ArcGIS Map Server connections in more recent versions of QGIS?
In the Browser, you can find the "ArcGIS REST Servers" Option. Right click to add a server. Then you can
Then you can add a server name and the URL to access the layers. Provide authentication, if needed:
ArcGIS Map Server and ArcGIS Rest Server are the same thing. You can add your ArcGIS Server maps from new ArcGIS Rest Server section.
I'm getting the following error intermittently when making a call from my ASP.Net MVC web application which is using Dapper to query MySQL.
Unable to connect to any of the specified MySQL hosts.
The exception only occurs when my web app is published to Azure. It has worked 100% of the time when I run the code locally. I've deployed the code to a second azure website, and also get the exception there, again intermittently.
The MySQL database is running on an Azure VM (Ubuntu). This server also has some R scripts that access the database, which are being run at a set interval. I've had no connectivity issue with these either. It is just the .Net code that's struggling.
I've scoured the web, but don't feel like I've turned up anything of value. Most of the links have pointed to a connection string problem, but since it works intermittently that doesn't seem to fit my problem. Some links have referenced DNS issues, but I'm getting the same problem when I use the IP Address instead of the machine name for the DNS server.
I'm sure I need to track down more information, but I'm not sure where it would be. This is my first foray into using a MySQL db in this fashion, and I'm not familiar with config options or log files on that side of things. I feel similarly about Azure websites with database interactions too.
What can I try next?
Just to drive home the point about this error being intermittent, here's a screenshot from the Runscope job that's hitting the page (thus triggering the MySQL query) every 5 minutes:
I was able to fix (or perhaps "circumvent") this problem by adding the --skip-host-cache flag to our mysql configuration file. I still don't fully understand what the root of the problem is, but we haven't had any issues with MySQL connectivity from the Azure website since adding that.
Soo, I've decided to toy around a bit with GAE. Most of my previous experience with developing web-applications is with ASP.Net, so this java / eclipse-world is kinda unfamiliar to me.
I read around, and found out that I can configure my project to use a Google Cloud SQL instance when it's deployed at Google, while using a local MySQL database while running locally on my development server.
The problem I ran in to now is that I can simply not press "Ok" in the eclipse dialog for configuring my local MySQL database? Well - I can, but with no result. No error message, no window close, no nothing.
I'm not really sure what I am doing wrong, but was hoping some wiz in here who has more experience than me with GAE have had a similar problem and a solution?
I've attached a picture of my local MySQL configuration:
http://imgur.com/0tjK7Sf
Thanks in advance
I have recently downloaded Electro Server 5.4.1 from Electrotank, I have started the SAFEMODE.exe and I can see the console, I then log on to the server using the adobe AIR program, I then go and start the ChatLogger and it can't connect, has anyone got any ideas on why this isn't working?
Canvas
extra tags ElectroServer, ElectroTank
I know this is an old question, and odds are you already got an answer to it on the Electrotank forums. Just in case somebody else has a similar problem: the ChatLogger code example requires the ChatLogger extension to be deployed.
You should also check that you can connect using one of the SimpleChat code examples which do not need any extension. If the Unity client works but AS3 doesn't, then you need to set your Flash global security settings to allow socket connections from that area of your hard drive.
I have two GeoServers running in the same machine Ubuntu Server 9.04. GeoServer V2.0.1 is running with Jetty and another GeoServer V2.0.0 is Tomcat. Both of them are using the same PostGis datastore.
When I post new shapefile via Rest api to GeoServer in Jetty, The GeoServer in Tomcat doesn't get update shapefile from PostGis.
It may have the way to tell GeoServer in Tomcat in configuration or service to reload shapefile.
To resolve this issue just reinstall GeoServer to the newer version 2.0.1 is Tomcat.
It seems GeoServer V2.0.0 has the bug.
What do you mean by posting a shapefile to geoserver. I ask because you in the next line expects postgis to be updated with this new data.
My guess is that in your jetty-installation you are not pointing to the postgis database, but directly to the shapefile. In the tomcat-installation you are pointing to the postgis table that you earlier has loaded to the database.
I am not familiar with what it means to load a shapefile via REST api to geoserver, but if you are supposed to get the new data out of PostGIS this process have to load the data into postgis, probably dropping the old table and creating this new table.
Again, my guess is that that is not happening, that you are just uploading the shapefile to the server, where the jetty-installation reads from the shape file.
Just a guess!
HTH
Nicklas