Gemalto is now part of the Thales Group, find out more.

You are here

EHS6 Rev 04.003 http connection immediately closed | Thales IoT Developer Community

May 6, 2021 - 9:06pm, 1843 views

 

EHS6 Rev 04.003 http connection immediately closed

Hello

I use the new  EHS6 Rev 04.003 but my software, previously running on EHS6 Rev 03.**** does mostly not connect.

I did implement the

try {

 

                  System.out.println("PdpErrCause:" + PdpErrCause);

                 

                  System.out.println("APN: " + APN);

 

                  System.out.println("BEARER state change: " + state);

 

                  System.out.println("BEARER ADDR: "

 

                  + BearerControl.GetBearerV4Addr(APN));

 

                  System.out.println("BEARER DNS1: "

 

                  + BearerControl.GetBearerV4Dns1(APN));

 

                  System.out.println("BEARER DNS2: "

 

                  + BearerControl.GetBearerV4Dns2(APN));

 

            } catch (IOException e) {

 

                  e.printStackTrace();

 

     

}

Already

Getting the following output:

PdpErrCause:0

APN: webaut

BEARER state change: 2

BEARER ADDR: 0.0.0.0

BEARER DNS1: 8.8.8.8

BEARER DNS2: 0.0.0.0

connecting

PdpErrCause:0

APN: webaut

BEARER state change: 3

BEARER ADDR: 10.58.155.31

BEARER DNS1: 8.8.8.8

BEARER DNS2: 0.0.0.0

connection up

PdpErrCause:0

APN: webaut

BEARER state change: 4

java.io.IOException: cannot resolve Addr

 - com.cinterion.io.BearerControl.GetBearerV4Addr(), bci=0

 - networklistener.stateChanged(networklistener.java:41)

 - com.cinterion.io.BearerControl$ListenThread.callListeners(), bci=207

 - com.cinterion.io.BearerControl$ListenThread.run(), bci=30

closing connection

PdpErrCause:0

APN: webaut

BEARER state change: 1

java.io.IOException: cannot resolve Addr

 - com.cinterion.io.BearerControl.GetBearerV4Addr(), bci=0

 - networklistener.stateChanged(networklistener.java:41)

 - com.cinterion.io.BearerControl$ListenThread.callListeners(), bci=207

 - com.cinterion.io.BearerControl$ListenThread.run(), bci=30

connection down

Any Exception IOError in socket::open = 0

I am stock solving the problem on my own. So I seek help in the forum.

Thanks

Sincerely

Jürgen