@naamah75 please share with us your sketch.
It is 100 req-sec
Iām running the sample schetch:
/**************************************************************
http://twitter.com/blynk_app
http://www.arduino.org/software
Pins 10, 11, 12 and 13 are reserved for Ethernet module.
DON'T use them in your sketch directly!
**************************************************************/
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <SPI.h>
#include <Ethernet2.h>
#include <BlynkSimpleEthernet2.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = āYourAuthTokenā;
void setup()
{
Serial.begin(9600);
Blynk.begin(auth);
// You can also specify server.
// For more options, see BoardsAndShields/Arduino_Ethernet_Manual example
//Blynk.begin(auth, āyour_server.comā, 8442);
//Blynk.begin(auth, IPAddress(192,168,1,100), 8888);
}
void loop()
{
Blynk.run();
}
Did you see sketch comments?
I was going to say I think you are missing your token.
Please paste the sketch again and then press the </> icon. I donāt need to see your token but I need to know it is not āYourAuthTokenā.
Yes I deleted the real token for privacyā¦
Sorry for the </>
Iāve examined my blynk.log on my serverā¦
Every time I try to connect the app the server throw this exception:
`17:22:30.420 INFO - naamah75@gmail.com hardware joined.
17:22:38.698 ERROR - Blynk server IOException.
java.io.IOException: Connessione interrotta dal corrispondente
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:357)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:898)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
17:22:45.463 INFO - naamah75@gmail.com hardware joined.
17:22:52.235 ERROR - Blynk server IOException.
java.io.IOException: Connessione interrotta dal corrispondente
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:357)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:898)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
`
Changed PIN, so now I not use 10,11,12 and 13, but the problem presist
Does your shield works without Blynk?
I just tested my W5500 with Arduino web server and web client sample sketches and seems to work very well.
I tested also my CC3000, this shield seem hang Arduino, but I would want to do more testing with this (even if the Arduino sample sketches seems to work).
Finally I try my ESP8266MOD⦠Eureka! this works with both custom and cloud server! No errors at all.
So⦠Now I have restricted the circleā¦
Okay⦠Iām very confused⦠I donāt know why⦠but today the W5500 works very well, no one disconnection.
Never is changed on my sketch and on my hardware.
Iāve just upgraded the app on my smartphone, but I think this isnāt related to my problem.