SOLVED - error sending pirep

Hello. Suddenly, two days ago, I got this error when sending the pirep.
The pirep arrives anyway but the button stays in File Flight

835596118errorpirep.JPG.255bcfd815b3776f6b54606d3b15d6ae.JPG

Try exiting and restarting a new flight.

 

If when starting Acars it say flight is in progress just say No to continue and the system will delete and prefiled pirep.

 

Failing that delete your data files and rescan the scenery and setup.

 

And last of all if that all fails delete entire Acars setup with data file and download a new one.

 

 

Regards

 

Doug

You need to look in the logs to see why it’s failing

The strange thing is that two days ago everything was fine.
I don’t understand much of this.

I can’t find another error

Email has not always worked. I was not able to configure it

The LOG laravel, the only thing I find after the pirep is this:

 

[2021-04-20 17:36:44] prod.INFO: NotificationEvents::onPirepFile: QdmJZYk0BDGnvml8 filed  

[2021-04-20 17:36:52] prod.EMERGENCY: Error emailing admin ([email protected]). Error=Failed to authenticate on SMTP server with username “[email protected]” using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

". Authenticator PLAIN returned Expected response code 235 but got code “535”, with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

1 hour ago, jftejeiro said:

The strange thing is that two days ago everything was fine.

The LOG laravel, the only thing I find after the pirep is this:

 

Logs of acars (check acars logs folder), not logs of your phpvms/laravel.

 

And things do change 
 I was not sick 2 days before somebody passed me the famous covid-19

 

I did a short flight.
This is what is in the ACARS LOG:

 

04-20 20:56:33|INFO; On or crossing runway 21
04-20 20:56:33|DEBUG; Setting timer export interval to 15000s
04-20 20:56:56|INFO; On Taxi In, runway is null, GroundSpeed=28.06
04-20 20:56:56|INFO; StateView transition into Taxi In
04-20 20:56:56|INFO; State: Taxi In (43.299614x-8.379394)
04-20 20:56:56|INFO; Alt: 273.348449707031, Speed: 28.06
04-20 20:56:56|INFO; Flight Time: 24m 20s
04-20 20:56:56|INFO; Time (Sim/Client): 2021-04-20T16:56:59Z/2021-04-20T18:56:56Z
04-20 20:56:57|INFO; Setting flight phase to Taxi In
04-20 20:56:57|INFO; On or crossing runway 03
04-20 20:57:00|INFO; Landing lights turned off
04-20 20:58:16|INFO; Handling action button, val=End Flight
04-20 20:58:16|INFO; Checking for arrived, parking brake=True
04-20 20:58:16|INFO; StateView transition into Arrived
04-20 20:58:16|INFO; State: Arrived (43.301145x-8.382473)
04-20 20:58:16|INFO; Alt: 272.891448974609, Speed: 0
04-20 20:58:16|INFO; Flight Time: 25m 40s
04-20 20:58:16|INFO; Time (Sim/Client): 2021-04-20T16:58:19Z/2021-04-20T18:58:16Z
04-20 20:58:16|INFO; Moved into arrived state
04-20 20:58:16|INFO; Current time: 2021-04-20T16:58:19Z
04-20 20:58:16|INFO; Blocks on time: 2021-04-20T16:58:19Z
04-20 20:58:16|INFO; Blocks on time (actual): 2021-04-20T18:58:16Z
04-20 20:58:16|INFO; Flight Time: 25m 40s
04-20 20:58:16|INFO; Flight Time (Min): 25
04-20 20:58:16|INFO; Flight Time (Raw): 00:25:40.6187449
04-20 20:58:16|INFO; Field Taxi In Time=1m 43s
04-20 20:58:16|INFO; Taxi In Time: 1m 43s
04-20 20:58:16|INFO; Field Blocks On Time (Sim)=2021-04-20T16:58:19Z
04-20 20:58:16|INFO; Field Blocks On Time (Real)=2021-04-20T18:58:16Z
04-20 20:58:16|INFO; Blocks on time: 2021-04-20T18:58:16Z
04-20 20:58:17|INFO; Field Arrival Gate=Gate 13 (Gate Medium)
04-20 20:58:17|INFO; Arrived at gate: Gate 13 (Gate Medium)
04-20 20:58:17|INFO; FlightComplete, calling stop
04-20 20:58:17|INFO; Creating PIREP summary
04-20 20:58:17|INFO; Setting flight phase to Arrived
04-20 20:58:37|INFO; Handling action button, val=File Flight

04-20 20:58:47|INFO; Connection to phpVMS timed out, trying again
04-20 20:58:47|ERROR; AcarsLib.Errors.RequestError: Connection timed out
04-20 20:58:47|INFO; Error filing PIREP!
04-20 20:58:47|INFO; MessageBox, message=There was an error filing the PIREP
04-20 21:00:50|INFO; Handling action button, val=File Flight
04-20 21:01:00|INFO; Connection to phpVMS timed out, trying again
04-20 21:01:00|ERROR; AcarsLib.Errors.RequestError: Connection timed out
04-20 21:01:00|INFO; Error filing PIREP!
04-20 21:01:00|INFO; MessageBox, message=There was an error filing the PIREP
04-20 21:01:03|INFO; Handling action button, val=File Flight
04-20 21:01:13|INFO; Connection to phpVMS timed out, trying again
04-20 21:01:13|ERROR; AcarsLib.Errors.RequestError: Connection timed out
04-20 21:01:13|INFO; Error filing PIREP!
04-20 21:01:13|INFO; MessageBox, message=There was an error filing the PIREP

 

 

 

 

The strange thing is that the PIREP did arrive in the administration panel. But every time you press the button to send the ACARS pyrep, it gives the error

Seems like you are not able to connect to your site 
 Either it may be a server issue or a local issue (firewall , router, security software etc) blocking connection (and api access)

 

04-20 20:58:47|INFO; Connection to phpVMS timed out, trying again
04-20 20:58:47|ERROR; AcarsLib.Errors.RequestError: Connection timed out

 

But we are 8 pilots and it happens to all of us

Then it is something with your hosting / server 


 

If you are able to visit your site and your pirep is displayed at the site, then this means that you are able to send data but not able to get proper response back. This may be the reason acars keeps the button file flight enabled.

 

And if you really did not changed nothing on your server and phpvms install/configuration, then you may need to consult your hosting provider. It may be a security measure kicking in and blocking api responses going out somehow.

1 Like

The other thing is your email is failing - that could be causing an error too, because emails will be sent out. But yes, there is something wrong on your server side.

14 hours ago, Nabeel said:

The other thing is your email is failing - that could be causing an error too, because emails will be sent out. But yes, there is something wrong on your server side.

 

Well, I no longer know what to do with the mail, I tried several configuration options and they all fail.
Can you give me an example configuration to try to copy it?

3 hours ago, jftejeiro said:

 

Well, I no longer know what to do with the mail, I tried several configuration options and they all fail.
Can you give me an example configuration to try to copy it?

 

It’s saying authentication failed
 you might need to contact your host about that

Los técnicos de hosting me preguntan:

1.- Si la pågina realiza alguna conexión externa a través de API.?
2.- En caso afirmativo, quĂ© URL o IP es, para comprobar si existe algĂșn bloqueo.

 

Los técnicos me dicen:

En realidad, el desarrollador debería tener algo mås específico, si es algo relacionado con el hosting, tenemos el motivo exacto y qué configuración necesitamos revisar para reportarlo a los administradores del sistema. Dado que el dominio estå funcionando y el hosting también.

Y me envĂ­an estas capturas de pantalla

 

Submit a ticket to vmsHost

 

 

 

 

6 hours ago, jftejeiro said:

Los técnicos de hosting me preguntan:

1.- Si la pågina realiza alguna conexión externa a través de API.?
2.- En caso afirmativo, quĂ© URL o IP es, para comprobar si existe algĂșn bloqueo.

 

Los técnicos me dicen:

En realidad, el desarrollador debería tener algo mås específico, si es algo relacionado con el hosting, tenemos el motivo exacto y qué configuración necesitamos revisar para reportarlo a los administradores del sistema. Dado que el dominio estå funcionando y el hosting también.

Y me envĂ­an estas capturas de pantalla

 

Submit a ticket to vmsHost

 

 

 

 

 

Translation

Quote

Hosting technicians ask me:

1.- If the page makes any external connection through API.?

2.- If so, what URL or IP it is, to check if there is a blockage.

 

The technicians tell me:

Actually, the developer should have something more specific, if it is something related to hosting, we have the exact reason and what configuration we need to review to report it to the system administrators. Since the domain is working and so is the hosting.

And they send me these screenshots

 

Can you post the screenshots?

Who is your hosting company?

Many thanks to everyone and Nabeel Shahzad

The problem was solved.
They have helped me on vmshost
Turns out there was an error in the env.php config file
It was resolved as follows:

Change this line:
SITE_URL = ‘’

To be

APP_URL = ‘YOUR URL’

And obviously put your url there. There was a bug in one of the development versions where that was wrong

1 Like