MB Pro and weather34 template

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
meteolive57290
Senior Boarder
Senior Boarder
Posts: 62
Joined: Sat Dec 10, 2016 11:26 am

MB Pro and weather34 template

Post by meteolive57290 »

hello
your meteobridge pro is having some problems outputting the data string
since this morning my two templates are offline my meteobridges work for data reports I have the following log
an idea ?
thnx and best regards

http://seremange-meteolive.franceserv.c ... its=metric
http://valdefench57sgz.franceserv.com/pws/index.php

Code: Select all

http://seremange-meteolive.franceserv.com/pws/mbridge/mb.php?d=01/05/2020%2012:23:01%2011.6%2086.0%209.3%201.8%201.8%20315.0%200.0%208.0%201002.7%20181.0%202%20m/s%20C%20hPa%20mm%201.5%201002.7%208.0%20291.0%206.0%2022.1%2045.0%2011.2%209.7%2011.6%2020200501122047%208.1%2020200501080124%202.7%2020200501075634%206.3%2020200501103041%201003.5%2020200501003937%201002.2%2020200501100039%204.3%2013444%206.3%20CARAMBOLA2%20--%203.8%2010.0%20580.0%20253.0%200.0%209.3%2020200501120117%206.7%2020200501080124%2010.1%2020200430024943%2013.5%2020200418132225%20-10.8%2020200325143059%205.3%2094.0%2020200501074154%2085.0%2020200501000006%209.3%2020200501120117%206.7%2020200501080124%2011.2%2087.0%209.1%2021.9%2045%201.8%201.8%20--%20--%20--%20--%20--%20--%20886.0%208448%2013.8%2020200430141023%209.3%2020200430105932%2011.6%2020200501122047%208.1%2020200501080124%2025.1%2020200409165926%20-2.4%2020200122081856%207.2%2020200430081302%206.3%20202005011030
Attachments
Capture1.PNG
Capture1.PNG (7.4 KiB) Viewed 4330 times
pws_data.PNG
pws_data.PNG (8.82 KiB) Viewed 4334 times
Last edited by meteolive57290 on Fri May 01, 2020 12:30 pm, edited 1 time in total.
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: MB Pro and weather34 template

Post by weatherist34 »

i can help you if you send remote login to meteobridge pro via pm or email. we can then set it up temporarily to send to my test server . this way we can break it down and try to find exactly what has gone wrong ..brian
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: MB Pro and weather34 template

Post by weatherist34 »

so I have just added http://seremange-meteolive.franceserv.c ... dge/mb.php
into my meteobridge your site is now populating http://seremange-meteolive.franceserv.com/pws/index.php

so your meteobridge has an issue ?
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: MB Pro and weather34 template

Post by weatherist34 »

just to confirm .
serem.png
serem.png (60.19 KiB) Viewed 4316 times
so something deeper lies with the meteobridge pro .
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
meteolive57290
Senior Boarder
Senior Boarder
Posts: 62
Joined: Sat Dec 10, 2016 11:26 am

Re: MB Pro and weather34 template

Post by meteolive57290 »

@Brian :?: :?:
2 devices that have a problem today and only with the template when everything is ok for the other "Services" configured ?
thnx
Attachments
CaptureMB.PNG
CaptureMB.PNG (38.47 KiB) Viewed 4313 times
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: MB Pro and weather34 template

Post by weatherist34 »

let someone else chime in . but your meteobridge pro is producing an incorrect output it can clearly seen where % is being sent that should be a blank space.
my meteobridge connects to your server correctly as per screenshots shown.

http://seremange-meteolive.franceserv.com/pws/index.php using my meteobridge data and is running ok so it is not a template issue hence opening up this thread .
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 604
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: MB Pro and weather34 template

Post by wvdkuil »

@meteolive57290
As I said earlier and is now proved by Brian (weatherist34) it is not a weather34/ problem.

So lets eliminate all other possibilities.
Brian proposed to sent him your Meteobridge remote login URL and password.
Please do that so we can test if it is:
  • in the ?d=values
    The string copied by you is to short, there are more values, probably a forecast string
  • in the communication with your server or any server
    Brian's MB to your server = OK.
    Lets now test your MB to any other location.
So we can go step by step.
We can not "think" about this, we should "do something".

What you can do is check with your provider.

Wim
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: MB Pro and weather34 template

Post by weatherist34 »

something strange here so you need to look at closely server level ,did anything change .

I just entered my test folder url into your meteobridge pro with the remote login you just sent and it is all working with no errors for homeweatherstation

screen shot from your live data
5.png
5.png (159.45 KiB) Viewed 4304 times
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: MB Pro and weather34 template

Post by weatherist34 »

your code in a MBrealtimeupload.txt on my server generated by your meteobridge pro , I don't own a meteobridge pro but you can identify it by the
CARAMBOLA2 and the 13:22 which is your data . so you need to look closely at your server for any changes .this is not something I can look at when it is at server level

01/05/2020 13:22:01 11.9 83.0 9.1 1.3 2.7 69.0 0.0 8.0 1002.5 326.0 2 m/s C hPa mm 0.9 1002.8 8.0 291.0 6.0 22.2 45.0 10.9 11.6 12.2 20200501125141 8.1 20200501080124 2.7 20200501075634 6.3 20200501103041 1003.5 20200501003937 1002.2 20200501100039 4.3 13444 4.0 CARAMBOLA2 -- 1.9 9.8 292.0 336.0 0.0 9.4 20200501125327 6.7 20200501080124 10.1 20200430024943 13.5 20200418132225 -10.8 20200325143059 5.3 94.0 20200501074154 81.0 20200501123745 9.4 20200501125327 6.7 20200501080124 12.1 82.0 9.1 22.2 45 1.2 1.3 -- -- -- -- -- -- 886.0 1139 13.8 20200430141023 9.3 20200430105932 12.2 20200501125141 8.1 20200501080124 25.1 20200409165926 -2.4 20200122081856 7.2 20200430081302 6.3 20200501103041 17.0 20200210050627 6.0 8.0 20200501000006 291.0 20200210025631 886.0 20200501120315 856.0 20200430121406 886.0 20200501120315 1030.0 20200428133347 20200501120747 4.6 20200430121608 5.3 20200501120747 6.3 20200428132555 6.5 20200430105256 2 12.0 20200501104542 39.9 20190725164555 -11.7 20180228061500 24.0 20180726171230 -17.0 20180225150510 21.5 20190929223929 1005.4 20200430000038 1001.0 20200430171439 1003.5 20200501003937 1002.2 20200501100039 1046.3 20200120104316 986.6 20200227154550 1046.7 20161228092025 921.8 20170622215436 2182.2 9.6 2 56.8 14:40 12:55 03:46 0.9 94.0 20200501074154 81.0 20200501123745 99.0 20200108125643 17.0 20200415165926 92.0 20200430041446 73.0 20200430141943 0.0 0.0 10.8 817.0 -- 11.9 1002.4 2.0 1.3 302.2 9.1 0.0 83.0 8.3 1.0 20161203105058 20161203103431 20161203103746 20161219161634 20200101000048 333.0 25.1 20200409165926 -5.8 20200330080747 _Mostly cloudy and cooler. Precipitation possible within 12 hours, possibly heavy at times. Windy.
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: MB Pro and weather34 template

Post by weatherist34 »

this also means there is nothing wrong with with your meteobridge pro .
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 604
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: MB Pro and weather34 template

Post by wvdkuil »

weatherist34 wrote: Fri May 01, 2020 1:19 pm something strange here so you need to look at closely server level ,did anything change .
I just entered my test folder url into your meteobridge pro with the remote login you just sent and it is all working with no errors for homeweatherstation
screen shot from your live data 5.png
@meteolive57290
Proved
  • it is not weather34/
  • it is not the Meteobridge
  • it is not the data after ?d=
Well, you should really contact your provider and ask if some of your local-IP devices are added to a blacklist.
If both Meteobridges have a frequent upload, and are using HTTP-uploads to the same server-IP that can happen.

One other strange thing
If Brian can upload correct data, how can it disappear?
Brians data arrived -> it was displayed.
If your MB fails uploading, how can the data file become empty again?

It could be that the mb.php script is doing something before saving the data.
Maybe post a zip of the mb.php script? Mine is years old.

Wim
Elodie
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Fri May 01, 2020 2:23 pm

Re: MB Pro and weather34 template

Post by Elodie »

Hello,

I'm the Web Hosting Company and I identified the problem.

There are no blacklists, the HTTP status codes returned is "414" which mean "URI Too Long" following the RFC 7231.
https://en.wikipedia.org/wiki/List_of_H ... ent_errors

This "414" HTTP code is a protection against web attack, I will adjust the protections to help you all.

Thank you to informed me about this problem but you should probably convert your GET queries to POST method to avoid this 414 in future with web hosting companies.
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 604
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: MB Pro and weather34 template

Post by wvdkuil »

Just wonder, why if Brian's MB uploads the data to http://seremange-meteolive.franceserv.com/pws/index.php there is no error message. Although it is the same long string.

If all is working OK, fine with me. But strange story.

Wim
Post Reply