Skip to content

Cannot Upload Files #128

@vel-crow

Description

@vel-crow

Using an updated version of debian, docker, and hammond - fresh install - I cannot upload files for quick entry.
Firewals on debian are disabled, no routing rules between my client and the Hamond server.

I can select the file to upload, I receive this alert at the bottom of the screen:

image

The following entry is generated when i run sudo docker logs hammond:

2023/06/04 01:29:14 [Recovery] 2023/06/04 - 01:29:14 panic recovered:
interface conversion: error is url.EscapeError, not validator.ValidationErrors
/usr/local/go/src/runtime/iface.go:261 (0x1f817)
/usr/local/go/src/runtime/iface.go:271 (0x1f784)
/api/common/utils.go:61 (0x4e3973)
/api/controllers/files.go:30 (0x50239b)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0x4e1cdb)
/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:99 (0x4e1cb8)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0x511e13)
/api/main.go:68 (0x511dec)
[GIN] 2023/06/04 - 01:29:14 | 500 | 49.661054ms | 192.168.86.25 | POST "/api/quickEntries"
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0x4e1cdb)
/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:99 (0x4e1cb8)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0x4e10db)
/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:241 (0x4e10b8)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:165 (0x4d9063)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:489 (0x4d9040)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:445 (0x4d8bef)
/usr/local/go/src/net/http/server.go:2887 (0x262203)
/usr/local/go/src/net/http/server.go:1952 (0x25e4a3)
/usr/local/go/src/runtime/asm_arm.s:841 (0x7e653)

Given that iptables and ufw are not implemented, and this Debian install lacks any other firewall, and my subnet is explicitly allowing communication, and all other features work - i believe this may be a bug.

I thank you for your dedication to this platform, and hope for a resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions