mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4781] Cannot connect to Raspberry Pi via Amazon Lightsail instance #3773
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3773
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @IanAber on GitHub (May 3, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4781
Bug Description
I am running the server on a Lightsail instance with Amazon Linux 2023 on AMD64 hardware with a client running the latest 64 bit Bookwork Linux on a Raspberry Pi. When trying to connect to the https WEB site in Chrome from a Mac I get...
ERR_SSL_UNRECOGNIZED_NAME_ALERT
If I use an AMD64 linux client everything works perfectly. It is just the ARM64 Raspberry Pi that returns this error.
I do not see anything in the logs at either end, client or server.
What should I look for to troubleshoot this?
frpc Version
0.62.1
frps Version
0.62.1
System Architecture
linux/amd64 server ; linux/ARM64 client
Configurations
Client config =
`
serverAddr = "cloud.xxxxx.xxx"
serverPort = 7000
transport.tls.certFile = "/certs/fullchain.cer"
transport.tls.keyFile = "/certs/xxxxx.xxx.key"
loginFailExit = false
proxies
name = "egt4"
type = "https"
localIP = "127.0.0.1"
localPort = 20080
customDomains = ["{{.Envs.HOSTNAME}}.cloud.xxxxx.xxx"]
proxies
name = "egt4_ssh"
type = "https"
localIP = "127.0.0.1"
localPort = 4433
customDomains = ["{{.Envs.HOSTNAME}}_ssh.cloud.xxxxx.xxx"]
`
Server config =
`
bindPort = 7000
vhostHTTPSPort = 4433
webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "xxxxxxx"
webServer.password = "xxxxxxx"
webServer.tls.certFile = "/home/ec2-user/.acme.sh/xxxxx.xxx_ecc/fullchain.cer"
webServer.tls.keyFile = "/home/ec2-user/.acme.sh/xxxxx.xxx_ecc/xxxxx.xxx.key"
`
Logs
No response
Steps to reproduce
...
Affected area
@IanAber commented on GitHub (May 3, 2025):
Looks like the problem was the host name. The raspberry pi was not setting the HOSTNAME environment variable.
I found this by examining the WEB site at 7500 and seeing the full url listed.