Author Topic: Local Update Tool Failed (Win 7)  (Read 2221 times)

SteveT

  • Newbie
  • *
  • Posts: 4
Local Update Tool Failed (Win 7)
« on: March 20, 2016, 07:09:27 pm »
I have had been unable to update SW on my Oak using the automatic method, both on my home wifi and the open wifi at the library.

I tried the Local Update Tool, but when I click on oakupsrv.exe a command window opens briefly then closes before I can see ny useful info. I then tried running it from a command window and I get the error message "Only one usage of each socket address is normally permitted" the full Traceback info is in the link below.

https://drive.google.com/file/d/0BxMbw2VIqtOwX1M0Q3FwOTF5WGM/view?usp=sharing

I am running Win 7 and it is a company supplied HP laptop so there might be some restrictions in the settings, but generally I am able to do what I want my it without too many limitations.

UPDATE Mar 26: Tried running in administrator mode but got the same failure.
« Last Edit: March 26, 2016, 09:51:26 am by SteveT »

mfelling

  • Newbie
  • *
  • Posts: 5
Re: Local Update Tool Failed (Win 7)
« Reply #1 on: March 20, 2016, 08:33:08 pm »
I was getting the same problems, I even ran as administrator, turned off Windows firewall and all other security items but still got the same error

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Local Update Tool Failed (Win 7)
« Reply #2 on: March 21, 2016, 01:29:12 pm »
This means Port 443 or 8080 is already in use or restricted from use - those ports will need to be free to use this tool.

defragster

  • Sr. Member
  • ****
  • Posts: 467
Re: Local Update Tool Failed (Win 7)
« Reply #3 on: March 22, 2016, 12:03:07 am »
Did you try to open a CMD window as Administrator?  Then from that command window start the oakupsrv.exe program?

  { tap start button - type cmd - right click on "command prompt" when offered and click 'run as administrator }

That will assure permissions - and also allow you to capture any failure notes.

I just ran this on WINDOWS 10 and it worked on my 6 oaks in combination with my Android phone.
« Last Edit: March 22, 2016, 12:41:50 am by defragster »

defragster

  • Sr. Member
  • ****
  • Posts: 467
Re: Local Update Tool Failed (Win 7)
« Reply #4 on: March 22, 2016, 01:14:48 am »
I just got this error because I had a prior instance of the tool in RAM I saw on task manager.  I ended that task and it started just fine.

Quote
Preparing SSL key
Fetching https://oakota.digistump.com/firmware/firmware_v1.bin
Fetching https://raw.githubusercontent.com/digistump/OakSoftAP/master/config.html
Traceback (most recent call last):
  File "<string>", line 255, in <module>
  File "<string>", line 234, in startup
  File "site-packages\twisted\internet\posixbase.py", line 478, in listenTCP
  File "site-packages\twisted\internet\tcp.py", line 984, in startListening
twisted.internet.error.CannotListenError: Couldn't listen on any:443: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
oakupsrv returned -1