Community discussions

 
52516
just joined
Topic Author
Posts: 3
Joined: Sun Feb 10, 2019 4:16 pm

ERROR: bad HTTP response while trying to update

Mon Feb 11, 2019 4:32 pm

Hi,
I have the following Configuration:
VMware ESXi v6.7
installed version: CHR 6.43.8

update in winbox : system-packages-check for updates

then,ERROR message will display: “bad HTTP response”
what i have checked:
1,DNS,is ok!
2,firewall: disabled all firewall rules, NAT rules only left "srcnat-masquerade"

can anyone advise how to solve this issue_
Thanks!
bad.jpg
bad2.jpg
You do not have the required permissions to view the files attached to this post.
 
algisr
just joined
Posts: 13
Joined: Sat Apr 28, 2018 11:30 am

Re: ERROR: bad HTTP response while trying to update

Wed Feb 13, 2019 11:10 pm

If you're after update only then why not download update manually and add downloaded package to files via Winbox and reboot MikroTik?
 
User avatar
vecernik87
Member
Member
Posts: 432
Joined: Fri Nov 10, 2017 8:19 am

Re: ERROR: bad HTTP response while trying to update

Thu Feb 14, 2019 4:33 am

"Bad http response" sounds weird. It is like ROS received unexpected reply.
Fortunately, this can be debugged very easily with packet sniffer. If you don't want to dig into that, you can just download the package manually:
http://upgrade.mikrotik.com/routeros/6. ... .43.12.npk
or straight in ROS:
[admin@mikrotik] > /tool fetch url="http://upgrade.mikrotik.com/routeros/6.43.11/routeros-x86-6.43.11.npk"       
      status: finished
  downloaded: 19978KiB
       total: 19978KiB
    duration: 22s
If you see same size, you know it is right. However if you see different size (I assume there will be something really small) then it most likely means your HTTP transmission was altered by some middleman... Since it is just HTTP, there is no protection of transmission. Personally, I am really curious how long will it take till someone finds a way to hack RouterOS by spoofing downloaded packages with something else...
Anyway, if you download your file and it is not correct size, download it to your computer and have a look inside. Maybe it is some captive-portal http page or something else...

Who is online

Users browsing this forum: krafg, mozerd and 33 guests