Server won't connect

8 years 7 months ago #2107 by Kisssys
Server won't connect was created by Kisssys
My first post, so bear with me. I the ESP8266 WiFi DS18B20 temperature sensor code running on a ESP8266. It appears to be working as I get a Connect

Connecting to AP........
WiFi connected
Temperature: 85.00
Temperature: 85.00
Temperature: 85.00
Temperature: 85.00
Temperature: 28.56
connection failed
Connecting to AP
WiFi connected
connection failed
Connecting to AP............


When I run the Windows server I see this in the command line.

2015-08-26T12:02:08.4877376-05:00 INFO System
System started
26-08-2015-12-02-09 Web service started
26-08-2015-12-02-09 Listening on port(s):80, 1302
2015-08-26T12:02:09.3145391-05:00 ERROR EasyIoTSMSInterface
Start:The given port name does not start with COM/com or does no
t resolve to a valid serial port.
Parameter name: portName, at System.IO.Ports.SerialStream..ctor(String portNa
me, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 read
Timeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rts
Enable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at SMSGateway.SMSService.open()
at SMSGateway.SMSService.Start()
2015-08-26T12:02:09.3301391-05:00 DEBUG MySensors
MySensors Disconnect
2015-08-26T12:02:09.3457392-05:00 DEBUG RPiGPIO
GPIO Disconnect
2015-08-26T12:02:09.3613392-05:00 DEBUG Esp8266
ESP8266 Connect
2015-08-26T12:02:09.3613392-05:00 DEBUG Esp8266
Server Started


I assume it's a failure to open the needed ports but to add the ports to my router requires I know the IP address of the device to
add which is not their long enough to see.

Am I on the right path or am I lost.

Cheers
Kisssys

Please Log in or Create an account to join the conversation.

8 years 7 months ago #2115 by EasyIoT
Replied by EasyIoT on topic Server won't connect

Kisssys wrote: My first post, so bear with me. I the ESP8266 WiFi DS18B20 temperature sensor code running on a ESP8266. It appears to be working as I get a Connect

Connecting to AP........
WiFi connected
Temperature: 85.00
Temperature: 85.00
Temperature: 85.00
Temperature: 85.00
Temperature: 28.56
connection failed
Connecting to AP
WiFi connected
connection failed
Connecting to AP............


When I run the Windows server I see this in the command line.

2015-08-26T12:02:08.4877376-05:00 INFO System
System started
26-08-2015-12-02-09 Web service started
26-08-2015-12-02-09 Listening on port(s):80, 1302
2015-08-26T12:02:09.3145391-05:00 ERROR EasyIoTSMSInterface
Start:The given port name does not start with COM/com or does no
t resolve to a valid serial port.
Parameter name: portName, at System.IO.Ports.SerialStream..ctor(String portNa
me, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 read
Timeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rts
Enable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at SMSGateway.SMSService.open()
at SMSGateway.SMSService.Start()
2015-08-26T12:02:09.3301391-05:00 DEBUG MySensors
MySensors Disconnect
2015-08-26T12:02:09.3457392-05:00 DEBUG RPiGPIO
GPIO Disconnect
2015-08-26T12:02:09.3613392-05:00 DEBUG Esp8266
ESP8266 Connect
2015-08-26T12:02:09.3613392-05:00 DEBUG Esp8266
Server Started


I assume it's a failure to open the needed ports but to add the ports to my router requires I know the IP address of the device to
add which is not their long enough to see.

Am I on the right path or am I lost.

Cheers
Kisssys


System.IO.Ports Error is not related with your problem. This is just error when EasyIoT server try to enable serial port for SMS gateway. Disable SMS gateway if you do not need it.
In your case it seems that your sensor can not see EasyIoT server - maybe it's firewall or IP address is wrong.

Please Log in or Create an account to join the conversation.

8 years 7 months ago #2129 by Kisssys
Replied by Kisssys on topic Server won't connect
Great!

Thanks for the response. I assumed the error prevented me from seeing the EasyIot server GUI. I changed the config xml to turn off SMS and I see no errors but I do not see the GUI in Win7 64bit to complete the process.

Please Log in or Create an account to join the conversation.

Time to create page: 0.221 seconds

Forum latest

  • No posts to display.