Comments (3)
@cyberplant: What do you get back for the DELL server if you do a GET /reset/IP
? Because if just doing a POST
on the server is going to be unreliable in return it might be necessary to query it using GET
first.
from hetzner.
GET /reset/IP
returns:
$ curl -sn https://robot-ws.your-server.de/reset/88.xxx.xxx.146 -vv
* Connected to robot-ws.your-server.de (78.46.1.93) port 443 (#0)
> GET /reset/88.198.113.146 HTTP/1.1
> Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> User-Agent: curl/7.36.0
> Host: robot-ws.your-server.de
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 15 May 2014 14:46:53 GMT
* Server Apache is not blacklisted
< Server: Apache
< X-Powered-By: PHP/5.3.28
< Content-Length: 78
< Content-Type: application/json
<
* Connection #0 to host robot-ws.your-server.de left intact
{"reset":{"server_ip":"88.xxx.xxx.146","server_number":325951,"type":["man"]}}
from hetzner.
This is the output for POST /reset/IP
> POST /reset/88.xxx.xxx.146 HTTP/1.1
> Authorization: Basic xxxxxxxxxxxxxxxxxxxx
> User-Agent: curl/7.36.0
> Host: robot-ws.your-server.de
> Accept: */*
> Content-Length: 7
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 400 Bad Request
< Date: Thu, 15 May 2014 14:51:19 GMT
< Server: Apache
< X-Powered-By: PHP/5.3.28
< Content-Length: 107
< Connection: close
< Content-Type: application/json
<
{"error":{"status":400,"code":"INVALID_INPUT","message":"invalid input","missing":null,"invalid":["type"]}}
from hetzner.
Related Issues (20)
- Branching/tags question HOT 2
- Check that Hetzner returns 2FA info message HOT 3
- update CA_ROOT_CERT_FALLBACK to current HOT 2
- robot access seems broken HOT 2
- Add host key checking for rescue system
- hetzner API broken?
- 401 - Unauthorized (401) HOT 2
- Documentation, ACTUAL documentation of how to use the library HOT 2
- Default certificate doesn't work on windows HOT 2
- RescueSystem.activate() is missing authorized_keys parameter in 0.8.3? HOT 2
- Compatibility issues on Windows HOT 1
- Add a password_command config option HOT 3
- hetznerctl list hangs HOT 1
- SSL Certificates Issue - 'CERTIFICATE_VERIFY_FAILED' HOT 1
- getting UNAUTHORIZED error HOT 1
- Support IPv6-only server and Colocation
- Deprecation: "arch" parameter got deprecated in API HOT 1
- Reset method "soft" does not work on AX servers HOT 3
- Login error from unexpected redirection
- hetznerctl reboot throws error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hetzner.