zabbix 5.4 Scheduled reports sending 404 error in PDF - zabbix

I've upgraded my zabbix to the latest version and i want to use Scheduled reports and after setting it up i get Report was successfully sent to: .But when i open the pdf file i get this :
and Log from zabbix_web_service.log
2021/05/25 12:07:42.592618 writing response for report request from
127.0.0.1:37234
2021/05/26 09:53:39.584874 received report request from
127.0.0.1:60450
2021/05/26 09:53:41.968368 writing response for report request from
127.0.0.1:60450
2021/05/26 09:59:44.456751 received report request from
127.0.0.1:33032
2021/05/26 09:59:46.289439 writing response for report request from
127.0.0.1:33032
I don't where the problem lays and i can't find answers since it's a recent version so if anyone is familiar please help

Check which Frontend URL you have specified in the settings. It should be the same one that you use to login to zabbix.

Related

"Script Error Displaying unprocessed Data

I am currently following the mulesoft fundamentals 4 module 5. as i have been following the guide i should be able to Make requests to the API proxy from Exchange. However, every-time i click send i get an Error; Script error. Displaying unprocessed data"
The Error message Below:
Script error. Displaying unprocessed data.
''''''
The image displays the error code
Thank You for your help
This is because the server is unreachable or bad gateway (502).Make sure the implementation URL which you provide to create proxy is working.In my case I have used https instead of http.

How to get json data using REST API for on-premise TFS

We have on-premise TFS Version 15.105.25910.0 i.e TFS 2017 and I am trying to get JSON data (let's say for a given Work Item id). I am using Postman to send/receive request. I was having an issue with permission denied then figured out a way to pass Personal access tokens in the request.
Our basic TFS Url looks like this:
http://tfs.blahblah.org:8080/TFS/MyOrgName/Software%20Group
How to correctly get JSON data?
Reference material used:
Reference 1
Reference 2
Currently I am getting 200 OK status but the content type is HTML which says Javascript is Disabled. Not sure where the problem is occuring?
Feel free to ask more info if needed.
First, you are using TFS 2017 RTM version, it's suggested to upgrade to the latest Update 3.1 edition.
Then, please check your Postman's version, make sure you are using the latest version v6.1.4. You could download the latest version from website below: https://www.getpostman.com/
Last, check whether you have correct api. The REST API to get a single work item is as below:
Get http://TFS2017:8080/tfs/DefaultCollection/_apis/wit/workitems/{id}?api-version=3.2
Attach a screenshot of the result in Postman:

Getting "The server encountered an error processing the request. See server logs for more details." when sending a POST via the Chrome Postman plugin

I have been looking for a way to understand the root cause of the "The server encountered an error processing the request. See server logs for more details." problem in my particular case but none of the existing online solutions addresses the problem I am about to describe.
I need to send POST requests with JSON payload {"userName", "Adnan"} to an Azure-based web service which eventually retrieves some database GPS records in a HTTP response. My initial attempt to test this POST request worked fine via Fiddler (See image below) and Android OKHttp libraries.
However, when I tested the same request over my ultimate 3G platform, it gave the above-mentioned error. I managed to replicate the same error with the Chrome Postman plugin (See image below). It must be noted that even if I am sending the data as a JSON payload, the same error appears on the Postman plugin. Almost all the solutions to this problem online suggest on tweaking the webservice itself which should not be the case as it works fine with Fiddler and Android. So - my question is why the POST request shown above is not working with the Postman plugin. I believe if the problem is resolved on Postman, it would be resolved on my 3G embedded board as well. Thank you.

implementing REST sdk for custom platform

I am implementing paypal REST integration for a new platform
I got stuck and would apprecıate any help
The interesting problem I get is the REST request I copied from the documentation page gives error. https://developer.paypal.com/docs/rest/api/payments/
I am not using command line but a little windows app to send web requests.
I just used exact same payload and got this error
The remote server returned an error: (503) Server Unavailable.
{"name":"INTERNAL_SERVICE_ERROR","information_link":"https://api.sandbox.paypal.com/docs/api/#INTERNAL_SERVICE_ERROR","debug_id":"c4a8716d8a791"}
The C# sample from the github works and when I use th json it generated everything works ok.
I found out that if I change the cardnumber the sample works. Will let paypal team now.

vimeo - video request API oauth_timestamp issue

I am creating web application using struts framework with WASCE server. In that I want to load the vimeo videos when the user enter their username. So that I have created the application in vimeo developer site and got the apiKey, apiSecret, token and secret values. I have applied these values into my code. I got the correct(with video urls) JSON response when I run in local.
But Whan I deployed it into the deticated server and check the response I got,
{"generated_in":"0.0039","stat":"fail","err":{"code":"401","expl":"The oauth_timestamp
passed is either too far in the past or in the future. Vimeo thinks the current time is
1379053244","msg":"Invalid \/ expired token"}}
I have searched about this issue and got some solution as follows.
Looks like your server's time is set incorrectly. Vimeo's API is time-sensitive to
within a few minutes. You should be able to ask your hosting provider to
correct the server's time.
Ref: http://community.tubepress.com/topic/287-vimeo-no-videos-to-populate-this-tubepress-gallery/?p=989
So that I have checked server time. My local time is 11.00AM, Server Time is 23.00PM. Now I changed the server time to 11.00AM(Because 11.00AM is working in localhost).
But Still I am getting the same issue. Can anyone tell me what may be the problem and how can I fix this.
Note:
I have changed the local time to 23:00PM and I got that "Invalid expired token" resonse. So again change it to 11.00AM, I got a correct response.