Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19162 > unrolled thread

PHP Errors

Started bydoctor@doctor.nl2k.ab.ca (The Doctor)
First post2022-11-18 15:02 +0000
Last post2022-12-03 15:13 +0000
Articles 20 on this page of 21 — 4 participants

Back to article view | Back to comp.lang.php


Contents

  PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-18 15:02 +0000
    Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-19 17:23 +0100
      Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 02:51 +0000
        Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-11-20 12:05 +0100
          Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 13:56 +0000
            Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-11-20 17:44 +0100
              Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 22:39 +0000
            Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-20 20:18 +0100
              Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 22:43 +0000
        Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-20 20:17 +0100
          Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-20 22:42 +0000
            Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-11-21 07:08 +0100
              Re: PHP Errors Arno Welzel <usenet@arnowelzel.de> - 2022-11-21 18:58 +0100
                Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-22 21:38 +0000
                  Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-11-30 23:36 +0000
                    Re: PHP Errors "J.O. Aho" <user@example.net> - 2022-12-01 09:16 +0100
                      Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-01 13:10 +0000
                        Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-02 16:25 +0000
                          Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-02 21:42 +0000
                            Re: PHP Errors Jerry Stuckle <stuckle.jerry@gmail.com> - 2022-12-02 23:46 -0500
                              Re: PHP Errors doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-12-03 15:13 +0000

Page 1 of 2  [1] 2  Next page →


#19162 — PHP Errors

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-18 15:02 +0000
SubjectPHP Errors
Message-ID<tl86qu$1kra$92@gallifrey.nk.ca>
I am seeing weird errors as follows:


2022/11/17 21:09:25 [error] 48261#101347: *432718 FastCGI sent in stderr: "PHP message: PHP Warning:  An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /usr/home/klint/html/wp-admin/includes/plugin-install.php on line 183" while reading upstream, client: 75.156.190.254, server: performanceplanning.ca, request: "GET /wp-admin/plugin-install.php HTTP/3.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", referrer: "https://klint.ca/wp-admin/plugins.php"


and

2022/11/17 22:02:01 [error] 61870#100691: *77 FastCGI sent in stderr: "PHP messa
ge: PHP Fatal error:  Uncaught Error: Call to a member function getStatus() on null in /usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php:458
#0 /usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(641): serendipity_event_spartacus->fetchfile('https://raw.git...', '/usr/home/docto...', 43200, true)
#1 /usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php(1302): serendipity_event_spartacus->fetchOnline('sidebar')
#2 /usr/home/doctor/html/blog/serendipity/include/plugin_api.inc.php(1184): serendipity_event_spartacus->event_hook('backend_plugins...', Object(serendipity_property_bag), Array, NULL)
#3 /usr/home/doctor/html/blog/serendipity/include/admin/plugins.inc.php(160): serendipity_plugin_api::hook_event('backend_plugins...', Array)
#4 /usr/home/doctor/html/blog/serendipity/serendipity_admin.php(127): include('/usr/home/docto...')
  thrown in /usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 458" while reading response header from upstream, client: 75.156.190.254, server: www.nk.ca, request: "GET /~doctor/blog/serendipity/serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[adminAction]=addnew&serendipity[only_group]=UPGRADE&serendipity[token]=4baa76c4e646fa57664731401fd12b70 HTTP/3.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", referrer: "https://www.nk.ca/~doctor/blog/serendipity/serendipity_admin.php?serendipity[adminModule]=plugins"


  I wonder if there is a relation?

  Running nginx on FreeBSD with packet fitlering!
-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [next] | [standalone]


#19163

FromArno Welzel <usenet@arnowelzel.de>
Date2022-11-19 17:23 +0100
Message-ID<jtse8cFqphkU1@mid.individual.net>
In reply to#19162
The Doctor, 2022-11-18 16:02:

> I am seeing weird errors as follows:
> 
> 
> 2022/11/17 21:09:25 [error] 48261#101347: *432718 FastCGI sent in stderr: "PHP message: PHP Warning:  An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /usr/home/klint/html/wp-admin/includes/plugin-install.php on line 183" while reading upstream, client: 75.156.190.254, server: performanceplanning.ca, request: "GET /wp-admin/plugin-install.php HTTP/3.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", referrer: "https://klint.ca/wp-admin/plugins.php"

That says, that the server can not connect to wordpress.org. Propably
while trying to install or update a plugin. Maybe there is some
connectivitiy issue.

> and
> 
> 2022/11/17 22:02:01 [error] 61870#100691: *77 FastCGI sent in stderr: "PHP messa
> ge: PHP Fatal error:  Uncaught Error: Call to a member function getStatus() on null in /usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php:458
[...]

>   I wonder if there is a relation?
> 
>   Running nginx on FreeBSD with packet fitlering!

Looks like Serendipity tries to install or update a WordPress plugin and
your "nginx on FreeBSD with packet fitlering" prohibits the connection.


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#19164

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-20 02:51 +0000
Message-ID<tlc4nu$30se$55@gallifrey.nk.ca>
In reply to#19163
In article <jtse8cFqphkU1@mid.individual.net>,
Arno Welzel  <usenet@arnowelzel.de> wrote:
>The Doctor, 2022-11-18 16:02:
>
>> I am seeing weird errors as follows:
>> 
>> 
>> 2022/11/17 21:09:25 [error] 48261#101347: *432718 FastCGI sent in
>stderr: "PHP message: PHP Warning:  An unexpected error occurred.
>Something may be wrong with WordPress.org or this server&#8217;s
>configuration. If you continue to have problems, please try the <a
>href="https://wordpress.org/support/forums/">support forums</a>.
>(WordPress could not establish a secure connection to WordPress.org.
>Please contact your server administrator.) in
>/usr/home/klint/html/wp-admin/includes/plugin-install.php on line 183"
>while reading upstream, client: 75.156.190.254, server:
>performanceplanning.ca, request: "GET /wp-admin/plugin-install.php
>HTTP/3.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", referrer:
>"https://klint.ca/wp-admin/plugins.php"
>
>That says, that the server can not connect to wordpress.org. Propably
>while trying to install or update a plugin. Maybe there is some
>connectivitiy issue.
>
>> and
>> 
>> 2022/11/17 22:02:01 [error] 61870#100691: *77 FastCGI sent in stderr:
>"PHP messa
>> ge: PHP Fatal error:  Uncaught Error: Call to a member function
>getStatus() on null in
>/usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php:458
>[...]
>
>>   I wonder if there is a relation?
>> 
>>   Running nginx on FreeBSD with packet fitlering!
>
>Looks like Serendipity tries to install or update a WordPress plugin and
>your "nginx on FreeBSD with packet fitlering" prohibits the connection.
>

HOw do we test if this is the case?

BTW serendipity is not wordpress!


>
>-- 
>Arno Welzel
>https://arnowelzel.de
>


-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19165

From"J.O. Aho" <user@example.net>
Date2022-11-20 12:05 +0100
Message-ID<jtufvaFncdsU1@mid.individual.net>
In reply to#19164
On 20/11/2022 03.51, The Doctor wrote:
> Arno Welzel  <usenet@arnowelzel.de> wrote:

>> Looks like Serendipity tries to install or update a WordPress plugin and
>> your "nginx on FreeBSD with packet fitlering" prohibits the connection.
>>
> 
> HOw do we test if this is the case?

First see if you can resolve the domain name to an ip on the machine

host wordpress.org

also check if you can connect to it

wget -S https://wordpress.org


> BTW serendipity is not wordpress!

It's trying to access https://raw.git... but what the full domain name 
is you should find in the php files somewhere or in the database.

-- 
  //Aho

[toc] | [prev] | [next] | [standalone]


#19166

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-20 13:56 +0000
Message-ID<tldbm4$2ln$98@gallifrey.nk.ca>
In reply to#19165
In article <jtufvaFncdsU1@mid.individual.net>,
J.O. Aho <user@example.net> wrote:
>On 20/11/2022 03.51, The Doctor wrote:
>> Arno Welzel  <usenet@arnowelzel.de> wrote:
>
>>> Looks like Serendipity tries to install or update a WordPress plugin and
>>> your "nginx on FreeBSD with packet fitlering" prohibits the connection.
>>>
>> 
>> HOw do we test if this is the case?
>
>First see if you can resolve the domain name to an ip on the machine
>
>host wordpress.org

wordpress.org has address 198.143.164.252
wordpress.org mail is handled by 10 mail.wordpress.org.

>
>also check if you can connect to it
>
>wget -S https://wordpress.org
>

wget -v -v -v -v -v -v -v -v -v -v  -S https://wordpress.org
--2022-11-20 06:54:04--  https://wordpress.org/
Resolving wordpress.org (wordpress.org)... 198.143.164.252
Connecting to wordpress.org (wordpress.org)|198.143.164.252|:443... failed: Operation timed out.
Retrying.

--2022-11-20 06:55:20--  (try: 2)  https://wordpress.org/
Connecting to wordpress.org (wordpress.org)|198.143.164.252|:443... 


>
>> BTW serendipity is not wordpress!
>
>It's trying to access https://raw.git... but what the full domain name 
>is you should find in the php files somewhere or in the database.
>

Looks like you snipped the error!

Hold on!

I am gettting

The URL http://s9y.org/mirror/package_sidebar_en.xml (IP 185.26.156.208) could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.
>-- 
>  //Aho
>


-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19167

From"J.O. Aho" <user@example.net>
Date2022-11-20 17:44 +0100
Message-ID<jtv3s0FncdsU2@mid.individual.net>
In reply to#19166
On 20/11/2022 14.56, The Doctor wrote:
> In article <jtufvaFncdsU1@mid.individual.net>,
> J.O. Aho <user@example.net> wrote:
>> On 20/11/2022 03.51, The Doctor wrote:

>>> HOw do we test if this is the case?
>>
>> First see if you can resolve the domain name to an ip on the machine
>> host wordpress.org
> 
> wordpress.org has address 198.143.164.252
> wordpress.org mail is handled by 10 mail.wordpress.org.

At least not dns issues.

>> also check if you can connect to it
>>
>> wget -S https://wordpress.org
>>
> 
> wget -v -v -v -v -v -v -v -v -v -v  -S https://wordpress.org
> --2022-11-20 06:54:04--  https://wordpress.org/
> Resolving wordpress.org (wordpress.org)... 198.143.164.252
> Connecting to wordpress.org (wordpress.org)|198.143.164.252|:443... failed: Operation timed out.
> Retrying.
> 
> --2022-11-20 06:55:20--  (try: 2)  https://wordpress.org/
> Connecting to wordpress.org (wordpress.org)|198.143.164.252|:443...
 >
> The URL http://s9y.org/mirror/package_sidebar_en.xml (IP 185.26.156.208) could not be opened.
> Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.

I would check the result of `pfctl -sr` to see if you have setup rules 
that may block traffic to or from the remote service. Sadly my BSD 
skills are minimal, so no further suggestions what to look at regarding 
firewall.

If you don't find anything in the firewall rules, you can also try to 
use tcptraceroute and see if you can get a route from you to 
wordpress/s9y.org

-- 
  //Aho





[toc] | [prev] | [next] | [standalone]


#19170

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-20 22:39 +0000
Message-ID<tleaa4$1ob4$52@gallifrey.nk.ca>
In reply to#19167
In article <jtv3s0FncdsU2@mid.individual.net>,
J.O. Aho <user@example.net> wrote:
>On 20/11/2022 14.56, The Doctor wrote:
>> In article <jtufvaFncdsU1@mid.individual.net>,
>> J.O. Aho <user@example.net> wrote:
>>> On 20/11/2022 03.51, The Doctor wrote:
>
>>>> HOw do we test if this is the case?
>>>
>>> First see if you can resolve the domain name to an ip on the machine
>>> host wordpress.org
>> 
>> wordpress.org has address 198.143.164.252
>> wordpress.org mail is handled by 10 mail.wordpress.org.
>
>At least not dns issues.
>
>>> also check if you can connect to it
>>>
>>> wget -S https://wordpress.org
>>>
>> 
>> wget -v -v -v -v -v -v -v -v -v -v  -S https://wordpress.org
>> --2022-11-20 06:54:04--  https://wordpress.org/
>> Resolving wordpress.org (wordpress.org)... 198.143.164.252
>> Connecting to wordpress.org (wordpress.org)|198.143.164.252|:443...
>failed: Operation timed out.
>> Retrying.
>> 
>> --2022-11-20 06:55:20--  (try: 2)  https://wordpress.org/
>> Connecting to wordpress.org (wordpress.org)|198.143.164.252|:443...
> >
>> The URL http://s9y.org/mirror/package_sidebar_en.xml (IP
>185.26.156.208) could not be opened.
>> Maybe the Serendipity or SourceForge.net Server is down - we are
>sorry, you need to try again later.
>
>I would check the result of `pfctl -sr` to see if you have setup rules 
>that may block traffic to or from the remote service. Sadly my BSD 
>skills are minimal, so no further suggestions what to look at regarding 
>firewall.

Too much info to reveal.

>
>If you don't find anything in the firewall rules, you can also try to 
>use tcptraceroute and see if you can get a route from you to 
>wordpress/s9y.org
>
>-- 
>  //Aho
>
>
>
>
>
>


-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19169

FromArno Welzel <usenet@arnowelzel.de>
Date2022-11-20 20:18 +0100
Message-ID<jtvcshFa31jU2@mid.individual.net>
In reply to#19166
The Doctor, 2022-11-20 14:56:

[...]
> Hold on!
> 
> I am gettting
> 
> The URL http://s9y.org/mirror/package_sidebar_en.xml (IP 185.26.156.208) could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.

Yes - you still have network issues. If you have set up some kind of
packet filter which forbids outgoing connections, then change that. Or
ask the administrator of your server hosting.


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#19172

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-20 22:43 +0000
Message-ID<tleai1$1ob4$54@gallifrey.nk.ca>
In reply to#19169
In article <jtvcshFa31jU2@mid.individual.net>,
Arno Welzel  <usenet@arnowelzel.de> wrote:
>The Doctor, 2022-11-20 14:56:
>
>[...]
>> Hold on!
>> 
>> I am gettting
>> 
>> The URL http://s9y.org/mirror/package_sidebar_en.xml (IP
>185.26.156.208) could not be opened. Maybe the Serendipity or
>SourceForge.net Server is down - we are sorry, you need to try again
>later.
>
>Yes - you still have network issues. If you have set up some kind of
>packet filter which forbids outgoing connections, then change that. Or
>ask the administrator of your server hosting.
>
>
>-- 
>Arno Welzel
>https://arnowelzel.de
>

I am the administrator.
-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19168

FromArno Welzel <usenet@arnowelzel.de>
Date2022-11-20 20:17 +0100
Message-ID<jtvcpcFa31jU1@mid.individual.net>
In reply to#19164
The Doctor, 2022-11-20 03:51:

> In article <jtse8cFqphkU1@mid.individual.net>,
> Arno Welzel  <usenet@arnowelzel.de> wrote:
[...]
>> Looks like Serendipity tries to install or update a WordPress plugin and
>> your "nginx on FreeBSD with packet fitlering" prohibits the connection.
>>
> 
> HOw do we test if this is the case?

I don't know your server setup. Only you can find this out.

However:

https://klint.ca/wp-admin/plugins.php

This looks like WordPress.

While this is Serendipity:

/usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php

I don't know why you have these errors. Only you can find this out.

> BTW serendipity is not wordpress!

I know. But I do not know how you run your server. Maybe you use both.


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#19171

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-20 22:42 +0000
Message-ID<tleah5$1ob4$53@gallifrey.nk.ca>
In reply to#19168
In article <jtvcpcFa31jU1@mid.individual.net>,
Arno Welzel  <usenet@arnowelzel.de> wrote:
>The Doctor, 2022-11-20 03:51:
>
>> In article <jtse8cFqphkU1@mid.individual.net>,
>> Arno Welzel  <usenet@arnowelzel.de> wrote:
>[...]
>>> Looks like Serendipity tries to install or update a WordPress plugin and
>>> your "nginx on FreeBSD with packet fitlering" prohibits the connection.
>>>
>> 
>> HOw do we test if this is the case?
>
>I don't know your server setup. Only you can find this out.
>
>However:
>
>https://klint.ca/wp-admin/plugins.php
>
>This looks like WordPress.
>
>While this is Serendipity:
>
>/usr/home/doctor/html/blog/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php
>
>I don't know why you have these errors. Only you can find this out.
>
>> BTW serendipity is not wordpress!
>
>I know. But I do not know how you run your server. Maybe you use both.
>


FYI

tcptraceroute wordpress.org
Selected device igb0, address 204.209.81.1, port 58686 for outgoing packets
Tracing the path to wordpress.org (198.143.164.252) on TCP port 80 (http), 30 hops max
 1  * *Fy

 G *
  2  * * *
   3  * * *
    4  * * *
     5  * * *



>
>-- 
>Arno Welzel
>https://arnowelzel.de
>


-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19173

From"J.O. Aho" <user@example.net>
Date2022-11-21 07:08 +0100
Message-ID<ju0iusFncdsU3@mid.individual.net>
In reply to#19171
On 20/11/2022 23.42, The Doctor wrote:

> tcptraceroute wordpress.org
> Selected device igb0, address 204.209.81.1, port 58686 for outgoing packets
> Tracing the path to wordpress.org (198.143.164.252) on TCP port 80 (http), 30 hops max
>   1  * *Fy
> 
>   G *
>    2  * * *
>     3  * * *
>      4  * * *
>       5  * * *

Feels like you have blocked outgoing http/https traffic, as I mentioned 
YOU have to check your firewall rules and adjust them, for you to see 
what rules are applied, review `pfctl -sr`.

-- 
  //Aho

[toc] | [prev] | [next] | [standalone]


#19175

FromArno Welzel <usenet@arnowelzel.de>
Date2022-11-21 18:58 +0100
Message-ID<ju1sieFlmsmU1@mid.individual.net>
In reply to#19173
The Doctor, 2022-11-21 15:08:

> In article <ju0iusFncdsU3@mid.individual.net>,
> J.O. Aho <user@example.net> wrote:
>> On 20/11/2022 23.42, The Doctor wrote:
>>
>>> tcptraceroute wordpress.org
>>> Selected device igb0, address 204.209.81.1, port 58686 for outgoing packets
>>> Tracing the path to wordpress.org (198.143.164.252) on TCP port 80
>> (http), 30 hops max
>>>   1  * *Fy
>>>
>>>   G *
>>>    2  * * *
>>>     3  * * *
>>>      4  * * *
>>>       5  * * *
>>
>> Feels like you have blocked outgoing http/https traffic, as I mentioned 
>> YOU have to check your firewall rules and adjust them, for you to see 
>> what rules are applied, review `pfctl -sr`.
>>
>> -- 
>>  //Aho
>>
> 
> pfctl -vsr
> 
> 
> Which gives

See the "block drop out" messages.

You need to enable outgoing traffic to wordpress.org

No, I don't know how you can do that - it's your server, so you have to
sort this out on your own.


-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#19177

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-22 21:38 +0000
Message-ID<tljfgj$27ek$46@gallifrey.nk.ca>
In reply to#19175
In article <ju1sieFlmsmU1@mid.individual.net>,
Arno Welzel  <usenet@arnowelzel.de> wrote:
>The Doctor, 2022-11-21 15:08:
>
>> In article <ju0iusFncdsU3@mid.individual.net>,
>> J.O. Aho <user@example.net> wrote:
>>> On 20/11/2022 23.42, The Doctor wrote:
>>>
>>>> tcptraceroute wordpress.org
>>>> Selected device igb0, address 204.209.81.1, port 58686 for outgoing packets
>>>> Tracing the path to wordpress.org (198.143.164.252) on TCP port 80
>>> (http), 30 hops max
>>>>   1  * *Fy
>>>>
>>>>   G *
>>>>    2  * * *
>>>>     3  * * *
>>>>      4  * * *
>>>>       5  * * *
>>>
>>> Feels like you have blocked outgoing http/https traffic, as I mentioned 
>>> YOU have to check your firewall rules and adjust them, for you to see 
>>> what rules are applied, review `pfctl -sr`.
>>>
>>> -- 
>>>  //Aho
>>>
>> 
>> pfctl -vsr
>> 
>> 
>> Which gives
>
>See the "block drop out" messages.
>
>You need to enable outgoing traffic to wordpress.org
>
>No, I don't know how you can do that - it's your server, so you have to
>sort this out on your own.
>
>
>-- 
>Arno Welzel
>https://arnowelzel.de
>

Tests yield wordpress.org is blocking a set of network addresses.

Now to figure out s9y.org .
-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19190

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-11-30 23:36 +0000
Message-ID<tm8pd5$edm$9@gallifrey.nk.ca>
In reply to#19177
In article <tljfgj$27ek$46@gallifrey.nk.ca>,
The Doctor <doctor@doctor.nl2k.ab.ca> wrote:
>In article <ju1sieFlmsmU1@mid.individual.net>,
>Arno Welzel  <usenet@arnowelzel.de> wrote:
>>The Doctor, 2022-11-21 15:08:
>>
>>> In article <ju0iusFncdsU3@mid.individual.net>,
>>> J.O. Aho <user@example.net> wrote:
>>>> On 20/11/2022 23.42, The Doctor wrote:
>>>>
>>>>> tcptraceroute wordpress.org
>>>>> Selected device igb0, address 204.209.81.1, port 58686 for outgoing packets
>>>>> Tracing the path to wordpress.org (198.143.164.252) on TCP port 80
>>>> (http), 30 hops max
>>>>>   1  * *Fy
>>>>>
>>>>>   G *
>>>>>    2  * * *
>>>>>     3  * * *
>>>>>      4  * * *
>>>>>       5  * * *
>>>>
>>>> Feels like you have blocked outgoing http/https traffic, as I mentioned 
>>>> YOU have to check your firewall rules and adjust them, for you to see 
>>>> what rules are applied, review `pfctl -sr`.
>>>>
>>>> -- 
>>>>  //Aho
>>>>
>>> 
>>> pfctl -vsr
>>> 
>>> 
>>> Which gives
>>
>>See the "block drop out" messages.
>>
>>You need to enable outgoing traffic to wordpress.org
>>
>>No, I don't know how you can do that - it's your server, so you have to
>>sort this out on your own.
>>
>>
>>-- 
>>Arno Welzel
>>https://arnowelzel.de
>>
>
>Tests yield wordpress.org is blocking a set of network addresses.
>
>Now to figure out s9y.org .

The issue with wordpress was a firewalling issue!

As for serendipity, from 
https://board.s9y.org/viewtopic.php?p=10455367#p10455367

From CLI

php testcode.php
Failed loading /usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so: Cannot open "/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so"
PHP Warning: PHP Startup: igbinary: Unable to initialize module
Module compiled with module API=20170718
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
curl seems to work PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
PHP Warning: file_get_contents(): Failed to enable crypto in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
PHP Warning: file_get_contents(https://raw.github.com/s9y/additional_p ... bar_en.xml): failed to open stream: operation failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
HTTP_Request2_ConnectionException: Unable to connect to tls://raw.github.com:443. Error: stream_socket_client(): unable to connect to tls://raw.github.com:443 (Unknown error)
stream_socket_client(): Failed to enable crypto
stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php on line 331
#0 /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php(331): HTTP_Request2_SocketWrapper->__construct('tls://raw.githu...', 10, Array)
#1 /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php(128): HTTP_Request2_Adapter_Socket->connect()
#2 /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2.php(941): HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
#3 /usr/home/doctor/html/blog/serendipity/testcode.php(31): HTTP_Request2->send()
#4 {main}PHP Notice: Undefined variable: response in /usr/home/doctor/html/blog/serendipity/testcode.php on line 39
PHP Fatal error: Uncaught Error: Call to a member function getBody() on null in /usr/home/doctor/html/blog/serendipity/testcode.php:39
Stack trace:
#0 {main}
thrown in /usr/home/doctor/html/blog/serendipity/testcode.php on line 39

Okay, so openssl.c afile is empty. I think that's around where the problem is. The error message showed PHP is failing to valdiate github's certificate:
CODE: SELECT ALL

 error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
 I assume there is something misconfigured, either the local cert collection is missing or can't be read by PHP. The server time is set correctly, right?

 As in https://github.com/composer/composer/issues/8312, you could try to download a fresh cacert.pem and configure PHP to use it for openssl, via the openssl.cafile setting. Otherwise you would need someone with knowledge about FreeBSD on what might be wrong with the cert chain here. This is likely a bug in FreeBSD.



There are new sets of certs for FreeBSD IIRC.

>-- 
>Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
>Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
>Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
>Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com


-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19191

From"J.O. Aho" <user@example.net>
Date2022-12-01 09:16 +0100
Message-ID<jur67aF9e4dU1@mid.individual.net>
In reply to#19190
On 01/12/2022 00.36, The Doctor wrote:

> php testcode.php
> Failed loading /usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so: Cannot open "/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so"

You should remove the loading of a module you don't use? Check your 
/etc/php or where you have your php config files.

> curl seems to work PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
> error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
> PHP Warning: file_get_contents(): Failed to enable crypto in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
> PHP Warning: file_get_contents(https://raw.github.com/s9y/additional_p ... bar_en.xml): failed to open stream: operation failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
> HTTP_Request2_ConnectionException: Unable to connect to tls://raw.github.com:443. Error: stream_socket_client(): unable to connect to tls://raw.github.com:443 (Unknown error)
> stream_socket_client(): Failed to enable crypto
> stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
> error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php on line 331

>   error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on line 15
>   I assume there is something misconfigured, either the local cert collection is missing or can't be read by PHP. The server time is set correctly, right?

Do you have the right package installed for ca certificates? Seems 
FreeBSD changed ca-root to ca_root_nss, see 
http://ootput.github.io/2011/09/25/ca-certificates-in-freebsd/


-- 
  //Aho

[toc] | [prev] | [next] | [standalone]


#19192

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-12-01 13:10 +0000
Message-ID<tma93i$aqo$61@gallifrey.nk.ca>
In reply to#19191
In article <jur67aF9e4dU1@mid.individual.net>,
J.O. Aho <user@example.net> wrote:
>On 01/12/2022 00.36, The Doctor wrote:
>
>> php testcode.php
>> Failed loading
>/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so: Cannot
>open "/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so"
>
>You should remove the loading of a module you don't use? Check your 
>/etc/php or where you have your php config files.
>
>> curl seems to work PHP Warning: file_get_contents(): SSL operation
>failed with code 1. OpenSSL Error messages:
>> error:1416F086:SSL routines:tls_process_server_certificate:certificate
>verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on
>line 15
>> PHP Warning: file_get_contents(): Failed to enable crypto in
>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15
>> PHP Warning: file_get_contents(https://raw.github.com/s9y/additional_p
>... bar_en.xml): failed to open stream: operation failed in
>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15
>> HTTP_Request2_ConnectionException: Unable to connect to
>tls://raw.github.com:443. Error: stream_socket_client(): unable to
>connect to tls://raw.github.com:443 (Unknown error)
>> stream_socket_client(): Failed to enable crypto
>> stream_socket_client(): SSL operation failed with code 1. OpenSSL
>Error messages:
>> error:1416F086:SSL routines:tls_process_server_certificate:certificate
>verify failed in
>/usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php on line 331
>
>>   error:1416F086:SSL
>routines:tls_process_server_certificate:certificate verify failed in
>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15
>>   I assume there is something misconfigured, either the local cert
>collection is missing or can't be read by PHP. The server time is set
>correctly, right?
>
>Do you have the right package installed for ca certificates? Seems 
>FreeBSD changed ca-root to ca_root_nss, see 
>http://ootput.github.io/2011/09/25/ca-certificates-in-freebsd/
>
Will do!

>
>-- 
>  //Aho


-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19193

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-12-02 16:25 +0000
Message-ID<tmd8t7$8u6$4@gallifrey.nk.ca>
In reply to#19192
In article <tma93i$aqo$61@gallifrey.nk.ca>,
The Doctor <doctor@doctor.nl2k.ab.ca> wrote:
>In article <jur67aF9e4dU1@mid.individual.net>,
>J.O. Aho <user@example.net> wrote:
>>On 01/12/2022 00.36, The Doctor wrote:
>>
>>> php testcode.php
>>> Failed loading
>>/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so: Cannot
>>open "/usr/local/lib/php/20131226-zts-debug/ioncube/ioncube_loader.so"
>>
>>You should remove the loading of a module you don't use? Check your 
>>/etc/php or where you have your php config files.
>>
>>> curl seems to work PHP Warning: file_get_contents(): SSL operation
>>failed with code 1. OpenSSL Error messages:
>>> error:1416F086:SSL routines:tls_process_server_certificate:certificate
>>verify failed in /usr/home/doctor/html/blog/serendipity/testcode.php on
>>line 15
>>> PHP Warning: file_get_contents(): Failed to enable crypto in
>>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15
>>> PHP Warning: file_get_contents(https://raw.github.com/s9y/additional_p
>>... bar_en.xml): failed to open stream: operation failed in
>>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15
>>> HTTP_Request2_ConnectionException: Unable to connect to
>>tls://raw.github.com:443. Error: stream_socket_client(): unable to
>>connect to tls://raw.github.com:443 (Unknown error)
>>> stream_socket_client(): Failed to enable crypto
>>> stream_socket_client(): SSL operation failed with code 1. OpenSSL
>>Error messages:
>>> error:1416F086:SSL routines:tls_process_server_certificate:certificate
>>verify failed in
>>/usr/home/doctor/html/blog/serendipity/bundled-libs/HTTP/Request2/Adapter/Socket.php on line 331
>>
>>>   error:1416F086:SSL
>>routines:tls_process_server_certificate:certificate verify failed in
>>/usr/home/doctor/html/blog/serendipity/testcode.php on line 15
>>>   I assume there is something misconfigured, either the local cert
>>collection is missing or can't be read by PHP. The server time is set
>>correctly, right?
>>
>>Do you have the right package installed for ca certificates? Seems 
>>FreeBSD changed ca-root to ca_root_nss, see 
>>http://ootput.github.io/2011/09/25/ca-certificates-in-freebsd/
>>
>Will do!
>
>>
>>-- 
>>  //Aho
>

Finally found the solution.

in your php.ini file set up the cainfo

settings.

Problem solved!
>
>-- 
>Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
>Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
>Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
>Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com


-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19194

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2022-12-02 21:42 +0000
Message-ID<tmdrh1$20pe$7@gallifrey.nk.ca>
In reply to#19193
Next problem to link mysql.socket for php 8 using mariadb 10.6 

-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Happy Christmas 2022 and Merry New Year 2023  Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#19195

FromJerry Stuckle <stuckle.jerry@gmail.com>
Date2022-12-02 23:46 -0500
Message-ID<tmekbm$39t4t$1@jstuckle.eternal-september.org>
In reply to#19194
On 12/2/2022 4:42 PM, The Doctor wrote:
> Next problem to link mysql.socket for php 8 using mariadb 10.6
> 

Just follow the instructions.  It works fine.

-- 
==================
Remove the "x"'s from my email address
Jerry Stuckle
stucklex.jerryx@gmail.com
==================

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.php


csiph-web