Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot serialize xmlrpcresp objects whose content is native php values #1280

Open
Tsokotsa opened this issue Jun 12, 2023 · 0 comments
Open

Comments

@Tsokotsa
Copy link

I have a mailscanner running with mailwatch on a centralized environment. It is installed on Centos 7.9 with PHP 5.4.16
I have other clients running Mailscanner and everything works ok. However when emails are detected as SPAM, i am unable to view the area to release emails, and when i enable debug below is the error i get:

--GOT---
HTTP/1.1 200 OK
Date: Mon, 12 Jun 2023 06:01:32 GMT
Server: Apache/2.4.53 (CentOS Stream)
X-Powered-By: PHP/8.0.27
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: MW_LANG=en; path=/
Set-Cookie: PHPSESSID=oer0vriljoid6qn1eg6sosnrhq; path=/; HttpOnly
Connection: close
Content-Type: text/html; charset=UTF-8

cannot serialize xmlrpcresp objects whose content is native php values
---END---
HEADER: Date: Mon, 12 Jun 2023 06:01:32 GMT
HEADER: Server: Apache/2.4.53 (CentOS Stream)
HEADER: X-Powered-By: PHP/8.0.27
HEADER: X-XSS-Protection: 1; mode=block
HEADER: X-Frame-Options: SAMEORIGIN
HEADER: X-Content-Type-Options: nosniff
HEADER: Expires: Thu, 19 Nov 1981 08:52:00 GMT
HEADER: Cache-Control: no-store, no-cache, must-revalidate
HEADER: Pragma: no-cache
HEADER: Set-Cookie: PHPSESSID=oer0vriljoid6qn1eg6sosnrhq; path=/; HttpOnly
HEADER: Connection: close
HEADER: Content-Type: text/html; charset=UTF-8
XML error at line 1, check URL
XML-RPC Error: Invalid return payload: enable debugging to examine incoming payload (XML error at line 1, check URL)

==================
on the client side i use Centos Stream 9 and php 8.0.27

i am running postfix on both systems, apache.

I tried changing the xmlrpc version to 1.1 and still i get the same error. the current installed xml is 3.0 BETA.
mailwatch version 1.2.10

Screenshot 2023-06-12 at 08 25 23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant