luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.78k stars 465 forks source link

ESP3D 3.0 git with Octoprint socket connection #1035

Closed SOliver78 closed 4 months ago

SOliver78 commented 4 months ago

Hello, I have a problem connecting ESP3D 3.0 git to Octoprint. Octoprint 1.10.2 and Network-Printing Plugin (0.1.0) run with ESP3D 2.1.4 without any problems. With ESP3D 3.0 git I can't get a connection with socket://192.168.110.23:8282, even though the port is open according to nmap. Does anyone know the problem?

Why I want to use ESP3D 3.0 git? Because I want to use a WT32-ETH01 with LAN.

Thank you. Olli

github-actions[bot] commented 4 months ago

Thank your for submiting, please be sure you followed template or your issue may be dismissed. if you deleted the template it is here

luc-github commented 4 months ago

did you check the port is correct in your settings ?

SOliver78 commented 4 months ago

In ESP3D the following settings are set: 2024-07-09 14_47_37-esp3d – Mozilla Firefox In Octoprint the connection is: 2024-07-09 14_48_28-OctoPrint But after a few seconds, the status is offline: 2024-07-09 14_49_10-OctoPrint

The Octoprint server can reach the web socket port of the ESP3D: 2024-07-09 14_50_27-opp@optoprint_ ~

Is it possible, to look into any connection logs on the EDP3D?

luc-github commented 4 months ago

I am confused in 2.1 there is no websocket support for extra communication but you mention it works, are you sure you are not using telnet in 2.1 ?

in that case you should use port 23 and looking at octoprint UI I am pretty sure that is what they use socket is different than websocket

SOliver78 commented 4 months ago

In ESP3D 2.1 i used the data port für the socket connection in Octoprint: 2024-07-09 16_06_17-3D-Drucker-Wifi – Mozilla Firefox

Is it not the same as the websocket port in EDP3D 3.0? If not, where i can configure the data port in ESP3D 3.0? I have enabled the following in configuration.h: `/* Use Websocket server

luc-github commented 4 months ago

data port in 2.1 is the telnet port in 3.0 , it is raw tcp actually so based on your setting use the port 23 for your Network-Printing Plugin

using same port for different purpose between 2.1 and 3.0 is may be confusing, but it is not when you know what is for

luc-github commented 4 months ago

I guess issue is now fixed - I close ticket then

SOliver78 commented 4 months ago

Hi, yes if you know that it is the telnet port, it works now ;)

Thanks for the hint.

github-actions[bot] commented 4 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.