Go Down

Topic: Arduino "Ports" Suddenly grayed out (Read 2448 times) previous topic - next topic

JP2222

I can confirm EXACTLY the same experience on my Win10 PC!

- If my ethernet cable is connected, my port option is greyed out.

- If I disconnect my ethernet cable, I can see all my ports!

What kind of nonsense is this?  Why do we require network connectivity to see our Com Ports?  This would indicate that online connectivity is required to use the IDE?  Why would that be?  Exactly what info is being exchanged?

Its also somewhat "comforting" that the Linux IDE is currently behaving the same as the Windows IDE...

Perhaps some online Arduino service is offline?  If so, why do we have this dependency?

(Thanks for a very astute observation!)


You have contradicted yourself here. Network connectivity is resulting in the IDE NOT to work. The connectivity is therefore resulting in the loss of functionality.

evanevery

Just checked back in with another Arduino developer in my company.  I noted previously that he did NOT see this issue but he also did NOT have ny Arduino connected at that time.  Once we introduce an Arduino into the equation he can replicate all these same observations!

So, currently, we can't do any Arduino programming or development unless our machines are disconnected from the Internet?  WTF?

I guess its time to fire up Wireshark to see exactly who the Arduino IDE is trying to talk with and what info its requesting/exchanging...

evanevery

You have contradicted yourself here. Network connectivity is resulting in the IDE NOT to work. The connectivity is therefore resulting in the loss of functionality.
(You are correct - I was editing my post as you posted)

JP2222

Running wireshark while starting the IDE, I can see a load of network traffic coming from arduino.
Notably contacting amazon webservices, must be the host for arduino.cc. Trying to compare the network traffic from 1.6.13 and 1.6.11 to see the difference.


Strange that if there is no response from the servers the IDE works.

gdsports

We are not alone.

https://old.reddit.com/r/arduino/comments/8r1304/no_access_to_serial_ports_after_os_upgrade/

https://github.com/arduino/Arduino/issues/7690

@JP2222 Thanks for making the discovery about disconnecting the network!

I noticed the IDE accesses api-builder.arduino.cc on startup (thank you wireshark) so I blocked access to this host. I added an entry to /etc/hosts like this to blacklist the host.

Code: [Select]
127.0.0.1       api-builder.arduino.cc

Now the IDE starts up with the serial ports listed immediately without having to disconnect the network cable.

Perhaps something has changed on api-builder.arduino.cc.

evanevery

I'm also seeing traffic to AWS just before the IDE "stabilizes"...


Notably a HTTP 301 "Moved Permanently" reply just before the IDE settles down:

1074   15.998826   184.73.237.236   10.100.1.1   HTTP   532   HTTP/1.1 301 Moved Permanently  (text/html)


Perhaps something is broken at AWS?  The IDE needs to be fixed to remove this dependency!


Why is our IDE contacting the api-builder web site anyway?  Someone vacuuming up a lot of code?  Grrr?


(Nice workaround hijacking api-builder.arduino.cc!!)

JP2222

I noticed the IDE accesses api-builder.arduino.cc on startup (thank you wireshark) so I blocked access to this host. I added an entry to /etc/hosts like this to blacklist the host.

Code: [Select]
127.0.0.1       api-builder.arduino.cc

Now the IDE starts up with the serial ports listed immediately without having to disconnect the network cable.

Perhaps something has changed on api-builder.arduino.cc.

Thank you very much for this, gets me going on a new IDE again. Hopefully someone gets to the bottom of what is happening, and takes away this unnecessary communication as well.

evanevery

It will be interesting to see exactly what info is being exchanged AFTER they get the AWS side up and running properly again...



A paranoid person (ahem), might think they could be:

- Collecting code?

- Using our machines for Crypto Mining?


;-)

rmtucker


Adding "127.0.0.1 api-builder.arduino.cc" to the Etc/Hosts file.

That worked a treat on ubuntu 16.04

Thank you :)  :)

rmtucker

According to:-
https://github.com/arduino/Arduino/issues/7690

It is all innocent and just a problem with a slow server. :smiley-confuse:

evanevery

Looks like everything is back to working again this morning.

Hopefully they have learned something from this and will remove that dependency from the IDE to avoid future issues...

Go Up