You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/04/26 17:24:05 UTC
[GitHub] [incubator-iotdb] SteveYurongSu edited a comment on pull request #777: [IoTDB-400] Support rest api
SteveYurongSu edited a comment on pull request #777:
URL: https://github.com/apache/incubator-iotdb/pull/777#issuecomment-619360460
There were some problems when I tried to use the Query History Visualization Tool.
I enanbled the setting `http_service` in iotdb-engine.properties and started the IoTDB server. I tried to visit the webpage `localhost:8181` but recieved the message `HTTP ERROR 404 Not Found`. The same problem would not be reproduced in release/0.9.2..
Then I tried to open the index.html file directly (by double-clink) and I found following problems.
1. The request of http://localhost:8181/rest/server_information was not polling, and the server information would not be updated after the page was loaded. (It seems that the same problem is in release/0.9.x)
2. When I sent the request 'http://localhost:8181/rest/sql_arguments' in the brower's address bar, I would recieved the right response. But I notied that when the brower sent the request in the background, the brower would recieved `Access to fetch at 'http://localhost:8181/rest/sql_arguments' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.` The recieved message could be found in the web console.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org