Otap BGS5 IO Error | Telit Cinterion IoT Developer Community
July 22, 2019 - 3:58pm, 2320 views
Hello,
I am trying to do an OTAP installation.
The problem is that I always receive the message
[OTAP] Transfer finished.
[OTAP] DONE with status: IO Error
[OTAP] operation failed"
I checked the MIME type on my server
.jad => text/vnd.sun.j2me.app-descriptor
.jar => application/java-archive jar
Here is the ATI1 result
Cinterion
BGS5
REVISION 01.100
A-REVISION 00.000.21
Any suggestion?
Hello,
Please paste the complete OTAP tracer log and share some information about OTAP configuration (AT^SJOTAP? output).
Is there any additional logic on the server for OTAP? Are you able to download the MIDlet via web browser?
Please also paste AT^SJMSEC? output.
Regards,
Bartłomiej
I am using SMS to do otap
OTAP_IMPNG\n
PWD:1314383556\n
APNORNUM:ibox.tim.it\n
JADURL:***/otap416/rpp.jad\n
APPDIR:a:\n
BEARER:gprs\n
START:install\n
which is translated to
AT+CMGF=0
AT+CMGS=147
0011000C919333813003730014AA854F5441505F494D504E470A5057443A313331343338333535360A41504E4F524E554D3A69626F782E74696D2E69740A4A414455524C3A687474703A2F2F7376632E6D65786167652E6E65742F727070632F6F7461703431362F7270702E6A61640A4150504449523A613A0A4245415245523A677072730A53544152543A696E7374616C6C0A
the log trace is
[OTAP] Parameters set via AT command:
[OTAP] SM Pwd: 1314383556
[OTAP] no sms PID check: off
[OTAP] hide HTTTP authentication params: off
[OTAP] ====================================================================
[OTAP] Parameters for current procedure:
[OTAP] JAD File URL: ***/otap416/rpp.jad
[OTAP] Http User:
[OTAP] Http Pwd:
[OTAP] Bearer: GPRS
[OTAP] Apn Or Num: ibox.tim.it
[OTAP] Net User:
[OTAP] Net Pwd:
[OTAP] Dns: 0.0.0.0
[OTAP] Notify URL:
[OTAP] no sms PID check: off
[OTAP] hide HTTTP authentication params: off
[OTAP] ====================================================================
[OTAP] Starting OTAP download operation
[OTAP] Stopping all midlets
[OTAP] midlets stopped
[OTAP] PS Detach
[OTAP] Starting installation
[OTAP] Try to get ***/otap416/rpp.jad ...
[OTAP] Transfer finished.
[OTAP] JAR file download
[OTAP] Try to get ***/rppc/otap416/Rpp.jar ...
[OTAP] Transfer finished.
[OTAP] Installation completed with result: 907 Invalid JAR
[OTAP] No NotifyURL set. Not posting result.
[OTAP] DONE with status: Invalid JAR Type
[OTAP] operation failed
[OTAP] Reboot now.
thank you
Hello,
So now we have a different error. However this error indicates a problem with jar file. If this MIDlet installs locally without a problem this could mean that there is still some problem with server settings. I tried with some other module and got the same 907 result - BTW maybe you should hide the links.
Maybe you should try 'application/java-archive' MIME setting for jar instead of 'application/java-archive jar' - I think that it would be more appropriate.
Regards,
Bartłomiej
Thank you Bartłomiej, it worked. The problem was the MIME type.
Best Regards