Unable to register ANY new instances #45

Open
opened 2025-02-04 15:16:40 +00:00 by creiss · 7 comments
Member

ALL instances (Mastodon) get

[2025-02-04 16:13:56] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor

Same for /inbox:

2025-02-04T16:15:30.580099+01:00 relay bash[240078]: [2025-02-04 16:15:30] INFO: 173.69.32.22 "POST /actor HTTP/1.1" 401 207 "Mastodon/4.3.3 (http.rb/5.2.0; +https://mastodon.tails.ch/)"
2025-02-04T16:15:30.580099+01:00 relay bash[240078]: [2025-02-04 16:15:30] INFO: 173.69.32.22 "POST /actor HTTP/1.1" 401 207 "Mastodon/4.3.3 (http.rb/5.2.0; +https://mastodon.tails.ch/)"
2025-02-04T16:15:31.266520+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: New "Follow" from actor: https://social.uggs.io/actor
2025-02-04T16:15:31.266520+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: New "Follow" from actor: https://social.uggs.io/actor
2025-02-04T16:15:31.289138+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor
2025-02-04T16:15:31.289138+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor
2025-02-04T16:15:31.290509+01:00 relay bash[240078]: [2025-02-04 16:15:31] INFO: 2a01:1f8:2000::37 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)"
2025-02-04T16:15:31.290509+01:00 relay bash[240078]: [2025-02-04 16:15:31] INFO: 2a01:1f8:2000::37 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)"

I have no items on my blacklists. Running 0.3.3 vs postgresql and redis.

ALL instances (Mastodon) get ``` [2025-02-04 16:13:56] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor ``` Same for /inbox: ``` 2025-02-04T16:15:30.580099+01:00 relay bash[240078]: [2025-02-04 16:15:30] INFO: 173.69.32.22 "POST /actor HTTP/1.1" 401 207 "Mastodon/4.3.3 (http.rb/5.2.0; +https://mastodon.tails.ch/)" 2025-02-04T16:15:30.580099+01:00 relay bash[240078]: [2025-02-04 16:15:30] INFO: 173.69.32.22 "POST /actor HTTP/1.1" 401 207 "Mastodon/4.3.3 (http.rb/5.2.0; +https://mastodon.tails.ch/)" 2025-02-04T16:15:31.266520+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: New "Follow" from actor: https://social.uggs.io/actor 2025-02-04T16:15:31.266520+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: New "Follow" from actor: https://social.uggs.io/actor 2025-02-04T16:15:31.289138+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor 2025-02-04T16:15:31.289138+01:00 relay bash[240078]: [2025-02-04 16:15:31] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor 2025-02-04T16:15:31.290509+01:00 relay bash[240078]: [2025-02-04 16:15:31] INFO: 2a01:1f8:2000::37 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)" 2025-02-04T16:15:31.290509+01:00 relay bash[240078]: [2025-02-04 16:15:31] INFO: 2a01:1f8:2000::37 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)" ``` I have no items on my blacklists. Running 0.3.3 vs postgresql and redis.
Author
Member

Note: No matter if I do
https://relay.uggs.io/inbox
or
https://relay.uggs.io/actor,

both have the SAME error:

2025-02-04T16:35:43.667903+01:00 relay bash[261952]: [2025-02-04 16:35:43] VERBOSE: New "Follow" from actor: https://social.uggs.io/actor
2025-02-04T16:35:43.689131+01:00 relay bash[261952]: [2025-02-04 16:35:43] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor
2025-02-04T16:35:43.689131+01:00 relay bash[261952]: [2025-02-04 16:35:43] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor
2025-02-04T16:35:43.690387+01:00 relay bash[261952]: [2025-02-04 16:35:43] INFO: [2a01:1f8:2000::37]:57720 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)"
2025-02-04T16:35:43.690387+01:00 relay bash[261952]: [2025-02-04 16:35:43] INFO: [2a01:1f8:2000::37]:57720 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)"
2025-02-04T16:35:43.808979+01:00 relay bash[262027]: [2025-02-04 16:35:43] VERBOSE: Sending "Reject" to https://social.uggs.io/inbox
2025-02-04T16:35:43.808979+01:00 relay bash[262027]: [2025-02-04 16:35:43] VERBOSE: Sending "Reject" to https://social.uggs.io/inbox

The above was for /inbox, but notice the /actor in the error.

Note: No matter if I do https://relay.uggs.io/inbox or https://relay.uggs.io/actor, both have the SAME error: ``` 2025-02-04T16:35:43.667903+01:00 relay bash[261952]: [2025-02-04 16:35:43] VERBOSE: New "Follow" from actor: https://social.uggs.io/actor 2025-02-04T16:35:43.689131+01:00 relay bash[261952]: [2025-02-04 16:35:43] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor 2025-02-04T16:35:43.689131+01:00 relay bash[261952]: [2025-02-04 16:35:43] VERBOSE: Non-application actor tried to follow: https://social.uggs.io/actor 2025-02-04T16:35:43.690387+01:00 relay bash[261952]: [2025-02-04 16:35:43] INFO: [2a01:1f8:2000::37]:57720 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)" 2025-02-04T16:35:43.690387+01:00 relay bash[261952]: [2025-02-04 16:35:43] INFO: [2a01:1f8:2000::37]:57720 "POST /inbox HTTP/1.1" 202 170 "Mastodon/4.3.1 (http.rb/5.2.0; +https://social.uggs.io/)" 2025-02-04T16:35:43.808979+01:00 relay bash[262027]: [2025-02-04 16:35:43] VERBOSE: Sending "Reject" to https://social.uggs.io/inbox 2025-02-04T16:35:43.808979+01:00 relay bash[262027]: [2025-02-04 16:35:43] VERBOSE: Sending "Reject" to https://social.uggs.io/inbox ``` The above was for /inbox, but notice the /actor in the error.
Member

This was a goofup on my part and is now fixed in main.

This was a goofup on my part and is now fixed in main.
Author
Member

Not sure if it's your fix, but for 0.3.4 I now get

Traceback (most recent call last):
  File "/opt/relay/.local/bin/activityrelay", line 5, in <module>
    from relay.manage import main
  File "/opt/relay/.local/share/pipx/venvs/activityrelay/lib/python3.11/site-packages/relay/manage.py", line 254
    inbox["actor"] = f"https://{inbox["domain"]}/relay"
                                       ^^^^^^
SyntaxError: f-string: unmatched '['

Can you confirm? :)

Not sure if it's your fix, but for 0.3.4 I now get ``` Traceback (most recent call last): File "/opt/relay/.local/bin/activityrelay", line 5, in <module> from relay.manage import main File "/opt/relay/.local/share/pipx/venvs/activityrelay/lib/python3.11/site-packages/relay/manage.py", line 254 inbox["actor"] = f"https://{inbox["domain"]}/relay" ^^^^^^ SyntaxError: f-string: unmatched '[' ``` Can you confirm? :)
Member

I accidentally used a python 3.12 feature. I'll have this fixed soon.

Edit: this should be fixed in 2e373edd

Edit 2: there were more issues, but it definitely runs now with python 3.10

I accidentally used a python 3.12 feature. I'll have this fixed soon. Edit: this should be fixed in 2e373edd Edit 2: there were more issues, but it definitely runs now with python 3.10
Author
Member

Any update on this? I was unable to run the relay for months now.

Any update on this? I was unable to run the relay for months now.
Member

This was fixed in 760718b5. I guess I forgot to close the issue.

This was fixed in 760718b5. I guess I forgot to close the issue.
Author
Member
$ pipx upgrade activityrelay
activityrelay is already at latest version 0.3.4 (location: /opt/relay/.local/share/pipx/venvs/activityrelay)

$ /opt/relay/.local/share/pipx/venvs/activityrelay/bin/activityrelay 
Traceback (most recent call last):
  File "/opt/relay/.local/share/pipx/venvs/activityrelay/bin/activityrelay", line 5, in <module>
    from relay.manage import main
  File "/opt/relay/.local/share/pipx/venvs/activityrelay/lib/python3.11/site-packages/relay/manage.py", line 254
    inbox["actor"] = f"https://{inbox["domain"]}/relay"
                                       ^^^^^^
SyntaxError: f-string: unmatched '['

Is pipx activityrelay 0.3.4 still current then?

``` $ pipx upgrade activityrelay activityrelay is already at latest version 0.3.4 (location: /opt/relay/.local/share/pipx/venvs/activityrelay) $ /opt/relay/.local/share/pipx/venvs/activityrelay/bin/activityrelay Traceback (most recent call last): File "/opt/relay/.local/share/pipx/venvs/activityrelay/bin/activityrelay", line 5, in <module> from relay.manage import main File "/opt/relay/.local/share/pipx/venvs/activityrelay/lib/python3.11/site-packages/relay/manage.py", line 254 inbox["actor"] = f"https://{inbox["domain"]}/relay" ^^^^^^ SyntaxError: f-string: unmatched '[' ``` Is pipx activityrelay 0.3.4 still current then?
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/relay#45
No description provided.