geoserver.catalog.FailedRequestError: Tried to make a GET request to...
What helicopter has the most rotor blades?
Dinosaur Word Search, Letter Solve, and Unscramble
How do you cope with tons of web fonts when copying and pasting from web pages?
Twin's vs. Twins'
How do I say "this must not happen"?
Understanding piped commands in GNU/Linux
Are there any irrational/transcendental numbers for which the distribution of decimal digits is not uniform?
Is there a spell that can create a permanent fire?
One-one communication
How to resize main filesystem
Why are current probes so expensive?
Where did Ptolemy compare the Earth to the distance of fixed stars?
Weaponising the Grasp-at-a-Distance spell
First paper to introduce the "principal-agent problem"
How could a hydrazine and N2O4 cloud (or it's reactants) show up in weather radar?
Noise in Eigenvalues plot
How can I list files in reverse time order by a command and pass them as arguments to another command?
What are some likely causes to domain member PC losing contact to domain controller?
What is the proper term for etching or digging of wall to hide conduit of cables
Does the universe have a fixed centre of mass?
How to make an animal which can only breed for a certain number of generations?
What did Turing mean when saying that "machines cannot give rise to surprises" is due to a fallacy?
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
Does the main washing effect of soap come from foam?
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8080/geoserver/workspaces.xml but got a 404 status code
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?GeoServer sub-domain, where to place a HTML file404 Not Found for geoserver http://localhost:8080/geoserver after installHow to host and launch new html files under Geoserver installationadapting cql openlayers on localhostCannot access GeoServer on http://localhost:8080/geoserver/webGeoserver Services not available after restartHTTP 500 error while open http://localhost:8080/geoserver/web in windows 10Geoserver Admin not launching http://localhost:8080/geoserver/webGeoserver on MacCannot access GeoServer on http://localhost:8080/geoserver
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm trying connect to geoserver via rest protocol by gsconfig-py3 in python3 ,I get this error, but when I type "http://localhost:8080/geoserver/rest" in browser I can see these items moreover when I click on each of them I can see content of them:
for more information I'm using:
OS LMDE 3 X64 (Debian 9),
GeoServer 2.15.0,
Python version:3.7.3
Geoserver Configuration API
- about/manifest
- about/status
- about/version
- fonts
- index
- layergroups
- layers
- namespaces
- resource
- security/acl/catalog
- security/acl/layers
- security/acl/rest
- security/acl/services
- security/masterpw
- security/roles
- security/self/password
- security/usergroup/groups
- security/usergroup/users
- services/wcs/settings
- services/wfs/settings
- services/wms/settings
- settings
- settings/contact
- styles
- templates
- workspaces
But when I try connect to geoserver via gsconfig-py3
for example below code:
from geoserver.catalog import Catalog
cat = Catalog("http://localhost:8080/geoserver/rest", username='admin', password='geoserver')
topp=cat.get_workspace("topp")
I get this error message:
Traceback (most recent call last):
File "/home/killercode/Desktop/test_version.py", line 3, in <module>
topp=cat.get_workspace("topp")
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 945, in get_workspace
candidates = [w for w in self.get_workspaces() if w.name == name]
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 940, in get_workspaces
description = self.get_xml(rest_url)
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 158, in get_xml
text
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8080/geoserver/workspaces.xml but got a 404 status code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /geoserver/workspaces.xml. Reason:
<pre> Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.12.v20180830</a><hr/>
</body>
</html>
How I can fix this problem?
geoserver python-3 gsconfig
add a comment |
I'm trying connect to geoserver via rest protocol by gsconfig-py3 in python3 ,I get this error, but when I type "http://localhost:8080/geoserver/rest" in browser I can see these items moreover when I click on each of them I can see content of them:
for more information I'm using:
OS LMDE 3 X64 (Debian 9),
GeoServer 2.15.0,
Python version:3.7.3
Geoserver Configuration API
- about/manifest
- about/status
- about/version
- fonts
- index
- layergroups
- layers
- namespaces
- resource
- security/acl/catalog
- security/acl/layers
- security/acl/rest
- security/acl/services
- security/masterpw
- security/roles
- security/self/password
- security/usergroup/groups
- security/usergroup/users
- services/wcs/settings
- services/wfs/settings
- services/wms/settings
- settings
- settings/contact
- styles
- templates
- workspaces
But when I try connect to geoserver via gsconfig-py3
for example below code:
from geoserver.catalog import Catalog
cat = Catalog("http://localhost:8080/geoserver/rest", username='admin', password='geoserver')
topp=cat.get_workspace("topp")
I get this error message:
Traceback (most recent call last):
File "/home/killercode/Desktop/test_version.py", line 3, in <module>
topp=cat.get_workspace("topp")
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 945, in get_workspace
candidates = [w for w in self.get_workspaces() if w.name == name]
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 940, in get_workspaces
description = self.get_xml(rest_url)
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 158, in get_xml
text
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8080/geoserver/workspaces.xml but got a 404 status code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /geoserver/workspaces.xml. Reason:
<pre> Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.12.v20180830</a><hr/>
</body>
</html>
How I can fix this problem?
geoserver python-3 gsconfig
add a comment |
I'm trying connect to geoserver via rest protocol by gsconfig-py3 in python3 ,I get this error, but when I type "http://localhost:8080/geoserver/rest" in browser I can see these items moreover when I click on each of them I can see content of them:
for more information I'm using:
OS LMDE 3 X64 (Debian 9),
GeoServer 2.15.0,
Python version:3.7.3
Geoserver Configuration API
- about/manifest
- about/status
- about/version
- fonts
- index
- layergroups
- layers
- namespaces
- resource
- security/acl/catalog
- security/acl/layers
- security/acl/rest
- security/acl/services
- security/masterpw
- security/roles
- security/self/password
- security/usergroup/groups
- security/usergroup/users
- services/wcs/settings
- services/wfs/settings
- services/wms/settings
- settings
- settings/contact
- styles
- templates
- workspaces
But when I try connect to geoserver via gsconfig-py3
for example below code:
from geoserver.catalog import Catalog
cat = Catalog("http://localhost:8080/geoserver/rest", username='admin', password='geoserver')
topp=cat.get_workspace("topp")
I get this error message:
Traceback (most recent call last):
File "/home/killercode/Desktop/test_version.py", line 3, in <module>
topp=cat.get_workspace("topp")
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 945, in get_workspace
candidates = [w for w in self.get_workspaces() if w.name == name]
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 940, in get_workspaces
description = self.get_xml(rest_url)
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 158, in get_xml
text
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8080/geoserver/workspaces.xml but got a 404 status code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /geoserver/workspaces.xml. Reason:
<pre> Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.12.v20180830</a><hr/>
</body>
</html>
How I can fix this problem?
geoserver python-3 gsconfig
I'm trying connect to geoserver via rest protocol by gsconfig-py3 in python3 ,I get this error, but when I type "http://localhost:8080/geoserver/rest" in browser I can see these items moreover when I click on each of them I can see content of them:
for more information I'm using:
OS LMDE 3 X64 (Debian 9),
GeoServer 2.15.0,
Python version:3.7.3
Geoserver Configuration API
- about/manifest
- about/status
- about/version
- fonts
- index
- layergroups
- layers
- namespaces
- resource
- security/acl/catalog
- security/acl/layers
- security/acl/rest
- security/acl/services
- security/masterpw
- security/roles
- security/self/password
- security/usergroup/groups
- security/usergroup/users
- services/wcs/settings
- services/wfs/settings
- services/wms/settings
- settings
- settings/contact
- styles
- templates
- workspaces
But when I try connect to geoserver via gsconfig-py3
for example below code:
from geoserver.catalog import Catalog
cat = Catalog("http://localhost:8080/geoserver/rest", username='admin', password='geoserver')
topp=cat.get_workspace("topp")
I get this error message:
Traceback (most recent call last):
File "/home/killercode/Desktop/test_version.py", line 3, in <module>
topp=cat.get_workspace("topp")
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 945, in get_workspace
candidates = [w for w in self.get_workspaces() if w.name == name]
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 940, in get_workspaces
description = self.get_xml(rest_url)
File "/usr/local/lib/python3.7/site-packages/geoserver/catalog.py", line 158, in get_xml
text
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8080/geoserver/workspaces.xml but got a 404 status code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /geoserver/workspaces.xml. Reason:
<pre> Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.12.v20180830</a><hr/>
</body>
</html>
How I can fix this problem?
geoserver python-3 gsconfig
geoserver python-3 gsconfig
asked 6 mins ago
Predator XPredator X
532311
532311
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319482%2fgeoserver-catalog-failedrequesterror-tried-to-make-a-get-request-to-http-loca%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319482%2fgeoserver-catalog-failedrequesterror-tried-to-make-a-get-request-to-http-loca%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown