Error 1101: Unable To get aresponse with the specified URL

Can anyone help me to solve this error, I don't know how to solve it.

We do not know....

What should the response be ?
Can you access the url from your computer?
Can you access the url from the native browser on your device?
How are you handling the response (When web1.got text / file) ?

I'm sending information to an arduino, in my project I don't need an answer, I just sent this great.

And my two middle questions ?

in arduino and in the browser it works correctly, the arduino receives the sending, but the message appears on the screen.

can you help me how to solve my friend?

You are sending to a local IP address on your home network.

Is your AI2 test device using

  • WiFi, or
  • just its cellular data connection?

If it is only on cellular data, it can only see web addresses outside your network.

is using wifi

I don't see in your blocks image the Web1 .GotText event block where you would catch the response from the Arduino.

can you help me how to make this block?

What device are you using? Arduino with a Wifi module, ESP8266, ESP32,...?

nodemcu 8266

Have you searched for information in this Community?
https://community.appinventor.mit.edu/search?q=ESP8266

where can i find this ibipath?

Can anyone help me to solve this error, I don't know how to solve it.

#include <ESP8266WiFi.h>

#ifndef STASSID
#define STASSID "Landgraf"
#define STAPSK "manuepedro"
#endif
#define sol1 16 //solenoide 1
#define sol2 5 //solenoide 2
#define cont1 4 //contatora 1
#define cont2 0 //contatora 2
#define cont3 2 //contatora 3
#define res1 14 //resistencia 1
#define res2 12 //resistencia 2
#define res3 13 //resistencia 3
#define agu1 15 //agua

const char* ssid = STASSID;
const char* password = STAPSK;

//DEFINIÇÃO DE IP FIXO PARA O NODEMCU
IPAddress ip(192,168,0,115); //COLOQUE UMA FAIXA DE IP DISPONÍVEL DO SEU ROTEADOR. EX: 192.168.1.110 **** ISSO VARIA, NO MEU CASO É: 192.168.0.175
IPAddress gateway(192,168,0,254); //GATEWAY DE CONEXÃO (ALTERE PARA O GATEWAY DO SEU ROTEADOR)
IPAddress subnet(255,255,255,0);

// Create an instance of the server
// specify the port to listen on as an argument
WiFiServer server(80);

void setup() {
Serial.begin(9600);

pinMode(sol1, OUTPUT);
pinMode(sol2, OUTPUT);
pinMode(cont1, OUTPUT);
pinMode(cont2, OUTPUT);
pinMode(cont3, OUTPUT);
pinMode(res1, OUTPUT);
pinMode(res2, OUTPUT);
pinMode(res3, OUTPUT);
pinMode(agu1, OUTPUT);

// Connect to WiFi network
Serial.println();
Serial.println();
Serial.print("Conectando com");
Serial.println(ssid);

WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
WiFi.config(ip, gateway, subnet);

while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println();
Serial.println("WiFi conectado em :");

// Start the server
server.begin();
Serial.println("Server started");

// Print the IP address
Serial.println(WiFi.localIP());
}

void loop () {
// Check if a client has connected
WiFiClient client = server.available();
if (!client) {
return;
}
Serial.println("novo cliente");

client.setTimeout(5000); // default is 1000

// Read the first line of the request
String req = client.readStringUntil('\r');
Serial.println(req);
client.flush();

  if(req.indexOf("nor1") !=-1) {
    digitalWrite (sol2, HIGH);
    digitalWrite (cont1, HIGH);
    digitalWrite (cont2, HIGH);
    digitalWrite (cont3, HIGH);
    digitalWrite (res1, HIGH);
    digitalWrite (res2, HIGH);
    digitalWrite (res3, HIGH);
    digitalWrite (sol1, LOW);
    delay(1000);
    digitalWrite (agu1, LOW);

}

  if(req.indexOf("nor2") !=-1) {
    digitalWrite (sol1, HIGH);
    digitalWrite (cont1, HIGH);
    digitalWrite (cont2, HIGH);
    digitalWrite (cont3, HIGH);
    digitalWrite (res1, HIGH);
    digitalWrite (res2, HIGH);
    digitalWrite (res3, HIGH);
    digitalWrite (sol2, LOW);
    delay(1000);
    digitalWrite (agu1, LOW);

}

    if(req.indexOf("nor3") !=-1) {
    digitalWrite (cont1, HIGH);
    digitalWrite (cont2, HIGH);
    digitalWrite (cont3, HIGH);
    digitalWrite (res1, HIGH);
    digitalWrite (res2, HIGH);
    digitalWrite (res3, HIGH);
    digitalWrite (sol2, LOW);
    digitalWrite (sol1, LOW);  
    delay(1000);
    digitalWrite (agu1, LOW);
  }
    if(req.indexOf("ver1") !=-1) {
    digitalWrite (sol2, HIGH);
    digitalWrite (cont3, HIGH);
    digitalWrite (res3, HIGH);
    digitalWrite (sol1, LOW);
    delay(1000);
    digitalWrite (agu1, LOW);
    delay(2000);
    digitalWrite (cont1, LOW);
    digitalWrite (cont2, LOW);
    digitalWrite (res1, LOW);
    digitalWrite (res2, LOW);

}
if(req.indexOf("ver1") !=-1) {
digitalWrite (sol1, HIGH);
digitalWrite (cont3, HIGH);
digitalWrite (res3, HIGH);
digitalWrite (sol2, LOW);
delay(1000);
digitalWrite (agu1, LOW);
delay(2000);
digitalWrite (cont1, LOW);
digitalWrite (cont2, LOW);
digitalWrite (res1, LOW);
digitalWrite (res2, LOW);
}
if(req.indexOf("ver3") !=-1) {
digitalWrite (cont3, HIGH);
digitalWrite (res3, HIGH);
digitalWrite (sol1, LOW);
digitalWrite (sol2, LOW);
delay(1000);
digitalWrite (agu1, LOW);
delay(2000);
digitalWrite (cont1, LOW);
digitalWrite (cont2, LOW);
digitalWrite (res1, LOW);
digitalWrite (res2, LOW);
}
if(req.indexOf("inv1") !=-1) {
digitalWrite (cont2, HIGH);
digitalWrite (res2, HIGH);
digitalWrite (sol2, HIGH);
digitalWrite (sol1, LOW);
delay(1000);
digitalWrite (agu1, LOW);
delay(2000);
digitalWrite (cont1, LOW);
digitalWrite (cont3, LOW);
digitalWrite (res1, LOW);
digitalWrite (res3, LOW);
}
if(req.indexOf("inv2") !=-1) {
digitalWrite (cont2, HIGH);
digitalWrite (res2, HIGH);
digitalWrite (sol1, HIGH);
digitalWrite (sol2, LOW);
delay(1000);
digitalWrite (agu1, LOW);
delay(2000);
digitalWrite (cont1, LOW);
digitalWrite (cont3, LOW);
digitalWrite (res1, LOW);
digitalWrite (res3, LOW);
}
if(req.indexOf("inv3") !=-1) {
digitalWrite (cont2, HIGH);
digitalWrite (res2, HIGH);
digitalWrite (sol1, LOW);
digitalWrite (sol2, LOW);
delay(1000);
digitalWrite (agu1, LOW);
delay(2000);
digitalWrite (cont1, LOW);
digitalWrite (cont3, LOW);
digitalWrite (res1, LOW);
digitalWrite (res3, LOW);
}
if(req.indexOf("des") !=-1) {
digitalWrite (sol1, HIGH);
digitalWrite (sol2, HIGH);
digitalWrite (cont1, HIGH);
digitalWrite (cont2, HIGH);
digitalWrite (cont3, HIGH);
digitalWrite (res1, HIGH);
digitalWrite (res2, HIGH);
digitalWrite (res3, HIGH);
digitalWrite (agu1, HIGH);

    }
    if(req.indexOf("lig") !=-1) {
    digitalWrite (sol1, LOW);
    digitalWrite (sol2, LOW);
    digitalWrite (cont1, LOW);
    digitalWrite (cont2, LOW);
    digitalWrite (cont3, LOW);
    digitalWrite (res1, LOW);
    digitalWrite (res2, LOW);
    digitalWrite (res3, LOW);
    digitalWrite (agu1, LOW);
    
    }

client.print("http/1.1 200 OK");
client.print("Content-Type: text/html");
client.print("");

if(digitalRead(sol1))
{ client.print("solenoide1on");
}
else {
client.print("solenoide1of");
}
client.print(",");

if(digitalRead(sol2))
{ client.print("solenoide21on");
}
else {
client.print("solenoide2of");
}
client.print(",");

if(digitalRead(cont1))
{ client.print("contatora1on");
}
else {
client.print("contatora1of");
}
client.print(",");

if(digitalRead(cont3))
{ client.print("contatora2on");
}
else {
client.print("contatora2of");
}
client.print(",");

if(digitalRead(cont1))
{ client.print("contatora3on");
}
else {
client.print("contatora3of");
}
client.print(",");

if(digitalRead(res1))
{ client.print("resistencia1on");
}
else {
client.print("resistencia1of");
}
client.print(",");

if(digitalRead(res2))
{ client.print("resistencia2on");
}
else {
client.print("resistencia2of");
}
client.print(",");

if(digitalRead(res3))
{ client.print("resistencia3on");
}
else {
client.print("resistencia3of");
}
client.print(",");

if(digitalRead(agu1))
{ client.print("agu1on");
}
else {
client.print("agua1of");
}

// Send the response to the client


delay(1);

No need to make a new topic. I merged the topics.

can my friend help me with this programming?

Can someone help me ?