You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to setup CircleCI for a project using Mercure.
Note that I'm using CircleCI for other projects without any problems and that this particular project is working in my local environment (using Docker).
Despite having configurated CircleCI with same variables as my local Docker (that, again, is working), I'm getting an error during build:
2020/12/09 14:35:10 WARNING: proto: file "pb.proto" is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
2020/12/09 14:35:10.143 INFO using provided configuration {"config_file": "/etc/caddy/Caddyfile", "config_adapter": "caddyfile"}
2020/12/09 14:35:10.144 INFO admin admin endpoint started {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["localhost:2019", "[::1]:2019", "127.0.0.1:2019"]}
2020/12/09 14:35:10.145 INFO http server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server {"server_name": "srv0", "http_port": 80}
2020/12/09 14:35:10.145 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc0003ef420"}
2020/12/09 14:35:10.146 DEBUG http starting server loop {"address": "[::]:80", "http3": true, "tls": false}
2020/12/09 14:35:10.146 INFO tls cleaned up storage units
2020/12/09 14:35:10.146 INFO autosaved config {"file": "/config/caddy/autosave.json"}
2020/12/09 14:35:10.146 INFO serving initial configuration
2020/12/09 14:37:08.898 INFO http.handlers.mercure Topic selectors not matched or not provided {"remote_addr": "127.0.0.1:60678", "error": "unable to parse JWT: signature is invalid"}
2020/12/09 14:37:08.898 ERROR http.log.access handled request {"request": {"remote_addr": "127.0.0.1:60678", "proto": "HTTP/1.1", "method": "POST", "host": "127.0.0.1", "uri": "/.well-known/mercure", "headers": {"Content-Length": ["346"], "Content-Type": ["application/x-www-form-urlencoded"], "Accept": ["*/*"], "Authorization": ["Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InN1YnNjcmliZSI6W10sInB1Ymxpc2giOlsiKiJdfX0.bJBbdEZzQ7XMM8b2jDGWLEK8Rf7l3vaewdZE4ClKArE"], "User-Agent": ["Symfony HttpClient/Curl"], "Accept-Encoding": ["gzip"]}}, "common_log": "127.0.0.1 - - [09/Dec/2020:14:37:08 +0000] \"POST /.well-known/mercure HTTP/1.1\" 401 13", "duration": 0.000299473, "size": 13, "status": 401, "resp_headers": {"X-Content-Type-Options": ["nosniff"], "X-Xss-Protection": ["1; mode=block"], "Content-Security-Policy": ["default-src 'self' mercure.rocks cdn.jsdelivr.net"], "Content-Type": ["text/plain; charset=utf-8"], "Server": ["Caddy"], "X-Frame-Options": ["DENY"]}}
2020/12/09 14:37:09.140 INFO http.handlers.mercure Topic selectors not matched or not provided {"remote_addr": "127.0.0.1:60680", "error": "unable to parse JWT: signature is invalid"}
2020/12/09 14:37:09.140 ERROR http.log.access handled request {"request": {"remote_addr": "127.0.0.1:60680", "proto": "HTTP/1.1", "method": "POST", "host": "127.0.0.1", "uri": "/.well-known/mercure", "headers": {"Accept": ["*/*"], "Authorization": ["Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InN1YnNjcmliZSI6W10sInB1Ymxpc2giOlsiKiJdfX0.bJBbdEZzQ7XMM8b2jDGWLEK8Rf7l3vaewdZE4ClKArE"], "User-Agent": ["Symfony HttpClient/Curl"], "Accept-Encoding": ["gzip"], "Content-Length": ["356"], "Content-Type": ["application/x-www-form-urlencoded"]}}, "common_log": "127.0.0.1 - - [09/Dec/2020:14:37:09 +0000] \"POST /.well-known/mercure HTTP/1.1\" 401 13", "duration": 0.000210674, "size": 13, "status": 401, "resp_headers": {"Server": ["Caddy"], "Content-Security-Policy": ["default-src 'self' mercure.rocks cdn.jsdelivr.net"], "X-Frame-Options": ["DENY"], "X-Content-Type-Options": ["nosniff"], "X-Xss-Protection": ["1; mode=block"], "Content-Type": ["text/plain; charset=utf-8"]}}
Build was canceled
The only point I changed compared to my local Docker env is the value for mercure URL, that is mercure in local (being "mercure" the name of my docker image) and 127.0.0.1 in CircleCI (just a wild guess, I've no idea of what to put here. Since I'm using 127.0.0.1 for MySQL connection, I guess I can use it for Mercure as well)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to setup CircleCI for a project using Mercure.
Note that I'm using CircleCI for other projects without any problems and that this particular project is working in my local environment (using Docker).
Despite having configurated CircleCI with same variables as my local Docker (that, again, is working), I'm getting an error during build:
The only point I changed compared to my local Docker env is the value for mercure URL, that is
mercure
in local (being "mercure" the name of my docker image) and127.0.0.1
in CircleCI (just a wild guess, I've no idea of what to put here. Since I'm using127.0.0.1
for MySQL connection, I guess I can use it for Mercure as well)Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions