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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141029/db742ec4/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: Testing_with_HttpQueryTester_html_fails_1.png Type: image/png Size: 151521 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141029/db742ec4/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: Testing_with_HttpQueryTester_html_fails_2.png Type: image/png Size: 24962 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141029/db742ec4/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: Testing_with_HttpQueryTester_html_fails_3.png Type: image/png Size: 265318 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141029/db742ec4/attachment-0002.png>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy