[GH-ISSUE #2340] Help Help #1857

Closed
opened 2026-05-05 13:12:00 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @yimisiyang on GitHub (Apr 4, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2340

my frp server is a Vultr host ,my frp client is a RespbearryPi4. when I satart my frp client , It tell me
[W] [service.go:104] login to server failed: parse "127.0.0.1:8123": first path segment in URL cannot contain colon
my RespbearryPi4 have proxy. how to fix this problem.

Originally created by @yimisiyang on GitHub (Apr 4, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2340 my frp server is a Vultr host ,my frp client is a RespbearryPi4. when I satart my frp client , It tell me **[W] [service.go:104] login to server failed: parse "127.0.0.1:8123": first path segment in URL cannot contain colon** my RespbearryPi4 have proxy. how to fix this problem.
gitea-mirror 2026-05-05 13:12:00 -06:00
Author
Owner

@blizard863 commented on GitHub (Apr 8, 2021):

Can you show the frpc and frps config ?

<!-- gh-comment-id:815409148 --> @blizard863 commented on GitHub (Apr 8, 2021): Can you show the frpc and frps config ?
Author
Owner

@blizard863 commented on GitHub (Apr 8, 2021):

I have a test demo. It can reproduce this problem.

package main

import (
	"fmt"
	"net/url"
)

func main() {

	url, err := url.Parse("127.0.0.1:8080")
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(url.Host, url.Port())
}

parse "127.0.0.1:8080": first path segment in URL cannot contain colon
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x10b025a]

goroutine 1 [running]:
net/url.(*URL).Port(...)
go1.15.3/src/net/url/url.go:1120
main.main()
main.go:14 +0xba
exit status 2


You should provide more message.

<!-- gh-comment-id:815410103 --> @blizard863 commented on GitHub (Apr 8, 2021): I have a test demo. It can reproduce this problem. ``` package main import ( "fmt" "net/url" ) func main() { url, err := url.Parse("127.0.0.1:8080") if err != nil { fmt.Println(err) } fmt.Println(url.Host, url.Port()) } ``` parse "127.0.0.1:8080": first path segment in URL cannot contain colon panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x10b025a] goroutine 1 [running]: net/url.(*URL).Port(...) go1.15.3/src/net/url/url.go:1120 main.main() main.go:14 +0xba exit status 2 --- You should provide more message.
Author
Owner

@github-actions[bot] commented on GitHub (May 24, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:846655946 --> @github-actions[bot] commented on GitHub (May 24, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: github-starred/frp#1857
No description provided.