[OTAP] DONE with status: IO Error | Telit Cinterion IoT Developer Community
March 25, 2019 - 1:27pm, 3984 views
Hello!
ESH5-E
What is the problem?
[OTAP] Parameters set for current procedure:
[OTAP] JAD File URL: http://n910a8.beget.tech/HelloWorld.jad
[OTAP] Hide HTTP Authentication Params: off
[OTAP] Bearer: GPRS
[OTAP] Apn : static.beeline.ru
[OTAP] Ignore SMS PID Check: off
[OTAP] ====================================================================
[OTAP] Starting OTAP download operation
[OTAP] Stopping all midlets
[OTAP] Midlets stopped
[OTAP] PS detach success
[OTAP] Starting installation
[OTAP] Try to get http://n910a8.beget.tech/HelloWorld.jad ...
[OTAP] Transfer finished.
[OTAP] DONE with status: IO Error
[OTAP] Operation failed
[OTAP] Reboot now
Hello,
Please make sure that the HTTP server is set up to handle the correct MIME types for the .jar and .jad files. For jad files, the MIME type should be set to text/vnd.sun.j2me.app-descriptor. For jar files, the MIME type should be set to application/java-archive jar.
is it possible to download jad and jar files with a web browser? Is there any additional logic implemented on the server?
Please also send ATI1 reply.
Best regards,
Bartłomiej
Thank you a lot!
The problem in my HTTP server. How may i check MIME types?
I have use the setups (jad link) from https://iot-developer.thalesgroup.com/threads/otap-inside-midlet
It is working.
ATI1
Cinterion
EHS5-E
REVISION 03.001
A-REVISION 00.000.14
I have changed HTTP server. Problem was the MIME type. I use a free hosting.
[OTAP] PS detach success
[OTAP] Starting installation
[OTAP] Try to get http://iobox-001-site1.atempurl.com/HelloWorld.jad ...
[OTAP] Transfer finished.
[OTAP] Update of existing midlet
[OTAP] JAR file download
[OTAP] Try to get http://iobox-001-site1.atempurl.com/HelloWorld.jar ...
[OTAP] Transfer finished.
[OTAP] Installation completed with result: 900 Success
[OTAP] No NotifyURL set. Not posting result.
[OTAP] DONE with status: No Error
[OTAP] Operation OK
[OTAP] Reboot now
Hello,
Great! So it was the server configuration.
As for MIME setting in case of Apache server for example you can do this by editing HTTPD.conf file or adding/editing .htaccess file.
Best regards,
Bartłomiej