Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: Sprint 4.2.3, 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:WebUI
-
HD-Enabler:Real Virtual Interaction
Description
Java version: java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK Server VM (build 24.51-b03, mixed mode)
Priority: 5
Description:
We receive ‘ERROR 404 NOT FOUND’ when trying to post data to device_id
d23c058698435eff as suggested in the installation guide.
How to replicate:
Run the backend simulator:
$ java -jar MIWI-RealVirtualBackend-Release-3.3.3.jar -simulate
Execute in the browser the src/HttpQueryTester.html file acquired from the
GitHub repository. Set the following fields before submitting the form
named ‘3.POST command tester’ [check first screenshot]:
Device id: d23c058698435eff
Sensor id: test
Parameter: test
New value: test
The previous values were introduced as they were proposed as sample query
by the installation guide in this piece of test:
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: fi-fi,fi;q=0.8,en-us;q=0.5,en;q=0.3
Connection: keep-alive
Host: 127.0.0.1:44446
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:25.0) Gecko/20100101
Firefox/25.0
Content-Length: 81
Content-Type: application/x-www-form-urlencoded
action=update&device_id=d23c058698435eff&sensor_id=test¶meter=test&value=test
The screenshots attached show the reply from the server displayed both in
the browser and the command line:
Sending the test data from HttpQueryTester.html, it can be seen in
Testing_with_HttpQueryTester_html_fails_1.png
Reply from server, it can be seen in
Testing_with_HttpQueryTester_html_fails_2.png
Server output in command line, it can be seen in
Testing_with_HttpQueryTester_html_fails_3.png
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
Activity
- All
- Comments
- History
- Activity
- Transitions